Please enable JavaScript.
Coggle requires JavaScript to display documents.
The t-Test for Two Independent Samples - Coggle Diagram
The t-Test for Two Independent Samples
two strategies:
independent-measures research design/between-subjects design
: a research design that uses a separate group of participants for each treatment condition (or each population)
emphasize that the design involves two separate and independent samples and makes comparison between two groups
scores, means, and sum of squares for group 1: n1, M1, SS1
scores, means, and sum of squares for group 1: n2, M2, SS2
repeated-measures design or within-subjects design
: two sets of data are obtained from the same group of participants
hypothesis for an independent-measures test
null hypothesis - H0: µ1-µ2=0
alternative hypothesis - H1= µ1-µ2≠0
formulas for an independent-measures hypothesis test
the basic structure of the t statistic is the same for both independent-measures and single-sample hypothesis:
t = actual difference between the sample data and the hypothesis/expected difference between the sample data and hypothesis w/o treatment
single-sample t:
t = M-µ/estimated standard error
independent-measures t:
([M1-M2] - [µ1-µ2])/estimated standard error of (M1-M2)
estimated standard error of (M1-M2):
1) the standard error is a measure of the standard or average distance between a sample statistic (M1-M2) and the corresponding population parameter (µ1-µ2)
2) if the null hypothesis is true it measures the standard or average size of (M1-M2)
calculating the estimated standard error:
1) each of the two sample means represents it's own population mean, but with some error
so there are two sources of error
M1, estimated standard error = √(s²1/n1)
M2, estimated standard error = √(s²2/n2)
2) for the independent measures t statistic we want to know the total amount of error involved using two sample means to approximate two population means
to do this, you find the estimated standard error from both samples and add the errors together
estimated standard error (M1-M2) = √([s²1/n1] + [s²2+n2])
pooled variance
estimated standard error (M1-M2) = √([s²1/n1] + [s²2+n2])
is limited to situations where the two samples are exactly equal
if the samples are different, then this formula is biased and inappropriate
one method to correct this is to combine the sample variances into a single value called the
pooled variance
which is obtained through averaging or "pooling" the two sample variances that allows the bigger sample to carry more weight in determining the final value
s²p
for independent- measures t statistic, there are two SS values and two df values
pooled variance = s²p = (SS1+SS2)/(df1+df2)
estimated standard error of M1-M2 = √([s²p/n1]/[s²p/n2])
the final formula and degrees of freedom
t = ([M1-M2] - [µ1-µ2])/estimated standard error
degrees of freedom: df = n1+n2-2
assumptions underlying the independent measures t formula
1) the observations within each sample must be independent
2) the two populations from which the samples are collected must be normal
3) the two populations from which the samples are selected must have equal variances (
homogeneity of variance
)
homogeneity of variance is most important when there is a large discrepancy between sample sizes
Hartley's f-max test:
1) compute the sample variance for each sample: s² = ss/df
2) compute F-max(s² (largest)/s² (smallest)) - if there is a large value, the homogeneity value has been violated. If it is a small value (close to 1.00) then the homogeneity assumption is reasonable
3) the F-max is compared with the critical value, if the sample is larger than the table value, you conclude that the variances are different and that the homogeneity assumption is not valid
k = number of separate samples
df = n-1, this formula assumes all samples are the same size
a test for homogeneity would use the larger alpha level provided
hypothesis tests with the independent-measures t statistic
1) state the hypotheses and select the alpha level
H0 = µ1-µ2 = 0
H1 = µ1-µ2 ≠ 0
2) locate the critical region
if the sum of the degrees of freedom is 14 and
the alpha level is .05, then t = +/- 2.145
3) obtain the data and compute the test statistic
4) make a decision
directional hypothesis and one-tailed tests: a researcher believes that students in a dimly lit room will claim higher scores than those in a dimly lit room
1) state the hypotheses and select the alpha level
H0: µwell-lit ≥ µnot well-lit (not less cheating in the well-lit vs. dimly lit room
H1: µwell-lit < µdimly lit (less cheating in the well-lit vs dimly lit room)
2) locate the critical region: with df=14, the one-tailed critical region at alpha level = .01, t = -.2624
3) collect the data and calculate the t-statistic
4) make a decision
effect size and confidence intervals for the independent-measures t
generally increasing sample size increase the likelihood of rejecting the null hypothesis
cohen's estimated d:
d = mean difference/standard deviation
in independent-measures t:
d = M1-M2/√s²p
explained variance and r²
r² measures how much variability in the scores is explained by treatment effects
r² = t²/(t² + df)
confidence intervals for estimating µ1-µ2
µ1-µ2 = M1-M2 +/- t(estimated standard error)
confidence intervals and hypothesis tests
estimation can be used to describe the size
AND
the significance of a treatment effect
the role of sample variance and sample size in the independent-measures t test
standard error is directly related to sample variance so that larger variance leads to larger error = larger variance produces a smaller t statistic and reduces the likelihood of finding a significant result
standard error is inversely related to sample size = larger sample produces larger value for the t statistic and increase the likelihood of rejecting H0
only variance has a large influence on measures of effect size such as Cohen's d and r²
error and the role of individual differences
individual differences are one sources of variance = they have an effect on standard error
random sampling helps ensure there is no bias between the groups in terms of individual differences