Docsity

Understanding Bivariate Tables & Chi Square Distribution in Hypothesis Testing, Slides of Statistics for Psychologists

Partial preview of the text

Download Understanding Bivariate Tables & Chi Square Distribution in Hypothesis Testing and more Slides Statistics for Psychologists in PDF only on Docsity!

Chapter 11

(10 in 2

nd

Can. Ed.)

Hypothesis Testing Using the Chi Square (χ

) Distribution

Outline:

  • The basic logic of Chi Square.
  • The terminology used with bivariate tables.
  • The computation of Chi Square with an example problem using the Five Step Model

Bivariate Tables:

  • Must have a title.
  • Cells are intersections of columns and rows.
  • Subtotals are called marginals.
  • N is reported at the intersection of row and column marginals.

Tables (cont.)

  • Columns are scores of the independent variable. - There will be as many columns as there are scores on the independent variable.
  • Rows are scores of the dependent variable.
    • There will be as many rows as there are scores on the dependent variable.

What your table should look like:

Title Rows Columns  Total Row 1 cell a cell b Row Marginal 1 Row 2 cell c cell d Row Marginal 2 Total Column Marginal 1 Column Marginal 2

N

The Chi Square Distribution

  • The chi square distribution is asymmetric and its values are always positive (Appendix C, Healey, p. 498). Degrees of freedom are based on the table and are calculated as (rows-1)X(columns-1).

Solution Using 5-Step Method Step 1 Make Assumptions and Meet Test Requirements

  • Independent random samples
  • Level of measurement is nominal
  • Note that no assumption is made about the shape of the sampling distribution. When the distribution is normal, a parametric test (Z- or t-test, ANOVA) can be used.
  • The chi square test is non-parametric. It can be used when normality is not assumed.

Step 2 State the Null and Alternate Hypothesis

  • H

: The variables are independent

  • You can also say: H 0 : f o = f e
  • H 1 : The variables are dependent
  • Or: H 1 : f o ≠ f e

Step 4 Calculate the Test Statistic

• Formula:

2

(obtained) =

Method:

  1. Find expected frequencies for each cell.
  2. Complete computational table to find χ 2 (obtained)

e o e

f

f f

2

  1. Find expected frequencies for each cell.
  • To find f
e

=

  • Multiply column and row marginals for each cell and divide by N. - (1312)/25 = 156/25 = 6. - (1313)/25 = 169/25 = 6. - (1212)/25 = 144/25 = 5. - (1213)/25 = 156/25 = 6. N row marginal×column marginal

2. Complete Computational Table

  • A table like this will help organize the computations:
  • (a) Add values for f o and f e for each cell to table. f (^) o f (^) e f (^) o - f (^) e (f (^) o - f (^) e) 2 (f (^) o - f (^) e) 2 /f (^) e 8 6. 5 6. 4 5. 8 6. Total 25 25

Computational Table (cont.)

  • (b) Subtract each f e from each f o . The total of this column must be zero. f (^) o f (^) e f (^) o - f (^) e (f (^) o - f (^) e) 2 (f (^) o - f (^) e) 2 /f (^) e 8 6.24 1. 5 6.76 -1. 4 5.76 -1. 8 6.24 1. Total 25 25 0

Computational Table (cont.)

  • (d) Divide each of the squared values by the fe for that cell.
  • (e) The sum of this column is chi square.
  • χ 2 (obtained) = 2. f (^) o f (^) e f (^) o - f (^) e (f (^) o - f (^) e) 2 (f (^) o - f (^) e) 2 /f (^) e 8 6.24 1.76 3.10. 5 6.76 -1.76 3.10. 4 5.76 -1.76 3.10. 8 6.24 1.76 3.10. Total 25 25 0 χ 2 = 2.

Step 5 Make a Decision and Interpret the Results of the Test

  • χ

(critical) = 3.

  • χ

(obtained) = 2.

  • The test statistic is not in the Critical Region. Fail to reject the H

.

  • There is no significant relationship between homicide rate and gun sales.