t-tests Flashcards
What are the assumptions of a single sample t test?
- normally distributed
- randomly selected
- at least interval data
What are the assumptions of an independent samples t test?
- sampling distribution of scores in each group is normally distributed
- groups are randomly selected and independent
- equality of variances (homogeneity of variance)
- at least interval data
What are the assumptions of a dependant samples t test?
- sampling distribution of differences between scores is normally distributed
- randomly selected
- at least interval data
How do you calculate the effect size for a single sample t-test
effect size (Cohen’s d) is
Mean difference (observed mean minus population mean)
OVER
population standard deviation
WHICH IS
t statistic OVER square root of N
What is Levene’s test for equality of variances and how does it affect how the SPSS output for a t test is interpreted?
which type of t test does this apply to?
[note only applied to independent samples t test]
It tests the hypothesis that the variances in the two groups are equal (i.e. the difference between the variances is zero)
If the output shows Levene’s test as being significant then we assume that there is a significant difference in variances (i.e. that the assumption of equality of variances has been violated)
-> if violated read the output from the row ‘equal variances not assumed’
How do you calculate the effect size for an independent samples t-test?
Cohen’s d =
Mean difference OVER pooled population standard deviation
PROF SAID HE WOULD NOT ASK US TO CALCULATE POOLED EFFECT SIZE
What is eta squared?
Eta squared (η2) is a measure of the variance accounted
-> The variance in the in the dependent variable accounted for by the independent variable
How do you calculate the effect size for a dependent samples t-test?
Cohen’s d = mean over population SD
d = t/square root of n
NOTE: make sure not to put top or bottom in parentheses
How do you calculate eta squared (η2) for an independent samples t test?
tsquared
OVER
tsquared + (n1+n2-2)
note the n1 and n2 should be subscript numbers - not multiplying by 1 and 2
NOTE calculator -> put top in parentheses and put bottom in parentheses
How do you calculate eta squared (η2) for a dependent samples t-test?
tsquared
OVER
tsquared + n-1
NOTE absolutely can’t figure out how to make this work on my calculator
SOLUTION: calculate t squared and use that to plug into calculator manually
How is eta squared interpreted?
Eta-squared ranges from 0 to 1 and indicates the proportion of overlap between the grouping variable (the IV) and the outcome variable (the DV). It is often reported like “the independent variable explained 15% of the variance in the dependent variable.” Cohen’s conventions for eta-squared are: .01 small, .06 = medium, .14= large.
Why would you perform an ANOVA rather than multiple t tests?
give an example
because multiple analyses increase the likelihood of committing a type 1 error
e.g., if we did 5 independent analyses (i.e. 5 t tests) and the probability of a type one error (alpha) was set at .05 for each -> you would sum those probabilities and get a .25 chance of committing a type 1 error (note because they are combined with OR)
What are the assumptions of a one way ANOVA
- normally distributed within each group
- randomly selected, representative sample
- homogeneity of variance
- at least interval data
What effect measure is used for ANOVA and why?
Eta squared - cannot use Cohen’s d when there is more than 2 groups
How do you calculate and interpret the effect measure (Eta squared) for an ANOVA
Sum of squares treatment
OVER
Sum of squares total
SPSS output SS between groups OVER SS total
Need to compare it to something to be able to know if the effect is typical
(e.g. in slides is .19 -> IV explains 19% of variance in IV but can’t interpret unless given context)