Difference between revisions of "TTestPaired Command"
From GeoGebra Manual
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} |
− | {{command|statistics}} | + | ;TTestPaired( <List of Sample Data 1>, <List of Sample Data 2>, <Tail> ) |
− | ;TTestPaired | + | :Performs a paired t-test using the given lists of paired sample data. ''Tail'' has possible values "<", ">" , "≠" that determine the following alternative hypotheses: |
− | :Performs a paired | ||
:: "<" = μ < 0 | :: "<" = μ < 0 | ||
:: ">" = μ > 0 | :: ">" = μ > 0 | ||
:: "≠" = μ ≠ 0 | :: "≠" = μ ≠ 0 | ||
::( μ is the mean paired difference of the population) | ::( μ is the mean paired difference of the population) | ||
− | :Results are returned in list form as {Probabilty value, | + | :Results are returned in list form as ''{Probabilty value, t-test statistic}''. |
+ | :{{example|1=<code><nowiki>TTestPaired({1, 2, 3, 4, 5}, {1, 1, 3, 5, 5}, "<")</nowiki></code> yields ''{0.5, 0}''.}} |
Latest revision as of 10:25, 12 October 2017
- TTestPaired( <List of Sample Data 1>, <List of Sample Data 2>, <Tail> )
- Performs a paired t-test using the given lists of paired sample data. Tail has possible values "<", ">" , "≠" that determine the following alternative hypotheses:
- "<" = μ < 0
- ">" = μ > 0
- "≠" = μ ≠ 0
- ( μ is the mean paired difference of the population)
- Results are returned in list form as {Probabilty value, t-test statistic}.
- Example:
TTestPaired({1, 2, 3, 4, 5}, {1, 1, 3, 5, 5}, "<")
yields {0.5, 0}.