Equality of the population means of two normally distributed populations based on independent random samples with equal variance and unequal variance
With equal variance
Hypothesis
H0: u1 = u2
H1: u1 ≠ u2
Where:
u1 is the population mean of population 1
u2 is the population mean of population 2
Use t-test
Test-statistic = (X1-X2)/Standard error
Standard error = (s2/n1 + s2/n2)1/2
Estimated population variance: s2 = [(n1-1)s12 – (n2-2)s22]/(n1+n2-2)
Critical value: look up df= n1+n2-2, p=significance
Where:
n1, n2 are samples sizes,
X1, X2 are sample means
s12, s22 are sample variances.
With unequal variance
Hypothesis
H0: u1 = u2
H1: u1 ≠ u2
Where:
u1 is the population mean of population 1
u2 is the population mean of population 2
Use t-test
Test-statistic = (X1-X2)/Standard error
Standard error = (s12/n1 + s22/n2)1/2
Critical value: look up df=[ (s12/n1+s22/n2)2]/{( s12/n1)2/n1+( s22/n2)2/n2}, p=significance
Where:
n1, n2 are samples sizes
X1, X2 are sample means
s12, s22 are sample variances
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment