load(url("http://www.rossmanchance.com/iscam3/ISCAM.RData"))
library(dplyr)
library(ggplot2)
homework at: http://www.rossmanchance.com/iscam3/instructors.html
Pet Birds and Lung Cancer? Researchers investigated whether owning a pet bird might be associated with having lung cancer. They studied a sample of 239 lung cancer patients and a sample of 429 people who did not have lung cancer, chosen to have similar characteristics to those with lung cancer. They asked all subjects whether they owned a pet bird in adulthood.
Identify the explanatory and response variables in this study.
What kind of observational study is this: case-control, cohort, or cross-classification? Explain briefly.
The researchers found that 98 of the lung cancer patients owned a pet bird, and 101 of those without lung cancer owned a pet bird.
Organize these data into a 2×2 table, with the explanatory variable in columns.
Calculate the odds ratio of having lung cancer, comparing those who owned a pet bird to those who did not.
Use the normal approximation to test whether these data provide strong evidence that the probability of lung cancer differs between those who owned a pet bird and those who did not. Report the hypotheses, test statistic and p-value, along with the test decision at the 0.05 significance level. Also verify that the technical conditions are satisfied, and summarize your conclusion from this test.
Produce a 95% confidence interval for the odds ratio of having lung cancer between the two populations. Also interpret this interval.
Summarize your conclusion from this study and your analysis. Be sure to address the issues of causation and generalizability as well as statistical significance.
2015 Wimbledon (cont.) Reconsider the 2015 Wimbledon tennis data again (http://www.rossmanchance.com/iscam3/data/Wimbledon2015.txt).
Use technology to analyze the men’s and women’s distributions of the sets, games, and time variables. For each of these three variables, produce graphical and numerical summaries to compare the distributions between the two sexes, and write a paragraph comparing and contrasting them.
2015 Wimbledon (cont.) Reconsider the 2015 Wimbledon tennis data yet again (http://www.rossmanchance.com/iscam3/data/Wimbledon2015.txt).
Analyze these data to investigate whether men and women differ with regard to the distributions of these variables. For each of these three variables, produce graphical and numerical summaries to compare the distributions between the two sexes, and write a paragraph comparing and contrasting them.
Feeling Motivated?
A psychology study investigated whether people display more creativity when they are thinking about intrinsic or extrinsic motivations. The subjects were 47 people with extensive experience with creative writing. They were randomly assigned to one of two groups: one group answered a survey about intrinsic motivations for writing (such as the pleasure of self-expression) and the other group answered a survey about extrinsic motivations (such as public recognition). Then all subjects were instructed to write a Haiku poem, and these poems were evaluated for creativity by a panel of judges. The researchers conjectured that subjects who were thinking about intrinsic motivations would display more creativity than subjects who were thinking about extrinsic motivations. The creativity scores from this study are below and also in the file creativity.txt (http://www.rossmanchance.com/iscam2/data/creativity.txt).
Identify the explanatory and response variables. Also classify each as categorical or quantitative.
Is this an observational study or a randomized experiment? Explain how you know.
Examine the dotplots of the sample data produced by the Comparing Groups applet (http://www.rossmanchance.com/applets/AnovaShuffle.htm). Submit a screen capture of these graphs, and comment on what they reveal about the researchers’ conjecture.
Report the mean of the creativity scores for each group. Do these summary values indicate that the intrinsically motivated group did indeed display more creativity than the intrinsically motivated group?
Summarize your conclusion in the context of this study. Include an explanation of the reasoning process behind your conclusion. Be sure to address the issues of causation (i.e., is a cause-and-effect conclusion warranted?) and generalizability (i.e., how broadly can you legitimately generalize your conclusion?), as well as the issue of statistical significance.