Difference between revisions of "Documentation/How Tos/Calc: TTEST function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
|||
Line 30: | Line 30: | ||
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']] | [[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']] | ||
+ | |||
+ | [[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']], | ||
+ | [[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']] |
Revision as of 14:05, 13 September 2008
TTEST
Returns the result of a Student's t-test.
Syntax:
TTEST(data1; data2; mode; type)
- data1 and data2 are ranges or arrays (possibly of different size) containing numbers, on which the t-test is performed.
- mode is
- 1 for a one-tailed t-test
- 2 for a two-tailed t-test.
- type is
- 1 for paired samples
- 2 for two samples with equal variance
- 3 for two samples with unequal variance.
- Advanced topic:
- The parameters data1 and data2 are always evaluated as array formulas.
Example:
TTEST(A2:A20; B2:20; 2; 3)
- returns the result of a two-tailed Student's t-test for two samples with unequal variance, using the data in A2:A20 and B2:20.
See also:
Functions listed alphabetically, Functions listed by category