Difference between revisions of "ContingencyTable Command"

From GeoGebra Manual
Jump to: navigation, search
m (missing >)
m
Line 18: Line 18:
 
;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]] using the given list of row values, column values and corresponding frequency table.  
 
:Draws a [[w:Contingency table| Contingency Table]] using the given list of row values, column values and corresponding frequency table.  
 +
:{{example|1=<code><nowiki>ContingencyTable[ {"Males","Females"},{"Right-handed", "Left-handed"},{{43,9},{44,4}}]</nowiki></code> yields the corresponding Contingency 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]] 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.
 
:Draws a [[w:Contingency table| 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|1=<code><nowiki>ContingencyTable[ {"Males","Females"},{"Right-handed", "Left-handed"},{{43,9},{44,4}},"_"]</nowiki></code> yields the corresponding Contingency Table showing the row percentages.}}

Revision as of 14:13, 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