a) X= the number of days when Patty goes to class: X∼B(n,p)
P(X=x)=(xn)px(1−p)n−x Given that n=5,p=0.2
Find the probability that in a given week (5 days), Patty goes to class at least once.
P(X≥1)=1−P(X=0)=
=1−(05)0.20(1−0.2)5−0=0.67232 b) X=the number of days until Patty goes to class for the first time: X∼Geom(p)
P(X=x)=(1−p)x−1p,x≥1 Given that p=0.2
P(X=22)=(1−0.2)22−1(0.2)≈0.0018 c) X= number of days until rth day Patty goes to his class: X∼NegBin(r,p)
Given that r=3,p=0.2
P(X=x)=(r−1x−1)(1−p)x−rpr
P(X=84)=(3−184−1)(1−0.2)84−30.23≈0.0000003848 d) X= days when Patty goes to class in a given week (5 days):: X∼B(n,p)
P(X=x)=(xn)px(1−p)n−x Given that n=5,p=0.2
Find the probability that in a given week (5 days), Patty goes to class less than two times
P(X<2)=P(X=0)+P(X=1)=
=(05)0.20(1−0.2)5−0+(15)0.21(1−0.2)5−1=
=0.32768+0.4096=0.73728 Find the probability that he doesnot get a doughnut until the fourth week.
P(no doughnut)=0.737283≈0.400772
Comments