LEC 4 Parametric Tests l Flashcards
Considerations when comparing data between/among groups (4)
- Number of goups
- Independent or paired/related groups?
- Data is nominal, ordinal or continuous?
- continuous -> normal or non-normal? - Assumptions for each test
Comparing 2 groups with continuous (normally distributed data)
- paired/related group
Paired sample t-test
Procedure for hypothesis testing (6)
- Define the problem
- State the hull and alternative hypothesis
- Compute test statistic
- Find p-value for the computed test statistic
- Compare p-value with given significance level
(alpha = 0.05) - State conclusion
- reject null hypothesis : there is significance difference
- fail to reject null hypothesis : no significance difference
Parametric tests assumptions (2)
- Underlying distributions of samples are normal
2. Variances are the same (equal variance)
Paired sample t-tests assumptions (3)
- Difference in values are normal distribution
- Random samples are drawn from population
- Two underlying populations are paired
Paired sample t-test hypothesis
Null hypothesis : Population mean difference (Ud) = 0
Alternate hypothesis : Population mean difference (Ud) =/ 0
Types of pairing in Paired Sample t-tests
- Self-pairing
eg same patient undergo 2 types of treatment at diff periods - Matching
eg match patients with similar characteristics. 1 undergo treatment A while the other undergo treatment B
Two-tailed test or one-tailed test
Two-tailed test
- qn is ANY difference
- p-value x 2 (if graph is symmetrical eg t-test)
One-tailed test
- qn is A>B or B>A
Normality test
Test for the distribution of data to be normal or not normal
n<50 : Shapiro-Wilk
n>=50 : Kolmogorov-Smirnov
Normality test hypothesis
Null hypothesis : data distribution is normal
Alternate hypothesis : data distribution is not normal
Independent sample t-tests assumptions (4)
- The samples are random samples of their population
- Two underlying population is normally distributed
- Two underlying population is independent
- Two underlying population have equal variances
Tests for variance equality (2)
- F test
- normal distribution of populations
- 2 populations
F = ratio (larger variance/smaller variance) - Levene’s test
- normal / non-normal distribution
- >=2 populations
Is there a unique F distribution graph?
No.
It is a family of F distribution. 1 F distribution for each pair of degree of freedom (df1 & df2)
F distribution graph
- positively skewed (right skewed)
- non-negative values
Independent sample t-tests with EQUAL variance hypothesis
Null hypothesis : No difference in mean
Alternate hypothesis : There is difference in mean