Chi Square: A nonparametric hypothesis test - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Chi Square: A nonparametric hypothesis test

Description:

Chi-square test for goodness of fit. single variable. Chi-square test for independence ... C2 Test for Goodness of Fit. Test about proportions (p) in ... – PowerPoint PPT presentation

Number of Views:119
Avg rating:3.0/5.0
Slides: 17
Provided by: mikeb80
Category:

less

Transcript and Presenter's Notes

Title: Chi Square: A nonparametric hypothesis test


1
Chi SquareA nonparametric hypothesis test
  • Unit 12
  • Homework
  • Ch 16 1, 3, 7, 9, 13, 15, 17 (pp.500-503)

2
Finals Schedule
  • Section 1 (2 pm)
  • 11 am, Thursday, Dec 14
  • Section 2 (3 pm)
  • 2 pm, Thursday, Dec 14

3
Parametric vs. Nonparametric Tests
  • Parametric hypothesis test
  • about population parameter (m or s2)
  • z, t, F tests
  • interval/ratio data
  • Nonparametric tests
  • do not test a specific parameter
  • nominal ordinal data
  • frequency data

4
Chi-square (C2)
  • Nonparametric tests
  • same 4 steps as parametric tests
  • Chi-square test for goodness of fit
  • single variable
  • Chi-square test for independence
  • two variables
  • Same formula for both
  • degrees of freedom different
  • fe calculated differently

5
Assumptions Restrictions
  • Independence of observations
  • any score may be counted in only 1 category
  • Size of expected frequencies
  • If fe lt 5 for any cell cannot use C2
  • More likely to make Type I error
  • Solution use larger sample

6
C2 Test for Goodness of Fit
  • Test about proportions (p) in distribution
  • 2 different forms of H0
  • No preference
  • category proportions are equal
  • No difference
  • from comparison population
  • e.g., student population
  • 55 female and 45 male?
  • H1 the proportions are different

7
Null Hypotheses C2
8
Sample Data ?2
  • Frequency
  • Expected frequency (fe)
  • fe pn
  • Observed frequency (fo)
  • S fo n
  • Degrees of freedomGoodness of fit
  • C-1
  • C number of cells (categories)
  • C2cv from table B.7, page A-34

9
(No Transcript)
10
Chi-square (C2)
11
Example
  • Classess favorite Coke or Pepsi?
  • H0 ?
  • ?2cv
  • ? .05
  • df

12
Coke or Pepsi?
13
C2 Test for Independence
  • 2 variables
  • are they related or independent
  • H0 also 2 forms
  • no relationship between variables
  • distribution of 1 variable is the same for the
    categories of other
  • Same formula as Goodness of Fit
  • different df

14
C2 Test for Independence
  • Differences from Goodness of Fit
  • df (R-1)(C-1)
  • R rows
  • C columns
  • Expected frequency for each cell

15
Example
  • Does watching violent TV programs cause children
    to be more aggressive on the playground?
  • Data frequency data
  • Violent program yes or no
  • Aggressive yes or no

16
C2 Test for Independence
Aggressive
Yes
No
Violent TV
Yes
No
Write a Comment
User Comments (0)
About PowerShow.com