| |
||
|
Lab 5: Comparing groups; graphical displays; significance tests Note: This assignment is due by 9:00 a.m. Friday, June 16. You may submit it to me at my office Friday morning, or you may fax it to me at (603) 963-0087. If you would like me to return your work, please include a self-addressed envelope with sufficient postage. 1. Does religious behavior have an effect on life expectancy? Do people who attend church often live longer than those who attend church infrequently? We can use the GSS datasets to find a preliminary answer to these questions. Use the variables ATTEND and AGE in the dataset CH10END.
2. It's possible that any observed relationship between church attendance and longevity could be spurious. One possibility is that both increased church attendance and increased life expectancy are dependent on level of education, an indicator of social status. For a preliminary look at this possibility, compare mean years of education (EDUC) of those who attend church more than once a month and those who attend less than once a month.
3. Choose a comparison that interests you and conduct the appropriate analyses. Make sure that your grouping variable contains just two groups. Examples include RACED, SEX, AGER2, and RINC91D. Then, choose a comparison variable at the scale level of measurement. Produce boxplots, report sample means, and indicate whether the observed difference in sample means is likely to reflect a true difference in population means. Include the appropriate statistics to support your inference to the population.
|
| home | cv | papers | research | teaching | links | contact | ||