STAT200 Week3 Homework Solutions
STAT200 Week3 Homework Solutions
4.1.4
4.2.2
4.2.8
Using formula:
10! 10! 3628800
10 P6 = (10−6)! = 4!
= 24
= 151,200
10! 10∗9∗8∗7∗6∗5∗4∗3∗2∗1
or 10 P6 = (10−6)! = 4∗3∗2∗1
= 10 ∗ 9 ∗ 8 ∗ 7 ∗ 6 ∗ 5 = 151,200
There are 20 C7 = 77,520 ways we can choose seven people from a group of twenty.
5.1.2 a.) Random variable x = number of heads
b.) Sample Space SS = {HHH, HHT, HTH, THH, TTH, THT, HTT, TTT}
x 0 1 2 3
P(x) 1 3 3 1
= 0.125 = 0.375 = 0.375 = 0.125
8 8 8 8
c.) Histogram
Number of Heads
0.4
0.35
0.3
Probability
0.25
0.2
0.15
0.1
0.05
0
0 1 2 3
x
It’s easier to use a table to do the calculation of the mean and variance.
As we know, mean 𝜇 = ∑ 𝑥𝑃(𝑥), and
variance 𝜎 = ∑(𝑥 − 𝜇)2 ∗ 𝑃(𝑥)
In the table below, the sum of x*P(x) is the mean (1.5) and the sum of (x-mean)^2 * P(x)
is the variance (0.75).
5.1.4
n = 52 and p = 0.14
a.) Random variable x = number of brown M&M’s in a milk chocolate packet
b.) There are a fixed number of trials, mainly 52 M&M’s. The trials are independent,
since the color of one M&M does not affect the color of the next chosen M&M.
There are two outcomes, brown or not brown. The probability of a success is the
same for each trial, which is 14%.
Using TI-83/84
c.) P ( x = 6 ) = binompdf ( 52,.14,6 ) » 0.1487
d.) P ( x = 25 ) = binompdf ( 52,.14,25 ) » 3.662 ´10-9
e.) P ( x = 52 ) = binompdf ( 52,.14,52 ) » 3.969 ´10-45
Using Excel
c.) Enter “ =BINOM.DIST (6,52,0.14,0)”, and we will get P(x=6) = 0.1487
d.) Enter “ =BINOM.DIST(25,52,0.14,0)”, and we will get P(x=25) = 3.662 * 10-9
e.) Enter “ =BINOM.DIST(52,52,0.14,0)”, and we will get P(x=52) = 3.969 * 10-45
f.) It is unusual for all of the M&Ms to be brown, because the probability is less than
5%. If that were to happen, you could think that the filling machine was
malfunctioning or you had a special bag of M&Ms
5.3.4
x p(x)
0 0.20589
1 0.34315
2 0.26690
3 0.12851
4 0.04284
5 0.01047
6 0.00194
7 0.00028
8 0.00003
9 0.00000
10 0.00000
11 0.00000
12 0.00000
13 0.00000
14 0.00000
15 0.00000
c.) Histogram
Probability Distribution
0.40
0.35
0.30
0.25
p(x)
0.20
0.15
0.10
0.05
0.00
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
x