Syntax
| Parameter | Description |
|---|---|
| array1 | Parameter of the T.TEST function. |
| array2 | Parameter of the T.TEST function. |
| tails | Parameter of the T.TEST function. |
| type | Parameter of the T.TEST function. |
Examples
A/B test comparison
=T.TEST(A2:A101, B2:B101, 2, 2)
Paired before/after test
=T.TEST(C2:C21, D2:D21, 2, 1)
Unequal variance comparison
=T.TEST(E2:E51, F2:F31, 2, 3)
Common Errors
For paired tests (type 1), both arrays must have the same number of data points. Mismatched lengths cause this error.
Tails must be 1 or 2, and type must be 1 (paired), 2 (equal variance), or 3 (unequal variance).
Tips
Type 1 = paired (same subjects measured twice), Type 2 = two-sample equal variance, Type 3 = two-sample unequal variance (Welch's). When in doubt, use Type 3 — it is more conservative and does not assume equal variances.
Use tails=2 unless you have a strong a priori reason to test in only one direction. Two-tailed tests are the standard in most published research.
The returned p-value is the probability of observing a difference this large (or larger) by chance alone. If p < your alpha (typically 0.05), reject the null hypothesis of equal means.
Try T.TEST in Viztab
Import your data and use T.TEST with 370+ other formulas. No signup required.
Open Viztab