WorldClass Statistics · Inference for numerical data

Chapter 7 exercises

Exercise 7.47

Gaming and distracted eating, Part I. A group of researchers are interested in the possible effects of distracting stimuli during eating, such as an increase or decrease in the amount of food consumption. To test this hypothesis, they monitored food intake for a group of 44 patients who were randomized into two equal groups. The treatment group ate lunch while playing solitaire, and the control group ate lunch without any added distractions. Patients in the treatment group ate 52.1 grams of biscuits, with a standard deviation of 45.1 grams, and patients in the control group ate 27.1 grams of biscuits, with a standard deviation of 26.4 grams. Do these data provide convincing evidence that the average food intake (measured in amount of biscuits consumed) is different for the patients in the treatment group? Assume that conditions for inference are satisfied. 1

Exercise 7.48

Gaming and distracted eating, Part II. The researchers from Exercise 7.47 also investigated the effects of being distracted by a game on how much people eat. The 22 patients in the treatment group who ate their lunch while playing solitaire were asked to do a serial-order recall of the food lunch items they ate. The average number of items recalled by the patients in this group was 4. 9, with a standard deviation of 1.8. The average number of items recalled by the patients in the control group (no distraction) was 6.1, with a standard deviation of 1.8. Do these data provide strong evidence that the average number of food items recalled by the patients in the treatment and control groups are different?

Exercise 7.49

Sample size and pairing. Determine if the following statement is true or false, and if false, explain your reasoning: If comparing means of two groups with equal sample sizes, always use a paired test.

Exercise 7.50

College credits. A college counselor is interested in estimating how many credits a student typically enrolls in each semester. The counselor decides to randomly sample 100 students by using the registrar’s database of students. The histogram below shows the distribution of the number of credits taken by these students. Sample statistics for this distribution are also provided.

A histogram is shown for "Number of credits". The distribution is centered at about 13 and is very roughly bell-shaped with data ranging from 8 to 18 with no apparent outliers.

Min 8
Q1 13
Median 14
Mean 13.65
SD 1.91
Q3 15
Max 18
  1. What is the point estimate for the average number of credits taken per semester by students at this college? What about the median?

  2. What is the point estimate for the standard deviation of the number of credits taken per semester by students at this college? What about the IQR?

  3. Is a load of 16 credits unusually high for this college? What about 18 credits? Explain your reasoning.

  4. The college counselor takes another random sample of 100 students and this time finds a sample mean of 14.02 units. Should she be surprised that this sample statistic is slightly different than the one from the original sample? Explain your reasoning.

  5. The sample means given above are point estimates for the mean number of credits taken by all students at that college. What measures do we use to quantify the variability of this estimate? Compute this quantity using the data from the original sample.

Exercise 7.51

Hen eggs. The distribution of the number of eggs laid by a certain species of hen during their breeding period has a mean of 35 eggs with a standard deviation of 18.2. Suppose a group of researchers randomly samples 45 hens of this species, counts the number of eggs laid during their breeding period, and records the sample mean. They repeat this 1,000 times, and build a distribution of sample means.

  1. What is this distribution called?

  2. Would you expect the shape of this distribution to be symmetric, right skewed, or left skewed? Explain your reasoning.

  3. Calculate the variability of this distribution and state the appropriate term used to refer to this value.

  4. Suppose the researchers’ budget is reduced and they are only able to collect random samples of 10 hens. The sample mean of the number of eggs is recorded, and we repeat this 1,000 times, and build a new distribution of sample means. How will the variability of this new distribution compare to the variability of the original distribution?

Exercise 7.52

Forest management. Forest rangers wanted to better understand the rate of growth for younger trees in the park. They took measurements of a random sample of 50 young trees in 2009 and again measured those same trees in 2019. The data below summarize their measurements, where the heights are in feet:

2009 2019 Differences
xˉ\bar{x} 12.0 24.5 12.5
ss 3.5 9.5 7.2
nn 50 50 50

Construct a 99% confidence interval for the average growth of (what had been) younger trees in the park over 2009-2019.

Exercise 7.53

Experiment resizing. At a startup company running a new weather app, an engineering team generally runs experiments where a random sample of 1% of the app’s visitors in the control group and another 1% were in the treatment group to test each new feature. The team’s core goal is to increase a metric called daily visitors, which is essentially the number of visitors to the app each day. They track this metric in each experiment arm and as their core experiment metric. In their most recent experiment, the team tested including a new animation when the app started, and the number of daily visitors in this experiment stabilized at +1.2% with a 95% confidence interval of (-0.2%, +2.6%). This means if this new app start animation was launched, the team thinks they might lose as many as 0.2% of daily visitors or gain as many as 2.6% more daily visitors. Suppose you are consulting as the team’s data scientist, and after discussing with the team, you and they agree that they should run another experiment that is bigger. You also agree that this new experiment should be able to detect a gain in the daily visitors metric of 1.0% or more with 80% power. Now they turn to you and ask, “How big of an experiment do we need to run to ensure we can detect this effect?”

  1. Using your answer from part (7.53) and that the original experiment was a 1% vs 1% experiment to recommend an experiment size to the team.

Exercise 7.54

Torque on a rusty bolt. Project Farm is a YouTube channel that routinely compares different products. In one episode, the channel evaluated different options for loosening rusty bolts.2 Eight options were evaluated, including a control group where no treatment was given (“none” in the graph), to determine which was most effective. For all treatments, there were four bolts tested, except for a treatment of heat with a blow torch, where only two data points were collected. The results are shown in the figure below:

A side-by-side dot plot is shown for "Torque required to loosen a rusty bolt, in foot-pounds". There are only 2 to 4 observations per option, which are roughly as follows: Heat (82, 98), WD-40 (106, 118, 129, 131), Royal Purple (108, 114, 122, 132), PB Blaster (110, 124, 127, 128), Liquid Wrench (85, 88, 98, 114), AeroKroil (107, 125, 132, 134), Acetone/ATF (105, 107, 114, 129), and "none" (110, 123, 129, 142).)

  1. Regardless of your answer in part (7.54), describe hypotheses for ANOVA in this context, and use the table below to carry out the test. Give your conclusion in the context of the data.

    Df Sum Sq Mean Sq F value Pr(>>F)
    treatment 7 3603.43 514.78 4.03 0.0056
    Residuals 22 2812.80 127.85

    ·anchor·torque_on_rusty_bolt_pvalues· The table below are p-values for pairwise tt-tests comparing each of the different groups. These p-values have not been corrected for multiple comparisons. Which pair of groups appears most likely to represent a difference?

    AeroKroil Heat Liquid Wrench none PB Blaster Royal Purple WD-40
    Acetone/ATF 0.2026 0.0308 0.0476 0.1542 0.3294 0.5222 0.3744
    AeroKroil 0.0027 0.0025 0.8723 0.7551 0.5143 0.6883
    Heat 0.5580 0.0020 0.0050 0.0096 0.0059
    Liquid Wrench 0.0017 0.0053 0.0117 0.0065
    none 0.6371 0.4180 0.5751
    PB Blaster 0.7318 0.9286
    Royal Purple 0.8000
  2. There are 28 p-values shown in the table in part (7.54). Determine if any of them are statistically significant after correcting for multiple comparisons. If so, which one(s)? Explain your answer.

Exercise 7.55

Exclusive relationships. A survey conducted on a reasonably random sample of 203 undergraduates asked, among many other questions, about the number of exclusive relationships these students have been in. The histogram below shows the distribution of the data from this sample. The sample average is 3.2 with a standard deviation of 1.97.

A histogram is shown for "Number of exclusive relationships". The distribution has a peak between 1 and 2 of about 101, a substantial dip for the 2 to 3 bin at a value of about 2, and the 3 to 4 bin is about 50, 4 to 5 bin a value of about 25, and the data continues to taper off with a maximum value of "10" shown.

Estimate the average number of exclusive relationships Duke students have been in using a 90% confidence interval and interpret this interval in context. Check any conditions required for inference, and note any assumptions you must make as you proceed with your calculations and conclusions.

Exercise 7.56

Age at first marriage, Part I. The National Survey of Family Growth conducted by the Centers for Disease Control gathers information on family life, marriage and divorce, pregnancy, infertility, use of contraception, and men’s and women’s health. One of the variables collected on this survey is the age at first marriage. The histogram below shows the distribution of ages at first marriage of 5,534 randomly sampled women between 2006 and 2010. The average age at first marriage among these women is 23.44 with a standard deviation of 4.72.3

A histogram is shown for "Age at first marriage". The distribution is right-skewed, centered at about 23, has a standard deviation of about 5. The data smoothly tapers off in each direction but do not extend below about 12 or above 45.

Estimate the average age at first marriage of women using a 95% confidence interval, and interpret this interval in context. Discuss any relevant assumptions.

Exercise 7.57

Online communication. A study suggests that the average college student spends 10 hours per week communicating with others online. You believe that this is an underestimate and decide to collect your own sample for a hypothesis test. You randomly sample 60 students from your dorm and find that on average they spent 13.5 hours a week communicating with others online. A friend of yours, who offers to help you with the hypothesis test, comes up with the following set of hypotheses. Indicate any errors you see. H0:xˉ<10 hoursHA:xˉ>13.5 hours\begin{aligned} H_0&: \bar{x} < 10~hours \\ H_A&: \bar{x} > 13.5~hours \end{aligned}

Exercise 7.58

Age at first marriage, Part II. Exercise 7.56 presents the results of a 2006 - 2010 survey showing that the average age of women at first marriage is 23.44. Suppose a social scientist thinks this value has changed since the survey was taken. Below is how she set up her hypotheses. Indicate any errors you see. H0:xˉ≠23.44 years oldHA:xˉ=23.44 years old\begin{aligned} H_0&: \bar{x} \neq 23.44~years~old \\ H_A&: \bar{x} = 23.44~years~old \end{aligned}

Notes

  1. Oldham-Cooper, R.E. et al. Playing a computer game during lunch affects fullness, memory for lunch, and later snack intake. The American Journal of Clinical Nutrition. 2011. ↩

  2. Project Farm on YouTube, youtu.be/xUEob2oAKVs, April 16, 2018. ↩

  3. Centers for Disease Control and Prevention, National Survey of Family Growth, 2010.. ↩

Credit and licence

“Chapter 7 exercises” is from OpenIntro Statistics, Fourth Edition, by David M Diez, Mine Çetinkaya-Rundel and Christopher D Barr, shared under a CC BY-SA 3.0 license. WorldClass Statistics is a derivative of OpenIntro Statistics, shared under the same license; the original book may be found at openintro.org/book/os.

Source: https://www.openintro.org/book/os/

Licence: CC BY-SA 3.0 (creativecommons.org/licenses/by-sa/3.0/). You may share and adapt it under the same licence, with this credit. WorldClass adapted the formatting only: the text is the authors', with interactive parts and links to other sites left out.

Build status · Flash Infinity AI™ is a trademark of AI-Flash Inc.. WorldClass is not affiliated with, approved or accredited by any exam board, curriculum provider or university unless a page says so.