29.11 Exercises

Selected answers are available in Sect. D.27.

Exercise 29.1 People often struggle to eat the recommended intake of vegetables. In one study exploring ways to increase vegetable intake in teens (Fritts et al. 2018), teens rated the taste of raw broccoli, and raw broccoli served with a specially-made dip. (These data were also seen in Exercise 23.1.)

Each teen (\(n = 101\)) had a pair of measurements: the taste rating of the broccoli with and without dip. Taste was assessed using a ‘100 mm visual analog scale,’ where a higher score means a better taste. In summary:

  • For raw broccoli, the mean taste rating was \(56.0\) (with a standard deviation of \(26.6\));
  • For raw broccoli served with dip, the mean taste rating was \(61.2\) (with a standard deviation of \(28.7\)).

Because the data are paired, the differences are the best way to describe the data. The mean difference in the ratings was \(5.2\), with standard error of \(3.06\).

Perform a hypothesis test to see if the use of dip increases the mean taste rating.

Exercise 29.2 In a study of hypertension (MacGregor et al. 1979; Hand et al. 1996), patients were given a drug (Captopril) and their systolic blood pressure measured immediately before and two hours after being given the drug (data shown). The aim is to see if there is evidence of a reduction in blood pressure after taking Captopril. (This study was also seen in Exercise 23.2.)

Using these data and the software output (jamovi: Fig. 29.8; SPSS: Fig. 29.9):

  1. Explain why it is probably more sensible to compute differences as the Before minus the After measurements. What do the differences mean when computed this way?
  2. Compute the differences.
  3. Construct a suitable graph for the differences.
  4. Write down the hypotheses.
  5. Write down the \(t\)-score.
  6. Write down the \(P\)-value.
  7. Write a conclusion.
TABLE 29.2: The Captopril data: before after after systolic blood pressures (in mm Hg)
Before After Before After
210 201 173 147
169 165 146 136
187 166 174 151
160 157 201 168
167 147 198 179
176 145 148 129
185 168 154 131
206 180 NA NA
jamovi output for the Captoril data

FIGURE 29.8: jamovi output for the Captoril data

SPSS output for the Captoril data

FIGURE 29.9: SPSS output for the Captoril data

Exercise 29.3 A study (Allen et al. 2018) examined the effect of exercise on smoking. Men and women were assessed on a range of measures, including the ‘intention to smoke.’ (This study was also seen in Exercise 23.3.) ‘Intention to smoke,’ and other measures, were assessed both before and after exercise for each subject, using the 10-item quantitative Questionnaire of Smoking Urges – Brief scale (Cox et al. 2001), and the quantitative Minnesota Nicotine Withdrawal Scale (Shiffman et al. 2004).

Smokers (defined as people smoking at least five cigarettes per day) aged 18 to 40 were enrolled for the study. For the 23 women in the study, the mean intention to smoke after exercise reduced by 0.66 (with a standard error of 0.37). Perform a hypothesis test to determine if there is evidence of a population mean reduction in intention to smoke for women after exercising.

Exercise 29.4 In a study (Cressie et al. 1984) conducted at the Adelaide Children’s Hospital:

…a group of beta thalassemia patients […] were treated by a continuous infusion of desferrioxamine, in order to reduce their ferritin content…

Cressie et al. (1984), p. 107; emphasis added

Using the data (shown below), conduct a hypothesis test to determine if there is evidence that the treatment reduces the ferritin content, as intended.


Allen AM, Abdelwahab NM, Carlson S, Bosch TA, Eberly LE, Okuyemie K. Effect of brief exercise on urges to smoke in men and women smokers. Addictive Behaviors. 2018;77:34–7.
Cox LS, Tiffany ST, Christen AG. Evaluation of the brief questionnaire of smoking urges (QSU-brief) in laboratory and clinical settings. Nicotine & Tobacco Research. 2001;3(1):7–16.
Cressie NAC, Sheffield LJ, Whitford HJ. Use of the one sample \(t\)-test in the real world. Journal of Chronic Diseases. 1984;37(2):107–14.
Fritts JR, Fort C, Corr AQ, Liang Q, Alla L, Cravener T, et al. Herbs and spices increase liking and preference for vegetables among rural high school students. Food Quality and Preference. 2018;68:125–34.
Hand DJ, Daly F, Lunn AD, McConway KY, Ostrowski E. A handbook of small data sets. London: Chapman; Hall; 1996.
MacGregor GA, Markandu ND, Roulston JE, Jones JC. Essential hypertension: Effect of an oral inhibitor of angiotensin-converting enzyme. British Medical Journal. 1979;2:1106–9.
Shiffman S, West RJ, Gilbert DG. Recommendation for the assessment of tobacco craving and withdrawal in smoking cessation trials. Nicotine & Tobacco Research. 2004;6(4):599–614.