Difference between revisions of "ContingencyTable Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=4.2}}</noinclude> {{command|statistics}} ;ContingencyTable[ <List of Text>, <List of Text> ] Draws a [[w:Contingency table| Contingency Table...")
 
Line 3: Line 3:
  
 
;ContingencyTable[ <List of Text>, <List of Text> ]
 
;ContingencyTable[ <List of Text>, <List of Text> ]
Draws a [[w:Contingency table| Contingency 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. 
 
;ContingencyTable[ <List of Text>, <List of Text>, <Options> ]
 
;ContingencyTable[ <List of Text>, <List of Text>, <Options> ]
Draws a [[w:Contingency table| Contingency Table]]
+
Draws a [[w:Contingency table| Contingency Table]] created from the two given lists as described above. The text “Options” controls the display of optional calculations within the table.
 +
 
 +
: {{Note| 1=Possible values are "|", "_", "+", "e", "k".
 +
:* "|" = show column percentages
 +
:* "_" = show row percentages
 +
:* "+" = show total percentages
 +
:* "e" = show expected counts
 +
:* "k" = show chiSquared contributions }}
 +
 
;ContingencyTable[ <List of Row Values>, <List of Column Values, <Frequency Table> ]
 
;ContingencyTable[ <List of Row Values>, <List of Column Values, <Frequency Table> ]
Draws a [[w:Contingency table| Contingency Table]]
+
Draws a [[w:Contingency table| Contingency Table]] using the given list of column values, row values and corresponding frequency table.
 
;ContingencyTable[ <List of Row Values>, <List of Column Values> <Frequency Table>, <Options> ]
 
;ContingencyTable[ <List of Row Values>, <List of Column Values> <Frequency Table>, <Options> ]
Draws a [[w:Contingency table| Contingency Table]]
+
Draws a [[w:Contingency table| Contingency Table]] using the given list of column values, row values and corresponding frequency table. The text “Options” controls the display of optional calculations within the table as described above.
 
 
Options is a string argument, parsed as follows:
 
'-' = show row percent
 
'|' = show column percent
 
'+' = show total percent
 
'e' = show expected counts
 
'k' = show chi square contribution
 

Revision as of 21:55, 11 September 2012




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: ", "_", "+", "e", "k".
  • "
ContingencyTable[ <List of Row Values>, <List of Column Values, <Frequency Table> ]

Draws a Contingency Table using the given list of column values, row values and corresponding frequency table.

ContingencyTable[ <List of Row Values>, <List of Column Values> <Frequency Table>, <Options> ]

Draws a Contingency Table using the given list of column values, row values and corresponding frequency table. The text “Options” controls the display of optional calculations within the table as described above.

© 2024 International GeoGebra Institute