# Difference between revisions of "ZMean2Test Command"

From GeoGebra Manual

Line 7: | Line 7: | ||

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

− | Results are returned in list form as { | + | Results are returned in list form as {Probability value, Z test statistic}. |

;ZMean2Test[ <Sample Mean 1 >, <Population Standard Deviation σ1>, <Sample Size 1>, <Sample Mean 2 >, <Population Standard Deviation σ2 >, <Sample Size 2>, <Tail> ] | ;ZMean2Test[ <Sample Mean 1 >, <Population Standard Deviation σ1>, <Sample Size 1>, <Sample Mean 2 >, <Population Standard Deviation σ2 >, <Sample Size 2>, <Tail> ] | ||

:Performs a Z test of the difference between two population means using the given sample statistics and population standard deviations. ''Tail'' is defined as above. | :Performs a Z test of the difference between two population means using the given sample statistics and population standard deviations. ''Tail'' is defined as above. |

## Revision as of 09:16, 17 August 2012

This page is about a feature that is supported only in GeoGebra 4.2. |

- ZMean2Test[ <List of Sample Data 1>, <Population Standard Deviation σ1>, <List of Sample Data 2>, <Population Standard Deviation σ2>, <Tail> ]
- Performs a Z test of the difference between two population means using the given lists of sample data and the population standard deviations. 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

Results are returned in list form as {Probability value, Z test statistic}.

- ZMean2Test[ <Sample Mean 1 >, <Population Standard Deviation σ1>, <Sample Size 1>, <Sample Mean 2 >, <Population Standard Deviation σ2 >, <Sample Size 2>, <Tail> ]
- Performs a Z test of the difference between two population means using the given sample statistics and population standard deviations.
*Tail*is defined as above.