ContingencyTable Command
From GeoGebra Manual
- ContingencyTable[ <List of Text>, <List of Text> ]
- Draws a Contingency Table created from the two given lists. Unique values from the first list are used as row values in the table. Unique values from the second list are used as column values in the table.
- ContingencyTable[ <List of Text>, <List of Text>, <Options> ]
- Draws a Contingency Table created from the two given lists as described above. The text Options controls the display of optional calculations within the table.
- Note: Possible values for Options are "|", "_", "+", "e", "k", "=".
- "|" = show column percentages
- "_" = show row percentages
- "+" = show total percentages
- "e" = show expected counts
- "k" = show Chi Squared contributions
- "=" = show results of a Chi Squared test
- ContingencyTable[ <List of Row Values>, <List of Column Values>, <Frequency Table> ]
- Draws a Contingency Table using the given list of row values, column values and corresponding frequency table.
- Example:
ContingencyTable[ {"Males","Females"},{"Right-handed", "Left-handed"},{{43,9},{44,4}}]
yields the corresponding Contingency Table.
- ContingencyTable[ <List of Row Values>, <List of Column Values> <Frequency Table>, <Options> ]
- Draws a Contingency Table using the given list of row values, column values and corresponding frequency table. The text Options controls the display of optional calculations within the table as described above.
- Example:
ContingencyTable[ {"Males","Females"},{"Right-handed", "Left-handed"},{{43,9},{44,4}},"_"]
yields the corresponding Contingency Table showing the row percentages.