finalPractice1answers
finalPractice1answers
a. When a data set is not normally distributed, what should you try in order to
appropriately make statistical tests on that data?
transformations
ANOVA
Kruskall-Wallis
2-sample t-test
Mann-Whitney U test
correlation
Spearman's rank correlation
2. Scorpionfly males were raised on either a high nutrient (NH) or low nutrient (NL) food, to
test the prediction that bad conditions causes more developmental problems (as
measured by asymmetric development). Their wings were then measured on both sides,
and the absolute value of the difference between the left wing length and the right wing
length was used as a measure of their asymmetry (Xi ). The results were as follows:
sample size 2
∑X i ∑X i
mean s2
t=
( X1 − X 2 ) − (µ1 − µ2 ) = 0.0336 − 0.0547 = −2.29
sX 1 −X 2 0.009207
€
t0.05(2),61 = 2.00, so we can reject the Ho. The low nutrition males have more
developmental problems than the high nutrition males.
3. In €
Vancouver, the probability of rain during a winter day is 0.58, for a spring day 0.38, for
a summer day 0.25, and in fall the probability of rain per day is 0.53. Each of these
seasons lasts one quarter of the year.
b. If you are told that a particular day was raining, what is the probability that that day was a
winter day?
(0.25)(0.58)
= 0.333
0.435
4. A cross of two duck species (mallards and pintails) was made to investigate the
behavioral patterns of hybrids. A behavioural index was calculated for each of 11 male F2
€ hybrids, and a plumage index (to measure the condition of their feathers) was also
calculated for each of the birds. Are the behavioral and plumage indices independent?
Make, and state, any necessary assumptions.
O 8 10
V 7 4
J 9 9
L 14 11
∑P = 111 ∑ B = 100
2
∑P 2
= 1277 ∑ B = 1072
∑ PB = 1141
Correlation:
Assumes a random sample, that all values of Y for a given X are normally
distributed with equal variance for all values of X, and that all values of X for a given
Y are normally distributed with equal variance for all values of Y.
2
∑ X i
2 1112
∑( i ) ∑ i
X − X = X 2
−
n
= 1277 −
11
= 156.9
2
∑Yi
100 2
∑ (Yi − Y ) = ∑Yi2 − n
2
= 1072 − = 162.9
11
∑ X ∑Y
i i
111(100)
∑( X i − X )(Yi − Y ) = ∑ X iYi −
n
= 1141−
11
= 131.9
∑( X i − X )(Yi − Y )
131.9
€ r= = = 0.825
2 2 (156.9)(162.9)
∑( X i − X) ∑ (Y − Y )
i
€
4
2
1− r 2 1− (0.825)
SE[r] = = = 0.1884
n −2 11− 2
r 0.825
t= = = 4.38
SE[r] 0.1884
€ We compare this to t0.05(2),9 = 2.26, to find that P<0.05. In fact, P<0.01. We can
reject the null hypothesis and say that the plumage index and the behavioral index
are positively correlated.
€
5. What is the best statistical technique for dealing with the following situations and
questions? Be as specific as possible (i.e. “multivariate ANOVA” is a better answer than
“ANOVA,” if it is a more appropriate technique.)
A. Are the nucleotides used in 2 regions of DNA composed of the same proportions of A, T, C
and G?
contingency analysis
D. In humans, is hair length different on average between the sexes? (Assume normality and that
the variance of hair length is equal.)
two-sample t-test
F. Data on 412 married couples recorded the amount of weight gain in 10 years after marriage. Is
there a difference in weight gain after marriage in men relative to women?
paired t-test
5
G. This graph presents the distribution of time required to push a button after a stimulus.
Comparing 7 different groups, are all groups the same in their average button-pushing times?
Kruskall-Wallis test
I. A study compared the effects of 5 soil types and 6 different fertilizers on corn growth rate. Is
the effect of soil type independent of the effect of fertilizer type?
two-factor ANOVA
J. Do men and women have the same variance of final grade averages (if final grades are normally
distributed within sexes)?
F test
6. A biological statistics class was given a test. Immediately after the test was completed,
each student was asked if she or he felt better or worse than before they took the test. Ten
reported feeling better, and two felt worse. Using this sample of twelve students, does
taking stats exams change the average mood of students?
H0 : Stats tests are as likely to improve mood as to decrease mood.
HA: Stats tests change students' mood on average.
P = 2(Pr[10]+Pr[11]+Pr[12])
12 10 2 12 11 1 12 12 0
P = 2 (0.5) (0.5) + (0.5) (0.5) + (0.5) (0.5)
10 11 12
= 2[0.0161133 + 0.00292969 + 0.0002441]
= 0.0386
Thus we can reject the null hypothesis. Student's moods are more likely to improve
by stats tests than to get worse.
€
7. Monoamine oxidase (MAO) is an enzyme that is thought to play a role in the regulation
of behavior. To see whether different categories of schizophrenic patients have different
levels of MAO activity, researchers collected blood specimens from 42 patients and
6
measured the MAO activity in the platelets. The means and standard deviations of each
group are summarized below. (Values are expressed as nmol benzylaldehyde
product/108 platelets/hour.) Construct the ANOVA table and test whether these behavioral
categories have any differences in MAO activity. Assume that MAO activity is normally
distributed and that each of these groups has equal variance in MAO activity.
H0 : The three groups all have the same mean MAO activity.
HA: At least one of the three groups has a different MAO activity on average.
a. Paired t-test
random sample of pairs, the differences are normally distributed
b. Mann-Whitney U test
random samples
c. Linear regression
random sample of Y values for each X. Y is normally distributed with equal variance
for each value of X. The relationship follows a line.
d. ANOVA
All samples are random samples from populations that are normally distributed with
equal variance.