Difference between revisions of "TTest2 Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with '<noinclude>{{Manual Page|version=4.0}}</noinclude> {{command|statistics}} ;TTest2[<List of Sample Data 1>,<List of Sample Data 2>,<Tail>,<Boolean Pooled>]:{{description}} ;TTest2...')
 
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|statistics}}
 
{{command|statistics}}
;TTest2[<List of Sample Data 1>,<List of Sample Data 2>,<Tail>,<Boolean Pooled>]:{{description}}
+
;TTest2[<List of Sample Data 1>,<List of Sample Data 2>,<Tail>,<Boolean Pooled>]:
;TTest2[<Sample Mean 1 >,<Sample Standard Deviation 1>, <Sample Size 1>, <Sample Mean 2 >,<Sample Standard Deviation 2 >, <Sample Size 2>, <Tail>,<Boolean Pooled>]:{{description}}
+
:Performs a T test of the difference between two population means using the given list of sample data.  ''Tail'' has possible values "<", ">" , "≠". These specify the alternative hypothesis as follows.
 +
:: "<" = difference in population means < 0
 +
:: ">" = difference in population means > 0
 +
:: "≠" = difference in population means ≠ 0
 +
 
 +
:If Pooled = true, then population variances are assumed equal and sample standard deviations are combined in calculation.
 +
:If Pooled = false, then population variances are not assumed equal and sample standard deviations are not combined.
 +
 
 +
Results are returned in list form as {P value, T test statistic}.
 +
 
 +
;TTest2[<Sample Mean 1 >,<Sample Standard Deviation 1>, <Sample Size 1>, <Sample Mean 2 >,<Sample Standard Deviation 2 >, <Sample Size 2>, <Tail>,<Boolean Pooled>]
 +
:Performs a T test of the difference between two population means using the given sample statistics.  ''Tail'' and ''Pooled'' are defined as above.

Revision as of 05:33, 23 July 2011



TTest2[<List of Sample Data 1>,<List of Sample Data 2>,<Tail>,<Boolean Pooled>]
Performs a T test of the difference between two population means using the given list of sample data. Tail has possible values "<", ">" , "≠". These specify the alternative hypothesis as follows.
"<" = difference in population means < 0
">" = difference in population means > 0
"≠" = difference in population means ≠ 0
If Pooled = true, then population variances are assumed equal and sample standard deviations are combined in calculation.
If Pooled = false, then population variances are not assumed equal and sample standard deviations are not combined.

Results are returned in list form as {P value, T test statistic}.

TTest2[<Sample Mean 1 >,<Sample Standard Deviation 1>, <Sample Size 1>, <Sample Mean 2 >,<Sample Standard Deviation 2 >, <Sample Size 2>, <Tail>,<Boolean Pooled>]
Performs a T test of the difference between two population means using the given sample statistics. Tail and Pooled are defined as above.
© 2021 International GeoGebra Institute