Chi Square Flashcards
what is a commonly used observational study?
exposure-disease studies
what does the contingency table record?
the frequency of each of the categories
if there are 2 categorical variables, what test are we running?
Chi square
if there are 2 continuous variables, what test are we running?
correlation/regression
if there is one categorical and one continuous variable, what tests can we run?
t test, WSR, MWU, ANOVA, KW, Friedman
what variable goes into the columns?
the disease (DV)
what variable goes into the rows?
the exposure (IV)
when data on 2 categorical characteristics are collected from one randomly selected sample, what test is run?
chi square
what is the key ? of interest with chi square test of independence?
the independence of 2 characteristics
t/f: contingency tables focus on the dependency/association bw column and row variables
true
what is another name for the test of independence?
test of association
a PT collected data from 200 randomly selected pts. pts were asked if they had a TKA in one leg within the last 10 years and if they had contra knee pain. she wants to determine if the TKA and contra knee pain are independent.
what test should be run?
what is the H0 and Ha?
chi square
H0: TKA and contra knee pain are independent/not associated
Ha: TKA and contra knee pain are associated/not independent
what are the hypothesis for chi square?
H0: 2 categorical characteristics are independent (no association)
Ha: 2 categorical characteristics are not independent (association)
are the hypotheses for chi square one or two sided?
two sided
how do we find X2? (don’t really need to know)
get the expected frequencies for each cell
calculate the o-e^2/e for each cell
add up the above values
if X2=6.048, df=1, p=0.014, what is the conclusion of the TKA example?
a chi square test of independence was performed to examine the association bw TKA and knee pain. results indicated that the association bw these variables was significant (X2(1)=6.048, p=0.014).
how do we report chi square percentages (also not sure that we need to know this)
18 of 25 (72%) of pts who received a TKA w/in the past 10 years were having contra knee pain
7 of 25 (28%) of pts who didn’t receive a TKA within the past 10 years were having contra knee pain
give % of people w/ the disease and w/ or w/o the exposure
how do we check validity of a chi square test?
check that all EXPECTED frequencies are greater than 5
if the validity check shows that some expected frequency/frequencies are less than 5, what should we do?
use the Fisher’s exact test values
are the hypotheses the same for larger contingency tables?
yes, they are still
H0: independent
Ha: not independent