2009 | OriginalPaper | Buchkapitel
Contingency Tables and the Chi-Square Test
verfasst von : Richard M. Heiberger, Erich Neuwirth
Erschienen in: R Through Excel
Verlag: Springer New York
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Contingency tables are designed to study relationships between two categorical variables or factors. A contingency table has rows and columns labeled with the levels of two factors. The (row
i
–column
j
) cell in the table gives the number of observations in the dataset whose value on the first factor is level
i
and whose value on the second factor is level
j
. For example, if we have a group of people of both genders, with some smokers and some nonsmokers, we can ask the question, is the percentage of smokers essentially the same for both genders or, equivalently, does the data indicate that there is a significant difference in percentage of smokers?