This article describes the misleading labels that exist in
the output of each of the three Analysis ToolPak t-Test tools, and that are common
to the output of all three tools.
The reader must also be aware of the
fact that the t-Test: Paired Two Sample for Means tool can give incorrect
information about the t-Test: Paired Two Sample for Means tool, click the
following article number to view the article in the Microsoft Knowledge Base:
Excel Statistical Functions: Analysis ToolPak t-Test: Paired Two Sample For Means
Microsoft Excel 2004 for Macintosh information
The statistical functions in Excel 2004 for Mac were updated by using the same algorithms that were used to update the statistical functions in Microsoft Office Excel 2003 and later versions of Excel. Any information in this article that describes how a function works or how a function was modified for Excel 2003 and later versions of Excel also applies to Excel 2004 for Mac.
Problems with misleading labels are illustrated and
discussed in this article.
Example of usage
To illustrate the t-Test tools, create a blank Excel
worksheet, copy the following table, and then select cell A1 in your blank
Excel worksheet. Then, paste the entries so that the following table fills cells
A1:C20 in your worksheet.
Collapse this tableExpand this table
|t-Test: Two-Sample Assuming Unequal
|Variable 1||Variable 2|
|Hypothesized Mean Difference||0|
|t Critical one-tail||1.812461102|
|t Critical two-tail||2.228138842|
After you paste this table into your new Excel worksheet, click
the Paste Options
button, and then click Match
. With the pasted range still selected, use one of the following procedures, as appropriate for the version of Excel that you are running:
- In Microsoft Office Excel 2007, click the Home tab, click Format in the Cells group, and then click AutoFit Column Width.
- In Excel 2003, point to
Column on the Format menu, and then click
Data for the two samples is in
cells A1:B6. Cells A8:C20 show the output of one of the three t-Test tools, the
two-sample test with unequal variances. The format of this output is similar
for each of the three tools. All the rows in this table are included for all
three tools; output for each of the other two tools includes one additional row
(a different additional row for each of the other two tools). Additional rows
in these other output tables are not important for this discussion.
The focus of this article is to understand the information in
rows 16 to 20. In each tool, a t-Statistic value, t, is computed and shown as
"t Stat" in the output tables. Depending on the data, this value, t, can be
negative or non-negative. If you assume equal underlying population means, and
if t is less than 0, "P(T <= t) one-tail" gives the probability that a value
of the t-Statistic would be observed that is more negative than t. If t is
greater than or equal to 0, "P(T <= t) one-tail" gives the probability that
a value of the t-Statistic would be observed that is more positive than t.
Therefore, if the label is replaced with one that is more accurate, the label
would be "P(T > |t|) one tail".
"t Critical one-tail" gives the
cutoff value so that the probability that an observation from the
t-distribution with df degrees of freedom is greater than or equal to "t
Critical one-tail" is Alpha. The default level of Alpha is 0.05 for each tool
and this can be changed in the input dialog box. The value of t Critical
one-tail can also be found by using the TINV(2*Alpha, df) function in Excel.
Because TINV gives the cutoff for a two-tailed t-test, use 2*Alpha instead of
Alpha. If the two-tailed probability of a t value higher in absolute value than
this cutoff is 0.10, the one-tailed probability of a t value higher than this
cutoff is 0.05 (as is the one-tailed probability of a t value less than the
negative of this cutoff).
"P(T <= t) two-tail" gives the
probability that a value of the t-statistic would be observed that is larger in
absolute value than t. Therefore, if the label is replaced with one that is
more accurate, the label would be "P(|T| > |t|) two tail".
Critical two-tail" gives the cutoff value so that the probability of an
observed t-Statistic larger in absolute value than "t Critical two-tail" is
Alpha. The value of t Critical two-tail can also be found by using the
TINV(Alpha, df) function in Excel.