Answers: Chi-square problems

Homework 6: Chi-square problems

Answers to odd number problems

1.
a. Classic “goodness of fit” problem, we got Mendel’s theory to guide
b. No, although sample size is small for some of the plants, e.g., plant #3 with just 7 wrinkled
c. Null: plant 1: Observed counts fit Mendelian ratio, 3:1; Alternate: Observed counts do not fit Mendelian ratio, 3:1
repeat null/alternate for each plant and for the meta analysis
d.
code example

plant <- c(147,48)
sum(plant)*c(0.75, 0.25)
chisq.test (plant, p =(c(0.75, 0.25)))
Plant Expected
round
Expected
wrinkled
Test statistic p-value
1 42.75 14.25 2.274 0.321
2 23.25 7.75 0.097 0.756
3 26.25 8.75 0.086 0.770
4 21.75 7.25 1.391 0.238
5 32.25 10.75 0.008 0.930
Combined 146.25 48.75 0.015 0.901

e.  One hundred ninety-five (i.e., the individual seeds).

f. The plants are like repeat experiments, the seeds are biological replicates

Remember that experimental (sampling) unit refers to the level at which the treatments are applied. The “treatment” was presence or absence of dominant allele. Each trial (plant) is done independently, i.e., different sampling units, so we can combine all into a single, bigger experiment.

3.
a. “goodness of fit” for dihybdrid cross expect 9:3:3:1 phenotype ratio
b. Null: Observed counts fit Mendelian ratio, 9:3:3:1; Alternate: Observed counts do not fit Mendelian ratio, 9:3:3:1

The test of the null
chisq.test (c(926, 288, 293, 104), p =(c(9/16, 3/16, 3/16, 1/16)))

Chi-squared test for given probabilities

data: c(926, 288, 293, 104)
X-squared = 1.4687, df = 3, p-value = 0.6895

we fail to reject the null hypothesis, which means we accept that Mendel’s theory predicts the outcome

5.
a. Contingency table problem, no theory
b. Null: No association between albumin excretion rates and mortality rates; Alternate: There is association between albumin excretion rates and mortality rates.

The test of null (note — you should rearrange the provided table to fit our format: columns = outcome, rows = treatment or exposure)

rows Deaths Survived
Low 55 73
Normal 59 17

X-squared = 23.24, df = 1, p-value = 0.00000143

We reject null hypothesis, there was difference mortality rates between albumin excretion rates