Starting from:

$35

DATA557- Homework 3 Solved

You may work together to help each other solve problems, but you should create your own solutions and hand in your own work without copying others’ work.

Data: ‘lead.csv’

The data are from a study of the association between exposure to lead and IQ. The study was conducted in an urban area around a lead smelter. A random sample of 124 children who lived in the area was selected. Each study participant had a blood sample drawn in both 1972 and 1973 to assess blood concentrations of lead. The children were grouped based on their blood concentrations as follows:

Group 1: concentration < 40 mg/L in both 1972 and 1973

Group 2: concentration > 40 mg/L in both 1972 and 1973 or > 40 mg/L in 1973 alone (3 participants)

Group 3: concentration > 40 mg/L in 1972 but < 40 mg/L in 1973

Each participant completed an IQ test in 1973. (A subset of the IQ scores from this study were used in HW 1, Question 3.) The variables in the data set are listed below.

ID: Participant identification number

SEX: Participant sex (1=M or 2=F)

GROUP: As described above (1, 2, or 3)

IQ: IQ score

 

The first goal is to compare the mean IQ scores for males and females. Use a 2-sample t-test for this comparison. What is the p-value?
State the conclusion from your test.
Are the independence assumptions valid for the t-test in this situation? Give a brief explanation.
The second goal is to compare the mean IQ scores in the 3 groups. State in words the null hypothesis for this test.
State in words the alternative hypothesis for this test.
What method should be used to perform the test?
Perform the test. Report the p-value.
State your conclusion about the evidence for an association between lead exposure and IQ.
Are there strong reasons to believe that the assumptions of this test are not met? Briefly justify your answer.
Conduct all pairwise comparison of group means. Report the p-values.
What conclusion about the association between lead and IQ would you draw from the pairwise comparisons of group means? Does it agree with the conclusion in Q8? (Consider the issue of multiple testing in your answer.)
Now we wish to compare the 3 group means for males and females separately. Display some appropriate descriptive statistics for this analysis.
Perform tests to compare the mean IQ scores in the 3 groups for males and females separately. Report the p-values from the two tests.
What can you conclude about the association between lead and IQ from these tests? Does it agree with the result in Q8 and Q11? (Consider multiple testing.)
Now perform all 3 pairwise comparisons of groups for males and females separately. Report the p-values from these tests?
What do you conclude about the association between lead and IQ from the results in Q13? Does your conclusion change from previous conclusions made in Q8, Q11 and Q14?

More products