2024-01-01
Case studies:
Shuttle O-ring incidents
Cognitive load in math problems
Robustness and resistance of two-sample \(t\)-tests
Transformations
Is there a difference between Cool(<65F) and Warm (>65F)?
Temperature on launch day: 29F.
Samples are really small
No sense in which they could be normally distributed…
Decide a test statistic \(T\) comparing Cool(<65F) to Warm (>65F). Could be the two-sample \(t\) test statistic
Under \(H_0:\) Cool(<65F) has the same distribution Warm (>65F) suppose we:
Shuffle the response in the two samples by a random ordering \(\sigma\) (called a permutation)
Recompute the statistic yielding \(T(\sigma)\)
Doesn’t look \(t\)-shaped at all… but test is valid. Why?
Under \(H_0\): shuffling the response doesn’t change the distribution!
One can use any test statistic for permutation test…
Only tests null \(H_0\): distributions are the same.
What should we use for \(H_a\)?
Time to solve math problems under two different presentations
Small sample size, not normal?
Rank the outcome
\(T\) = Sum the ranks in one of the groups (14 of 28 are Modified
)
Under \(H_0:\) distributions are identical, \(T\) has distribution the sum of 14 ranks in a random permutation…
R
uses a distributional approximation…\(H_a:\) the difference between groups is a simple shift
Other interpretations: estimating median of difference…
schizophrenia
)\(H_0:\) distributions are the same in each group..
\(\implies\) differences are symmetrically distributed around 0!
schizophrenia
t.test