Power of a Test/Comparing Means with ANOVA (4/6)
Type 1 error: Rejecting Ho, when you shouldn’t have (i.e., a false positive); and the probability is
Type 2 error: Failing to Reject Ho; the probability is
The Power of a Test: 1 -
Keep and low, but there are inherent tradeoffs
Ex: =.15
p(type 2 error) = = .15
This is the probability of correctly rejecting the false null hypothesis is .85
p(type1error
Rejecting the null means the test has found a significant difference
TO increase the power
Increase sample size
Increase - but Type 1 error is more likely
Decrease Standard deviation
Comparing Means with ANOVA (4/6)
To compare means from 2 or more groups; uses variance in the comparison
Variance: The spread of the data
Variability between samples due to different treatment
ex: different medicine, different diet, textbook
Variability within samples due to regular sampling error simply based on difference between subjects that ended up in the sample
F distribution, right skewed
Always use = .05
Repeated Measures: Use the same group of subjects with each treatment
ex: Instead of 4 different groups of patients testing 4 drugs, let 1 group of patients test all 4 different drugs and compare the results
Setup for ALL ANOVA tests:
Ho:
Ha: Not all means are equal OR at least one mean is different
Conditions:
Random Sample, <10% of population
Observations are independent
Observations should be nearly normal
Variances should be about equal
If yes (reject null), there is a difference. Find the difference doing post hoc(after the fact), pairwise t-tests
Homoscedasticity must be assumed for the ANOVA to be valid, ensuring that the error variances are equal across the groups being compared.
Heteroscedasticity indicates that the variances are not equal across groups, which can lead to incorrect conclusions if ANOVA is applied without addressing this issue. When heteroscedasticity is present, it may be necessary to use alternative statistical methods or to apply transformations to the data to stabilize the variances before conducting an ANOVA.