Difference between revisions of "Documentation/How Tos/Calc: TTEST function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:TTEST function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_TINV_function
 +
|NextPage=Documentation/How_Tos/Calc:_WEIBULL_function
 +
}}__NOTOC__
  
 
== TTEST ==
 
== TTEST ==
Line 18: Line 23:
  
 
: <i>Advanced topic:</i>
 
: <i>Advanced topic:</i>
: The parameters <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are always evaluated as * [[Documentation/How_Tos/Using Arrays|array formulas]].
+
: The parameters <tt>'''data1'''</tt> and <tt>'''data2'''</tt> are always evaluated as [[Documentation/How_Tos/Using Arrays|array formulas]].
  
 
=== Example: ===
 
=== Example: ===
Line 24: Line 29:
 
: 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.
 
: 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.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: TDIST function|TDIST]]
 
* [[Documentation/How_Tos/Calc: TDIST function|TDIST]]
  
Line 33: Line 38:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 14:32, 2 February 2024



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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_TTEST_function&oldid=260069"
Views
Personal tools
Navigation
Print/export
Tools