H0: the 2 categorical variables are independent
HA: the 2 categorical variables are dependent. (So, actually testing for dependence.)
doctors Vs nurses preference for new/old procedure The variables are profession and preference. new old indifferent docs 100 80 20 nurses 50 120 30 Do the professions feel the same or differently about the new procedure? i.e. does profession make a difference? Is opinion is related to profession? 3 hospitals. 3 types of infections. Is number of infections related to hospital where occurred? The variables are hospital and infection type. infectionA infectionB infectionC 41 27 51 36 3 40 169 106 109 Is there a relationship between gender and alcohol consumption? Male vs Female. Low Moderate High 10 9 8 13 16 12 unvax vaxed autism 25 64 no aut 362 1427 M F smoke 14 11 no smok 17 19 color of helmet B W Y injured/not 231 112 8 491 377 31 dog right/wrong rows, malaria/not cols 123 131 52 14 handedness of parent (father/mother) rows, handedness of offspring (left/right) cols rt/rt rt/lft lft/rt lft/lft 5360 50928 767 2736 741 3667 94 289 NFL coin flip 252 59 208 52 home games 127 53 50 57 71 47 43 42 tornados 3 months, 4 years 48 33 3 0 12 10 9 18 113 62 50 43 relationship between month and year?