The following is the graded problems for the Intro to Data chapter of Open Intro to Statistics. My answers to the questions are bolded. The headers correspond to a question.
A survey was conducted to study the smoking habits of UK residents. Below is a data matrix displaying a portion of the data collected in this survey. Note that “£” stands for British Pounds Sterling, “cig” stands for cigarettes, and “N/A” refers to a missing component of the data.
sex | age | marital | grossIncome | smoke | amtWeekends | amtWeekdays | |
---|---|---|---|---|---|---|---|
1 | Female | 42 | Single | Under £2,600 | Yes | 12 cig/day | 12 cig/day |
2 | Male | 44 | Single | £10,400 to £15,600 | No | N/A | N/A |
3 | Male | 53 | Married | Above £36,400 | Yes | 6 cig/day | 6 cig/day |
… | … | … | … | … | … | … | … |
1691 | Male | 40 | Single | £2,600 to £5,200 | Yes | 8 cig/day | 8 cig/day |
A survey response
1,691
Exercise 1.5 introduces a study where researchers studying the relationship between honesty, age, and self-control conducted an experiment on 160 children between the ages of 5 and 15. The researchers asked each child to toss a fair coin in private and to record the outcome (white or black) on a paper sheet, and said they would only reward children who report white. Half the students were explicitly told not to cheat and the others were not given any explicit instructions. Differences were observed in the cheating rates in the instruction and no instruction groups, as well as some differences across children’s characteristics within each group.
Population of interest: The general population Study sample: Children ages 5 to 15
The results cannot be generalized to the population. The findings can not be used to estalish a causal relationship
Below are excerpts from two articles published in the NY Times:
“Researchers analyzed data from 23,123 health plan members who participated in a voluntary exam and health behavior survey from 1978 to 1985, when they were 50-60 years old. 23 years later, about 25% of the group had dementia, including 1,136 with Alzheimer’s disease and 416 with vascular dementia. After adjusting for other factors, the researchers concluded that pack-a-day smokers were 37% more likely than nonsmokers to develop dementia, and the risks went up with increased smoking; 44% for one to two packs a day; and twice the risk for more than two packs.”
Based on this study, can we conclude that smoking causes dementia later in life? Explain your reasoning.
No. Smoking and dementia are correlated in the study, but correlation is not causation
“The University of Michigan study, collected survey data from parents on each child’s sleep habits and asked both parents and teachers to assess behavioral concerns. About a third of the students studied were identified by parents or teachers as having problems with disruptive behavior or bullying. The researchers found that children who had behavioral issues and those who were identified as bullies were twice as likely to have shown symptoms of sleep disorders.”
A friend of yours who read the article says, “The study shows that sleep disorders lead to bullying in school children.” Is this statement justified? If not, how best can you describe the conclusion that can be drawn from this study?
No the statement is not justified. You can conclude that the two are correlated but there may be other causal factors that haven’t been articulated by the article.
A researcher is interested in the effects of exercise on mental health and he proposes the following study: Use stratified random sampling to ensure representative proportions of 18-30, 31-40 and 41-55 year olds from the population. Next, randomly assign half the subjects from each age group to exercise twice a week, and instruct the rest not to exercise. Conduct a mental health exam at the beginning and at the end of the study, and compare the results.
This is a randomized experiment.
The treatment group are those who exercise and the control group do not exercise.
No it does not.
No it does not as the researcher instructs the participant to exercise or not.
Results from this study may establish a causal relationship between exercise and mental health holding all other variables constant. The conclusions could be generalize if the sample size is large enough.
I would be concerned about all the other variables that affect mental health besides the amount of exercise.
Below are the final exam scores of twenty introductory statistics students. 57, 66, 69, 71, 72, 73, 74, 77, 78, 78, 79, 79, 81, 81, 82, 83, 83, 88, 89, 94
Create a box plot of the distribution of these scores. The five number summary provided below may be useful.
Min | Q1 | Q2 (Median) | Q3 | Max |
---|---|---|---|---|
57 | 72.5 | 78.5 | 82.5 | 94 |
scores <- c(57, 66, 69, 71, 72, 73, 74, 77, 78, 78, 79, 79, 81, 81, 82, 83, 83, 88, 89, 94)
boxplot(scores)
Describe the distribution in the histograms below and match them to the box plots.
(a) is a normal distribution. The corresponding box plot is 2
(b) is a uniform distribution. 3 is the box plot
(c) is a long-tailed or right skewed distribution and 1 is the box plot
For each of the following, state whether you expect the distribution to be symmetric, right skewed, or left skewed. Also specify whether the mean or median would best represent a typical observation in the data, and whether the variability of observations would be best represented using the standard deviation or IQR. Explain your reasoning.
This is long tailed right skewed distribution. The median would be the best option to represent the central tendancy and IQR would be best for the spread. Since “the are a meaningful number” of very expensive houses, the mean would be larger than the median and less representative of the average.
This is symetric distribution. Mean and standard deviation could be used on this distribution because the spread is much more compact than the previous example.
This is a bimodal distribution. You can’t use median or mean to summarize because it really isn’t meaningful.
This is probably a symetric distribution with some outliers on the right tail. A median and IQR would be the best choice because of the top level executives would pull the mean to the right.
The Stanford University Heart Transplant Study was conducted to determine whether an experimental heart transplant program increased lifespan. Each patient entering the program was designated an experimental heart transplant candidate, meaning that he was gravely ill and would most likely benefit from a new heart. Some patients got a transplant and some did not. The variable transplant indicates which group the patients were in; patients in the treatment group got a transplant and those in the control group did not. Another variable called survived was used to indicate whether or not the patient was alive at the end of the study. Of the 34 patients in the control group, 30 died. Of the 69 people in the treatment group, 45 died.
Survival is dependent of whether the patient got a transplant. The probability (proportion) of living when they got the treatment is larger than that when they did not.
It suggests that the survival time of those receiving the treatment is larger than the control group.
Roughly 88% of the control group and 65% of the treatment group died when the box plot was made. Eventually 100% of both groups died.
That the treatment is effective at increasing the duration of life.
We write alive on 28 cards representing patients who were alive at the end of the study, and dead on 75 cards representing patients who were not. Then, we shuffle these cards and split them into two groups: one group of size 69 representing treatment, and another group of size 34 representing control. We calculate the difference between the proportion of dead cards in the treatment and control groups (treatment - control) and record this value. We repeat this 100 times to build a distribution centered at zero. Lastly, we calculate the fraction of simulations where the simulated differences in proportions are greater than zero. If this fraction is low, we conclude that it is unlikely to have observed such an outcome by chance and that the null hypothesis should be rejected in favor of the alternative.
It suggests the effectiveness of the treatmant in increasing life is not due to chance.