- IB
- Question Type 4: Choosing the appropriate data given contextual information
Using the 15-week cleaned dataset of weekly junk food servings and idle heart rate below, compute the Pearson correlation coefficient .
Weekly junk food servings (): Idle heart rate ():
[6]Test whether the slope of the regression line is significantly different from zero at , given with 13 degrees of freedom.
[5]A study was conducted to determine the relationship between the number of weekly junk food servings () and the idle heart rate (, in beats per minute) of 15 individuals. The following summary statistics were obtained:
Fit a least-squares regression line predicting idle heart rate from weekly junk food servings. Calculate the values of and , and state the regression equation.
[5]From the cleaned dataset of 15 weeks, the weekly junk food servings are 3, 5, 4, 6, 7, 5, 4, 8, 2, 6, 5, 4, 7, 6, 5. Calculate the mean and standard deviation of junk food servings.
[4]Person A has recorded the following variables over 10 weeks:
Which of these variables should Person A include to investigate the effect of weekly junk food consumption on average resting heart rate, and why?
[3]Person A also recorded weekly exercise hours. Explain how weekly exercise could act as a confounding variable when analyzing the relationship between junk food consumption and idle heart rate, and suggest a mathematical method to adjust for it.
[5]Over 12 weeks, Person A’s weekly junk food servings are recorded as follows: Identify and remove any outliers in this data set using the interquartile range (IQR) method.
[6]Given 18 weeks of data labeled week 1 through 18, Person A wants only the most recent 12 weeks. Write a mathematical expression to represent this subset for analysis.
[3]After selecting the last 12 weeks, Person A notices one value of weekly junk food servings is zero. Discuss whether this is an outlier in context and how you would decide to keep or remove it.
[5]Person A collected data on weekly junk food servings and average idle heart rate for weeks, but weeks , , and have missing heart rate readings. Calculate the number of complete weeks that remain for analysis.
[2]The relationship between the number of servings of junk food consumed per week () and the average idle heart rate () in beats per minute (bpm) is modeled by a linear regression equation.
Using the regression line , predict the average idle heart rate for a subject consuming servings of junk food in a week.
[3]To smooth weekly junk food servings, Person A applies a 3-week moving average on the series . Calculate the smoothed values for weeks 2–9.
[4]