chi-square testing 10/23/2012. readings chapter 7 tests of significance and measures of association...

44
Chi-Square Testing 10/23/2012

Upload: debra-webb

Post on 30-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Chi-Square Testing

10/23/2012

Page 2: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Readings• Chapter 7 Tests of Significance and Measures of

Association (Pollock) (pp. 155-169)

• Chapter 5 Making Controlled Comparisons (Pollock Workbook)

• Chapter 7 Chi-Square and Measures of Association (Pollock Workbook)

Page 3: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

OPPORTUNITIES TO DISCUSS COURSE CONTENT

Page 4: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Office Hours For the Week

• When– Thursday 8-12– Wednesday 11-1– And appointment

• The endorsement

Page 5: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Course Learning Objectives

• Students will learn the research methods commonly used in behavioral sciences and will be able to interpret and explain empirical data.

• Students will learn the basics of research design and be able to critically analyze the advantages and disadvantages of different types of design.

• As this course fulfills the Computational Skills portion of the University degree plan, students will achieve competency in conducting statistical data analysis using the SPSS software program.

Page 6: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

CHI-SQUAREA test of statistical significance

Page 7: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Why Hypothesis Testing

• To determine whether a relationship exists between two variables and did not arise by chance. (Statistical Significance)

• To measure the strength of the relationship between an independent and a dependent variable? (association)

Page 8: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Things about Chi-Square

• It is not a test of strength, just significance

• Chi-square is inflated by large samples

• It is a test that tries to disprove the null hypothesis.

• An insignificant chi-square means that no relationship exists.

Page 9: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Chi-Square is an up or down measure

• If our significance value is less than or equal to.05 table, we reject the null hypothesis- we have a relationship

• if our Chi-Square value from our test is greater than .05 we accept the null hypothesis and we have no relationship

Page 10: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

HOW TO DO IT IN SPSS

Page 11: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

An Easy One

• Dataset- NES 2008 • DV= Who08 • IV= Race

• Null- There is no relationship between Race and Vote in 2008

• Alternate- African Americans are More likely to Vote for Obama

Page 12: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

First Run A Cross TabClick on Statistics Click on Chi-

Square

Page 13: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

The Results

• What does the Chi-Square Tell us? • What is the Asymp. Sig here? • What do We Do with the null

hypothesis? • What is the Practical Significance

here?

Page 14: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Hard-Line Immigration Policy

• D.V. Immigration Policy

• I.V. Hispanic (dichotomous)

Page 15: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

The Results

• What does the Chi-Square Tell us? • What is the Asymp. Sig here? • What do We Do with the null

hypothesis? • What is the Practical Significance

here?

Page 16: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

What do we have Here?

Page 17: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

MEASURES OF ASSOCIATIONNominal Variables

Page 18: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Why Measures of Association

• Chi-Square only tests for significance

• It does not say how strongly the variables are related

• We Use a Measure of Association to Do this

Page 19: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

A measure of association is a single number that reflects the strength

of the relationship

Page 20: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Measures of association for Nominal Variables tell us:

• Strength of the Relationship

• The statistical significance of the relationship

• These go hand in hand

Page 21: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Measures of Association for Nominal Variables

Measure of Association Range Characteristics

Lambda 0 - 1.0may underestimate, but a PRE measure

Phi 0 - 1.0Use for a 2x2 table only and is Chi-square based

Cramer's V 0 - 1.0Chi-square based and the compliment to PHI.

Page 22: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

A value of 1.00 means a perfect relationship, a value of .000 means no relationship

Page 23: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Lambda• What kinds of variables

are needed for Lambda?

• Lambda ranges from 0 (no relation) to 1 (a perfect relationship)

• It measures how much better one can predict the value of each case on the DV if one knows the value of the IV

Page 24: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Interpreting Lambda

• .000 to .10 none

• .10-.20 weak

• .20-.30 moderate

• .30-.40 strong

• .40 and above- there is a very strong relationship

Page 25: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Reading Lambda in SPSS

• IN SPSS, LAMBDA GIVES YOU 3 DIFFERENT VALUES

• Symmetric- always ignore • Two measures of your dependent variable – always use the lambda associated with your

dependent variable. – If you place the dependent variable as the ROW

VARIABLE, this will be the middle value.

• Help from Rocky IV. And the video

Page 26: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

The one in the middle

The significance of the Lambda

Page 27: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Lambda as a PRE Measure

• Proportional Reduction in Error (PRE)

• this is defined as the improvement, expressed as a Percentage, in predicting a dependent variable due to knowledge of the independent variable.

• How well we can predict the dependent variable by knowing the independent variable?

Page 28: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Converting a Lambda to a Percent

• We take the value of our association measure • Multiply by 100% • this is our PRE value.

Page 29: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

SOME LAMBDA PRACTICE EXAMPLES

Page 30: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled
Page 31: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled
Page 32: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Problems with Lambda

• It fears a TYPE I error so it is very conservative

• Lambda can Underestimate relationships, even when there are significant chi-square values.

• If the modal category is even, Lambda is pretty useless.

Page 33: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

ALTERNATIVES TO LAMBDAPhi and Cramer’s V

Page 34: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Cramer’s V

• An alternative to Lambda

• Ranges from 0 -1.0

• Not a Pre Measure

Page 35: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Phi

• Measured similarly to Lambda

• You will use this with 2x2 tables only

Page 36: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

An Example

• Here we can say with a .369 Cramer's V, that we have a very strong relationship between our independent and dependent variables.

Page 37: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Phi And Cramer’s V

Interpreting them• .000 to .10 none

• .10-.15 weak

• .15-25 moderate

• .25.- 40 strong

• .40 and above- there is a very strong relationship

Limitations• Neither are PRE Measures

• They are both Chi-square based so large samples inflate it

Page 38: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Lambda Underestimating

Page 39: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

What the Cramer’s V Tells Us

• If the Modal category is hard to predict, Lambda falls flat

• What we see is a weak-to-moderate relationship here.

• Independents and Democrats are different

Page 40: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Lambda Underestimating Part II

D.V.- obama_win08 IV- Region

Page 41: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Lambda shows Nothing

We have a moderate relationship, but it is not significant (small sample)

Page 42: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

RUNNING LAMBDA, PHI AND CRAMER’S V

Page 43: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Easy to Do

• How to do it in SPSS • Analyze – Descriptive

• Cross-Tabs – Click on the Statistics

Tab • Highlight your nominal

variable statistics

– Choose continue

Page 44: Chi-Square Testing 10/23/2012. Readings Chapter 7 Tests of Significance and Measures of Association (Pollock) (pp. 155-169) Chapter 5 Making Controlled

Two Examples

Region and Cig TaxesRegion and Public Support for Gay Rights