Math 216: Statistical Thinking
Quantitative Response Analysis:
Hypothesis Testing Across Multiple Categories:
\[\begin{align*} H_{0}:& \quad \mu_{1}=\mu_{2}=\ldots=\mu_{k}\\ H_{a}:& \quad \text{At least one } \mu_{i} \neq \mu_{j} \end{align*}\]
Does Frisbee grip affect the distance of a throw?
A student performed the following experiment: 3 grips, 8 throws using each grip
1. Normal grip
2. One finger out grip
3. Frisbee inverted grip
A grip type is randomly assigned to each of the 24 throws she plans on making
Finger-out | Inverted | Normal | |
---|---|---|---|
n | 8 | 8 | 8 |
Mean | 29.5 | 32.375 | 33.125 |
SD | 4.175 | 3.159 | 3.944 |
Question: Is this evidence that grip affects mean distance thrown? \[\begin{align*} H_{0}:& \quad \mu_{1}=\mu_{2}=\mu_{3}\\ H_{a}:& \quad \text{At least one } \mu_{1}, \mu_{2}, \mu_{3} \text{ is not the same} \end{align*}\]
Dataset Differences: Although Datasets \(A\) and \(B\) have identical group means, their variability differs significantly.
Mean Variability: Contrasting Datasets \(A\) and \(C\), both showcase similar variability yet differ in group means.
Evidence of Variance: Dataset \(A\) shows minimal evidence of mean differences, whereas Datasets \(B\) and \(C\) display substantial evidence.
Assessment Criteria: Evaluating differences in means involves:
Conclusion: A robust analysis of variability is crucial to accurately identify and interpret differences in group means.
Analysis of Variance (ANOVA) compares the variability between groups to the variability within groups
The F-statistic is a ratio: \[F=\frac{M S G}{M S E}=\frac{\text { average between group variability }}{\text { average within group variability }}\]
If there really is a difference between the groups \((H_a \text{ true})\), we would expect the F-statistic to be
a). Large positive
b). Large negative
c). Close to 0
Df Sum Sq Mean Sq F value Pr(>F)
Grip 2 58.58 29.29 2.045 0.154
Residuals 21 300.75 14.32
F-test statistic: 2.045
P-value: 0.154
We can use the F-distribution to generate a p-value if:
The F-distribution assumes equal within group variability for each group. This is also an assumption when using the randomization distribution.
Question: Is this evidence that grip affects mean distance thrown?
\[\begin{align*} H_{0}:& \quad \mu_{1}=\mu_{2}=\mu_{3}\\ H_{a}:& \quad \text{At least one } \mu_{1}, \mu_{2}, \mu_{3} \text{ is not the same} \end{align*}\] \(\mu_{\mathrm{i}}\) is the true mean distance thrown using grip \(i\). \[F=2.05(\mathrm{df}=2,21), \text {p-value}=0.1543\]
Green: Variation within groups
Blue: Variation between groups
\[\text{F-test stat} = 29.29/14.32 = 2.045\]
Source | df | Sum of Squares | Mean Square |
---|---|---|---|
Groups |
#groups -1 3-1 = 2 |
SSG 58.583 |
SSG/df 58.583/2 = 29.29 |
Error (residual) |
n - #groups 24-3 = 21 |
SSE 300.750 |
SSE/df 300.75/21= 14.32 |
Total | n-1 24-1 = 23 |
SSTotal 359.333 |
Source | df | Sum of Squares | Mean Square |
Groups | \( k - 1 \) | \( \sum_{\text{groups}} n_i (\bar{x}_i - \bar{x})^2 \) | \( \frac{SSG}{k - 1} \) |
Error (residual) | \( n - k \) | \( \sum_{\text{groups}} (n_i - 1) s_i^2 \) | \( \frac{SSE}{n - k} \) |
Total | \( n - 1 \) | \( \sum_{\text{values}} (x_i - \bar{x})^2 \) |