# Difference between revisions of "TTest2 Command"

From GeoGebra Manual

Noel Lambert (talk | contribs) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||

Line 1: | Line 1: | ||

<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} | ||

− | ;TTest2 | + | ;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 lists of sample data. Tail has possible values "<", ">" , "≠" that determine the following alternative hypotheses: | :Performs a t-test of the difference between two population means using the given lists of sample data. Tail has possible values "<", ">" , "≠" that determine the following alternative hypotheses: | ||

:: "<" = difference in population means < 0 | :: "<" = difference in population means < 0 | ||

Line 10: | Line 10: | ||

:Results are returned in list form as ''{Probabilty value, t-test statistic}''. | :Results are returned in list form as ''{Probabilty value, t-test statistic}''. | ||

− | ;TTest2 | + | ;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. Results are returned in list form as ''{Probabilty value, t-test statistic}''. | :Performs a t-test of the difference between two population means using the given sample statistics. ''Tail'' and ''Pooled'' are defined as above. Results are returned in list form as ''{Probabilty value, t-test statistic}''. |

## Latest revision as of 17:17, 7 October 2017

- 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 lists of sample data. Tail has possible values "<", ">" , "≠" that determine the following alternative hypotheses:
- "<" = 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.

- If
- Results are returned in list form as
*{Probabilty 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. Results are returned in list form as*{Probabilty value, t-test statistic}*.