Difference between revisions of "ContingencyTable Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}}
{{command|statistics}}
 
 
 
 
;ContingencyTable[ <List of Text>, <List of Text> ]
 
;ContingencyTable[ <List of Text>, <List of Text> ]
 
:Draws a [[w:Contingency table| 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.   
 
:Draws a [[w:Contingency table| 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.   

Revision as of 14:14, 3 August 2015


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.
© 2024 International GeoGebra Institute