Test for Independent Groups
Data are collected from two groups, say “Group 1” and “Group 2,” concerning with how "Group 1" and "Group 2" differ in terms of their respective population means

Data analysis begins with summarizing data,
and obtains the respective sample means
and
,
and the sample standard deviations
and
from "Group 1" and "Group 2"
with the respective sample sizes n and m.
Data may be arranged in two separate columns each of which contains data for the respective groups. The first column specifies "Group 1" and the second column "Group 2."
Data may be arranged in a form of one-way layout data. Here one column (as identified at "Summary statistics") contains the whole data, which is "grouped by" the column of categorical variable identifying "Group 1" and "Group 2."
Hypothesis test must be described by the alternative hypothesis










When it is reasonable to assume that
the two population variances
and
of Group 1 and 2 are equal,
the standard error (SE) is given by
via pooled sample variance
.
In pooled t-test,
A general procedure is applicable
when we cannot assume that the variances are equal.
Here the SE of
is given by
with the respective sample variances
and
.
Once the SE and the degree of freedom
df =
for t-distribution
are obtained from the t-test above,
we can construct the confidence interval
for the population mean difference
.
= ( , )
Here the choices of confidence level
are 90%,
95%, or 99%.
© TTU Mathematics