Business 205
Review Correlation MS5
Preview Chi-Square
Types of Tests Parametric Tests Assume normal and homogeneity of variance Require parameters Z-test, T-test, 2-Group T, ANOVA Non-parametric Tests Few (if any) assumptions about the population distribution Rarely state a hypotheses in terms of a specific parameter Chi-Square
Tests for “goodness of fit” Looks at sample data to test hypothesis about the shape or proportions of a population distribution How well does the sample proportions fit the population proportions?
Chi-Square Hypotheses Regular Hypothesis Specifies preferences Specifies differences in population Null Hypothesis Specifies no preferences Specifies no difference in population ABC ≠ 1/3 ABC 1/3
One-Sample Chi-Square χ2 Compares the goodness of fit of the data to that of the null hypothesis Compares observed frequencies against expected frequencies Looks at the difference between 1 IV with multiple levels
Observed Frequencies Number of individuals from the sample who are classified in a particular category How many times it occurs
Expected Scores/Frequencies The frequency value that is predicted from the null hypothesis and the sample size.
One-Sample Chi-Square
1 Sample Chi-Square Example StudentObserved Scores
Fill out the chart Observed Scores (O) Expected Scores (E) O - E(O - E) 2 E
Chi-Square Chi-Square = ( ) = Critical Chi-Square value at an alpha of.05 is Accept that your sample is not from the population because is larger than 3.84.
Two Sample Chi-Square Test Chi-Square Test for Independence 2 Factors Many levels Tests whether or not there is a relationship between 2 variables
Two Sample Chi-Square Test Chi-Square Test for Independence df = (number of rows - 1)(number of columns - 1)
Two Sample Chi-Square Test Chi-Square Test for Independence Three different drug treatments are used to control hypertension. At the end of treatment, the investigator classifies patients as having either a favorable or unfavorable response to the medication. Your hypothesis is that there is a different between treatments.
Two Sample Chi-Square Test Chi-Square Test for Independence Treatment 1Treatment 2Treatment 3Total in rows Favorable Unfavorable Total in columnsN = ) Total up each column 2.) Total up each row 3.) Find the expected score for each cell
Two Sample Chi-Square Test Chi-Square Test for Independence Treatment 1Treatment 2Treatment 3Total in rows Favorable70 (E = 79.6) 160 (E = 159.2) 168 (E = 159.2) 398 Unfavorable30 (E = 20.4) 40 (E = 40.8) 32 (E = 40.8) 102 Total in columns N = 500
Two Sample Chi-Square Test Chi-Square Test for Independence ObservedExpectedO-E(O- E) 2 (O- E) 2 /E 70(398)(100)/500 = (102)(100)/500 = (398)(200)/500 = (102)(200)/500 = (398)(200)/500 = (102)(200)/500 =
Two Sample Chi-Square Test Chi-Square Test for Independence Chi-Square = ( ) = 8.02 Critical value for an alpha of.05 and at 2 df = 5.99 Ours falls above the critical region so we can accept the hypothesis and say that the treatments differ.
Reporting findings Chi-Square Test for Independence The chi-square value is in the critical region. Therefore, we can reject the null hypothesis. There is a relationship between drug treatments and responses towards medication (2, n =500) = 8.02, p <.05.
Chi-Square In Class Example Hotel 1Hotel 2Hotel 3Total in rows Favorable Unfavorable Total in columns N = H1: There is a difference between hotels.
Excel: Chi-Square DO NOT USE: CHIDIST( ) Only returns a probability For Single Chi-Squares, you must program that in by hand CHITEST( ) Only returns a probability For a test of independence (2 sample) you must program that in by hand