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 and
 and  .
.
Data analysis begins with summarizing data,
and obtains the respective sample means
 and
 and  ,
and the sample standard deviations
,
and the sample standard deviations
 and
 and  from "Group 1" and "Group 2"
with the respective sample sizes n and m.
 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
 
 
 = 
is likely observed around zero under the null hypothesis
= 
is likely observed around zero under the null hypothesis 
 .
The opposite of such an observation is made
toward negatively extreme values (left tailed region), or toward positively extreme values (right tailed region),
or either of the extremes (two-sided region; see t-distribution)
if the alternative hypothesis
.
The opposite of such an observation is made
toward negatively extreme values (left tailed region), or toward positively extreme values (right tailed region),
or either of the extremes (two-sided region; see t-distribution)
if the alternative hypothesis  is respectively “
 is respectively “
 ,” or “
,” or “
 ,” or “
,” or “
 .”
The extreme observation is expressed by
the p-value smaller than the significance level
.”
The extreme observation is expressed by
the p-value smaller than the significance level  ,
which suggests evidence to support the alternative hypothesis
,
which suggests evidence to support the alternative hypothesis  .
.
When it is reasonable to assume that
the two population variances 
 and
 and 
 of Group 1 and 2 are equal,
the standard error (SE) is given by
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
 is given by
with the respective sample variances 
 and
 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%.
 are 90%,
95%, or 99%.
© TTU Mathematics
