week 5. T-tests Flashcards
Central Limit Theorem
Tells us what the mean and standard deviation of the sampling distribution will be for any given size. As n increases, the sampling distribution will approach the normal distribution (for assessments which have a normal distribution).
One Sample t-test
This statistic is similar to the z-score, but used when we do NOT know the population standard deviation. We use the one-sample t-test to determine if the sample mean is significantly different. t=X--µ/S÷square root of n.
The t-statistic is a ratio of the observed difference between the sample and population means, and, the standard error.
thus, if the difference between the observed sample mean and population mean is greater than the standard eror, then t will be >1.
Evaluating significance of one-tailed t-test
degrees of freedom =n-1
If t statisticobtained is > tcritical, then the null hypothesis is rejected.
Note that it is only the magnitude of t which is important in this decision, ie treat a negative t same as a positive t.
Matched sample t-test
Used when have matched or related samples, eg, 1 group of subjects tested multiple times.Thus, each person eg would be tested twice, and therefore obtain a difference score for each person (difference between 1st and 2nd reading).
t=D--0/[SD÷square root of n]
Note, we use the minus 0, because the null hypothesis states that the mean of the standard deviation will be zero.
D-=mean of the difference scores
SD =standard deviation of the difference scores
degrees of freedom =N-1.
(in matched sample tests, if test 10 people eg twice, then N=10)
If tobtained>tcritical then we reject the null hypothesis
Independent samples t-test
Used when have 2 independent samples and wish to know if they differ on a variable. Use when typically have one independent variable measured on a nominal scale, and one dependent variable measured on a continuous scale.
eg Are smokers more anxious than non-smokers?
eg do extroverts drink more alcohol than introverts? etc
The standard error now becomes the standard error of differences between the means.
H0 states that µ1=µ2
a) for Equal sample sizes;
t=(X-1 - X-2)/[square root of{(S12/n1) +(S22/n2)}]
where S2=sample variance
b) for Unequal sample sizes:
t= (X-1 - X-2)/[square root of {(S2p/n1) +(S2p/n2)}]
where S2p=pooled variance
S2p=[(n1 -1)S21 + (n2 -1)S22] / (n1 + n2 -2)
Degrees of freedom is (n1 -1) + (n2-1)
Confidence limits around a mean difference
If we consider tcritical at the alpha level of 0.05, we can generate a 95% confidence limit around the mean thus;
mean difference+/-tcritical
This gives us the range, in which we are 95% confident, that the actual mean lies.
effect size Cohen’s d
Cohen’s d is used to comment on effect size for t-tests.
d=Cohen’s d
d=(X-1 -X-2)/Sp
effect size;
d=0.20=small
d=0.50=medium
d=0.80=large