# Difference between revisions of "ZProportion2Test Command"

From GeoGebra Manual

Line 2: | Line 2: | ||

{{command|statistics}} | {{command|statistics}} | ||

;ZProportion2Test[ <Sample Proportion 1>, <Sample Size 1>, <Sample Proportion 2>, <Sample Size 2>, <Tail> ] | ;ZProportion2Test[ <Sample Proportion 1>, <Sample Size 1>, <Sample Proportion 2>, <Sample Size 2>, <Tail> ] | ||

− | : Performs a test of the difference between two population | + | : Performs a test of the difference between two population proportions using the given sample statistics. ''Tail'' has possible values "<", ">" , "≠". These specify the alternative hypothesis as follows. |

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

:: ">" = difference in population proportions > 0 | :: ">" = difference in population proportions > 0 | ||

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

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

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

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

- ZProportion2Test[ <Sample Proportion 1>, <Sample Size 1>, <Sample Proportion 2>, <Sample Size 2>, <Tail> ]
- Performs a test of the difference between two population proportions using the given sample statistics.
*Tail*has possible values "<", ">" , "≠". These specify the alternative hypothesis as follows.- "<" = difference in population proportions < 0
- ">" = difference in population proportions > 0
- "≠" = difference in population proportions ≠ 0

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