These are questions that are posed as they would be on a final. Please complete each part of each question; we will review the answers. The following data are either imaginary or pulled from publicly available sources like Wikipedia.
library(tidyverse)
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.5.2 ✔ tibble 3.2.1
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
✔ purrr 1.0.4
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
13.2 Happiness
You decide to ask your friends to rate their happiness on a scale of 0-100 before and after you bother them to ask how happy they are, thereby inciting an existential crises within each of them. You predict that asking this question will decrease the happiness they are feeling at that moment. These data are ranked data, but assume they are parametric given the size of the scale being used.
13.2.1 What are the null and statistical hypotheses of this study?
13.2.2 What statistical test should be used for this test? Justify your answer, and be specific.
13.2.3 Calculate the appropriate test statistic, showing all or your work.
13.2.4 Assume that \(\alpha = 0.05\). State your final conclusion from the survey.
13.3 Running and grades
You hear that going running is good for your grades. You decide to look and see if the amount of time people spend running is related to their grades. You obtain the following data:
13.3.1 What is the appropriate analysis for this question?
13.3.2 Perform the test. What is the test statistic?
13.3.3 State your conclusion about this scenario, using \(\alpha = 0.05\).
13.4 Fosbury Flop
High-jumpers use the “Fosbury Flop” because it improves their performance by allowing their center of mass to pass under the high-jump bar while their bodies pass over the bar. Below are jump heights (in meters) for world records from before the Fosbury Flop was widely used and after the Fosbury Flop was widely used. Does the flop significantly improve athlete performace?
13.4.1 What is the appropriate test for this analysis? Justify your answer, and be specific.
13.4.2 Perform the test. What is the test statistic?
13.4.3 State your conclusion about this scenario. Set \(\alpha = 0.05\).
13.5 Sandhills, Stonehills
You decide to look at concentrations of Greater Prairie-Chickens Tympanuchus cupido in fields a set amount of years after control burns. The following table shows the count of prairie-chickens in each field from the year of the burn until 5 years after the burn. Conditions are lettered to ensure sorting is performed correctly.