T Tests Flashcards
What is the purpose of an unpaired t test for 2 indep means and e.g?
- Compares means from 2 indep samples/people e.g. comparing mean heights of boys and girls
What is unpaired t test based on?
sampling dis of 2 sample means (normal)
What does unpaired t test allow?
Calc of diff and CI for diff
What is null and alt hypothesis for unpaired t test?
- null: 2 samples come from pops with same mean
- alt: there is mean diff between 2 samples
What are 3 assumptions of unpaired t test?
- Quant data (continuous/discrete) normally dis. Data checked for symmetry using dot plot, histogram/normal plot
- SD are the same for both samples. Checked by inspecting them - if diff, Satterthwaite approx may be used
- Sig tests are available to check for normality + sim of SD but not helpful guides as are often non-sig for small samples even if appears to be non-normality/diff in SD. Also tend to be sig for large samples even if skewness/diff in variance appear to be minor (so visual test may be better)
Why might assumptions not hold for unpaired t tests?
- stat test is doubtful and p value is wrong
- t test quite robust to slight skewness if 2 samples are same size but less robust if variances clearly diff
How would you try to correct assumptions that don’t hold for unpaired t test?
- try transformation of data (use log transformation)
- skewness + non-similar SD often go together + correcting 1 by transforming data may correct the other as well
What parameter has t dis got?
degrees of freedom
What is DOF related to?
sample size (which is n1+n1-2)
Describe t dis
- no single t dis - each n1+n2-2 (Sample) gives diff shape
- for large sample (>100), t dis close to normal dis
What is the unpaired t test also known as?
2 sample t test
What happens to SD + SE when calc for unpaired t test?
- SD combined/pooled from SDs of the 2 diff samples
- SE are also combined SE based on 2 SD from both samples
What does the paired (matched) t test do?
- analyses mean diff in paired sample
- each person matched to a sim/same person at diff occasions
How do you check assumptions using a histogram to see if data are normal for unpaired data?
- histogram shows data close to symmetry
- 2 SDs are similar
- can conclude t est assumptions hold for these data
What is paired t test based on?
- sampling dis of mean diff (normal)