Docsity

Stat 571 Midterm Exam Solutions - Prof. Cecile M. Ane, Assignments of Data Analysis & Statistical Methods

Toggle sidebar
bg1
Stat 571 First Midterm Exam October 7, 2008
1.(a) 52.2 (b) 9.39 (c) 5
2.(a) false. Counter-example: A={0,1,2}(2 or fewer
red-eyed flies in a sample of 3), B={2,3}(2
or more red-eyed flies in the sample) and S=
{0,1,2,3}. Then A∪B=Sbut A and B are not
mutually exclusive.
(b) false: Ycannot take the value 1 while a bino-
mial RV could. One of you showed that var(Y)
is 22∗var(X) = 4np(1 −p) while the variance of a
binomial B(2n, p) would be different: 2np(1 −p).
(c) true
(d) false: a variance is an ‘averaged’ sum of squares,
always 0 or positive.
(e) false: there will likely be at most 1 observation
in each bin, which will make it hard to see the
shape.
(f) false: the normal approximation to the binomial
is based on the CLT. nneeds to be larger than 30
if the base distribution is very skewed, or can be
smaller than 30 if the base distribution is already
bell-shaped.
3.(a) 2/9=.222 (b) .25
(c) IP(A1) = .5, IP(A2) = 5/10∗4/9+5/10∗5/9 = 0.5.
We get that IP{A1and A2}=.222 is different
from IP(A1)∗IP(A2): the 2 events are not inde-
pendent.
4.(a) (i) no: the sample size n(number of flowers in
the plot) is not pre-specified.
(ii) yes
(iii) no: flies in the same family are likely to have
the same eye color, so the individuals in the sam-
ple are not independent. It is okay to see this
as a non-constant probability of having red eyes:
those probabilities are unknown (families are ran-
domly sampled) but are probably different across
different families.
(b) (i) H0:p=.5 vs HA:p>.5
(ii) .0985 (iii) mean 49, sd 4.95 (iv) ≈.0078
Note: A real experiment done by schoolchildren
reached n= 9821 and observed y= 6101 ! See
ourworld.compuserve.com/homepages/rajm/
ssrsum.htm
5.(a) mean= 8 (center of symmetry). We know there
is 95% of the area whithin ±1.96∗sd of the mean,
with 0.025 on each side. This is the area between
≈7 and 9. Therefore 2 sd ≈9−8 and sd≈0.5.
(b) z=0.52 so the value is 0.52 sd above from the
mean: 8mm + 0.52 * 0.5 = 8.26 mm.
(c) (i) for n= 1, (ii) for n= 8, (iii) for n= 2: the
shape looks more like a bell curve when nis large.
Also, the variability of the sample mean decreases
as nincreases (compare the scales).
6.(a) They probably had different means ¯yfrom their
samples, and different sample sizes n. Jack could
have done a 2-sided test and Joe a 1-sided test (al-
though both worked correctly, so hopefully used
the same test!). Answers questioning the correct-
ness of their sampling procedure did not receive
full credit: Even when we work correctly, 2 ex-
perimenters rarely obtain the same p-value (never
same ¯y).
(b) Jack, because he has the smallest p-value. Z and
p-values vary in opposite directions.
(c) H0:µ= 3.2g vs. HA:µ > 3.2g. We choose a
one-sided alternative because there is prior infor-
mation about other related species (the 2-sided
alternative was accepted if good justification was
provided). z= 1.465 and p-value= .072. Weak
evidence against a mean weight of 3.2g for adult
females.
Frequency
30 40 50 60 70 80 90 100
0 10 20 30
Summary of grades
●● ●●● ●
63 74 82.5
1

Partial preview of the text

Download Stat 571 Midterm Exam Solutions - Prof. Cecile M. Ane and more Assignments Data Analysis & Statistical Methods in PDF only on Docsity!

Stat 571 First Midterm Exam October 7, 2008

1.(a) 52.2 (b) 9.39 (c) 5

2.(a) false. Counter-example: A = { 0 , 1 , 2 } (2 or fewer red-eyed flies in a sample of 3), B = { 2 , 3 } ( or more red-eyed flies in the sample) and S = { 0 , 1 , 2 , 3 }. Then A ∪ B = S but A and B are not mutually exclusive.

(b) false: Y cannot take the value 1 while a bino- mial RV could. One of you showed that var(Y ) is 2^2 ∗var(X) = 4np(1 − p) while the variance of a binomial B(2n, p) would be different: 2np(1 − p).

(c) true

(d) false: a variance is an ‘averaged’ sum of squares, always 0 or positive.

(e) false: there will likely be at most 1 observation in each bin, which will make it hard to see the shape.

(f) false: the normal approximation to the binomial is based on the CLT. n needs to be larger than 30 if the base distribution is very skewed, or can be smaller than 30 if the base distribution is already bell-shaped.

3.(a) 2/9=.222 (b).

(c) IP(A 1 ) = .5, IP(A 2 ) = 5/ 10 ∗ 4 /9+5/ 10 ∗ 5 /9 = 0.5. We get that IP{A 1 and A 2 } = .222 is different from IP(A 1 ) ∗ IP(A 2 ): the 2 events are not inde- pendent.

4.(a) (i) no: the sample size n (number of flowers in the plot) is not pre-specified. (ii) yes (iii) no: flies in the same family are likely to have the same eye color, so the individuals in the sam- ple are not independent. It is okay to see this as a non-constant probability of having red eyes: those probabilities are unknown (families are ran- domly sampled) but are probably different across different families.

(b) (i) H 0 : p = .5 vs HA : p >. 5 (ii) .0985 (iii) mean 49, sd 4.95 (iv) ≈. 0078 Note: A real experiment done by schoolchildren reached n = 9821 and observed y = 6101! See ourworld.compuserve.com/homepages/rajm/ ssrsum.htm

5.(a) mean= 8 (center of symmetry). We know there is 95% of the area whithin ± 1. 96 ∗sd of the mean, with 0.025 on each side. This is the area between ≈ 7 and 9. Therefore 2 sd ≈ 9 − 8 and sd≈ 0 .5.

(b) z=0.52 so the value is 0.52 sd above from the mean: 8mm + 0.52 * 0.5 = 8.26 mm.

(c) (i) for n = 1, (ii) for n = 8, (iii) for n = 2: the shape looks more like a bell curve when n is large. Also, the variability of the sample mean decreases as n increases (compare the scales).

6.(a) They probably had different means ¯y from their samples, and different sample sizes n. Jack could have done a 2-sided test and Joe a 1-sided test (al- though both worked correctly, so hopefully used the same test!). Answers questioning the correct- ness of their sampling procedure did not receive full credit: Even when we work correctly, 2 ex- perimenters rarely obtain the same p-value (never same ¯y).

(b) Jack, because he has the smallest p-value. Z and p-values vary in opposite directions.

(c) H 0 : μ = 3.2g vs. HA : μ > 3 .2g. We choose a one-sided alternative because there is prior infor- mation about other related species (the 2-sided alternative was accepted if good justification was provided). z = 1.465 and p-value= .072. Weak evidence against a mean weight of 3.2g for adult females.

Frequency

30 40 50 60 70 80 90 100

0

10

20

30

Summary of grades

l lll ll

63 74 82.