0% found this document useful (0 votes)
7 views2 pages

Homework 2

This document is a homework assignment for MAT271E Probability and Statistics, due on April 15, 2022, with strict policies against cheating. It includes six questions covering various topics in probability and statistics, such as discrete and continuous random variables, expected value, variance, and probability calculations related to dice rolls and Poisson distributions. Students are required to submit their work through the Ninova website, including Matlab code and a report.

Uploaded by

mentat336
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Homework 2

This document is a homework assignment for MAT271E Probability and Statistics, due on April 15, 2022, with strict policies against cheating. It includes six questions covering various topics in probability and statistics, such as discrete and continuous random variables, expected value, variance, and probability calculations related to dice rolls and Poisson distributions. Students are required to submit their work through the Ninova website, including Matlab code and a report.

Uploaded by

mentat336
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MAT271E Probability and Statistics: Homework 2

Asst. Prof. Barış Başpınar

April 01, 2022


Due date: April 15, 2022

Policy: You should write your own answer/code by yourself. Cheating is highly discouraged; it
will mean a zero or negative grade from the homework.

Submission Instructions: Please submit your homework through the Ninova website. Please zip
and upload all your files using filename studentID.rar. For the questions that require to write a
Matlab code, you must provide all Matlab codes you wrote with your zipped file. The codes you
do not submit will cause you to lose a portion of your grade. You must include the report.pdf file
with your homework containing answers to the questions, and outputs/figures.

Question 1:
Let X be a discrete RV with the following PMF

a) Find the value of 𝑐 that makes 𝑓(𝑥) a legitimate PMF


b) Find 𝑃(𝑋 > 2)
c) Find E[X] and Var[X]
d) Find E[2X]

Question 2:
Let X be a continuous RV with the following PDF

a) Find E[X]
b) Find Var[X]
c) Find F(x), the cumulative distribution function of X

Question 3:
Two 6-sided fair dice are rolled. When the sum of the dice is a seven or an eleven we call it a
success. Otherwise we call it a failure.
a) Let X be the number of successes in 10 throws of the dice. Calculate E[X] and Var[X]
b) If we do this experiment 10 times, what is the probability of getting exactly 5 successes?
Question 4:
Two friends are playing a game. First one will flip a fair coin until it lands Heads. If X is the total
number of flips, then the first guy has to pay the other 𝑔(𝑋) dollars, where 𝑔(𝑋) is defined as

Write a code and plot E[𝑔(𝑋))] as a function of 𝑀. For what value of 𝑀 is the game “fair” ?
Question 5:
A chef is baking chocolate cake with blueberries. Let X be the number of blueberries found in one
slice of cake and assume that X follows a Poisson distribution with mean 𝜆.
a) Assume 𝜆 = 9. What is the probability that one slice of cake has no blueberries?
b) The chef wants to reduce the average number of blueberries per one slice of cake (λ) to
save costs. What is the smallest value of 𝜆 possible, which would still ensure the probability
in part a) is no more than 0.01?

Question 6:
Assume that we can model the probability of the life time 𝑇 of a phone as follows:
𝑡
𝑃(𝑇 ≥ 𝑡) = 𝑒 −7 , for all 𝑡 ≥ 0
If there is no problem in this phone for 4 years. What is the probability that we face with a problem
in the fifth years?

You might also like