Difference between revisions of "TTestPaired Command"

From GeoGebra Manual
Jump to: navigation, search
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}}
{{command|statistics}}
+
;TTestPaired( &lt;List of Sample Data 1>, &lt;List of Sample Data 2>, <Tail> )
;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:
: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
 
:: ">" = μ > 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 {P value, T test statistic}.
+
: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}.
© 2024 International GeoGebra Institute