CLASS 6 CLASS 7 Tutorial 2 (EXCEL version)

Slides:



Advertisements
Similar presentations
STATISTICAL ANALYSIS. Your introduction to statistics should not be like drinking water from a fire hose!!
Advertisements

Chapter 18: The Chi-Square Statistic
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Quantitative Methods Part 3 Chi - Squared Statistic.
2  How to compare the difference on >2 groups on one or more variables  If it is only one variable, we could compare three groups with multiple ttests:
Chi square.  Non-parametric test that’s useful when your sample violates the assumptions about normality required by other tests ◦ All other tests we’ve.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
S519: Evaluation of Information Systems
PSY 307 – Statistics for the Behavioral Sciences
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
1 Nominal Data Greg C Elvers. 2 Parametric Statistics The inferential statistics that we have discussed, such as t and ANOVA, are parametric statistics.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
AM Recitation 2/10/11.
Part IV Significantly Different: Using Inferential Statistics
Research Methods for Counselors COUN 597 University of Saint Joseph Class # 9 Copyright © 2014 by R. Halstead. All rights reserved.
T-Tests and Chi2 Does your sample data reflect the population from which it is drawn from?
Phi Coefficient Example A researcher wishes to determine if a significant relationship exists between the gender of the worker and if they experience pain.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Which Test Do I Use? Statistics for Two Group Experiments The Chi Square Test The t Test Analyzing Multiple Groups and Factorial Experiments Analysis of.
Tests of Significance June 11, 2008 Ivan Katchanovski, Ph.D. POL 242Y-Y.
Chi-square (χ 2 ) Fenster Chi-Square Chi-Square χ 2 Chi-Square χ 2 Tests of Statistical Significance for Nominal Level Data (Note: can also be used for.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Quantitative Methods Partly based on materials by Sherry O’Sullivan Part 3 Chi - Squared Statistic.
Chapter 16 The Chi-Square Statistic
The Logic of Statistical Significance & Making Statistical Decisions
URBP 204A QUANTITATIVE METHODS I Statistical Analysis Lecture IV Gregory Newmark San Jose State University (This lecture is based on Chapters 5,12,13,
Chi-Square X 2. Parking lot exercise Graph the distribution of car values for each parking lot Fill in the frequency and percentage tables.
CLASS 5 Normal Distribution Hypothesis Testing Test between means of related groups Test between means of different groups Analysis of Variance (ANOVA)
URBP 204 A Class 9 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15 CLASS 7 Remaining Tutorial 2; SPSS file for FWBT 2008 Survey Factorial.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
CHI SQUARE TESTS.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
1 Analysis of Variance (ANOVA) Educational Technology 690.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
Non-parametric Tests e.g., Chi-Square. When to use various statistics n Parametric n Interval or ratio data n Name parametric tests we covered Tuesday.
© Copyright McGraw-Hill 2004
Week 13a Making Inferences, Part III t and chi-square tests.
Making Comparisons All hypothesis testing follows a common logic of comparison Null hypothesis and alternative hypothesis – mutually exclusive – exhaustive.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Chi Square & Correlation
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chapter 13 Understanding research results: statistical inference.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 15: Chi-square.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Introduction to Marketing Research
Chapter 9: Non-parametric Tests
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Part Four ANALYSIS AND PRESENTATION OF DATA
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
Hypothesis Testing Review
Qualitative data – tests of association
The Chi-Square Distribution and Test for Independence
Is a persons’ size related to if they were bullied
Last class Tutorial 1 Census Overview
Part IV Significantly Different Using Inferential Statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Statistical Analysis Chi-Square.
Inferential Stat Week 13.
URBP 204 A Class 6 CLASS 5 Test between means of related groups
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE
Parametric versus Nonparametric (Chi-square)
Chapter 18: The Chi-Square Statistic
Chapter Outline Goodness of Fit test Test of Independence.
CHI SQUARE (χ2) Dangerous Curves Ahead!.
Presentation transcript:

CLASS 6 CLASS 7 Tutorial 2 (EXCEL version) URBP 204 A Class 6 CLASS 6 Tutorial 2 (EXCEL version) Term Project Introduction – survey area; survey data file; variable definition file; instruction sheets (for the term project, and term project analysis report) Give Back Exercise Set 1 CLASS 7 Remaining Tutorial 2; SPSS file for FWBT 2008 Survey Factorial ANOVA Chi Square test One sample/way Two factor/way Correlation Coefficient Introduce Ex Set 2 Tutorial 3 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Factorial ANOVA Source: Salkind, pg. 215 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Education level – low education and high education Factorial ANOVA More than 2 factors (independent variables) Education level – low education and high education Gender – male and female 4 groups Low educated male Low educated female High educated female High educated male Dependent variable - minutes biked per day (ratio level variable / continuous variable) Test effect of main independent variables + the interaction term Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Steps for testing 1. Statement of null and research hypothesis H0: Цloweduc = Цhigheduc H0: Цmale = Цfemale H0: Цloweduc X male = Цhigheduc x male = Цhigheduc x female = Цloweduc x female H1: Xloweduc = Xhigheduc H1: Xmale = Xfemale H1: X loweduc X male = X higheduc x male = X higheduc x female = X loweduc x female 2. Set level of risk Level of risk of type I error = 5%, or level of significance = 0.05 3. Selection of appropriate test statistic Choose Factorial ANOVA Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

4. Compute the F statistic (Obtained Value) Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

5. Determination of the value needed for rejection of null hypothesis (critical value) See table B3, pg. 361-363 Critical value = 3.99 (see Salkind, p.363) 6. Comparison of obtained and critical value Obtained value more extreme than the critical value (F= 111.115, 43.211, and 11.24, are all greater than 3.99) 7. Decision Reject all the three null hypotheses (null hypotheses - there is NO difference between the mean of groups) Probability is less than 5% on any one test of the null hypothesis that the difference between the mean of groups is due to chance alone. Df for numerator: Number of factors-1 = 2-1 =1 Df for denominator: No of observations- no if groups = 68-4 = 64 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Correlation How the value of one variable changes if the value of the other variable changes. For example, correlation between: Distance from city center and housing price Both variables need to be ratio or interval level. Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Correlation Coefficient Q: How do we know of the correlation is statistically significant? A: Test for significance of the correlation coefficient Source: Salkind, p 230 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Steps for testing 1. Statement of null and research hypothesis H0: ρxy = 0 No relationship between variables x and y H1: rxy = 0 There is relationship between variables. 2. Set level of risk Level of risk of type I error = 5%, or level of significance = 0.05 3. Selection of appropriate test statistic Choose t-test for the significance of the correlation coefficient Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Coefficient of correlation 4. Obtained value For relationship between Density and distance , r = - 0.74 Density and price, r = 0.81 Distance and price, r = - 0.98 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

5. Determination of the value needed for rejection of null hypothesis (critical value) See table B4, pg. 365 Critical value = 0. 35 (see Salkind, p.363) 6. Comparison of obtained and critical value Obtained value more extreme than the critical value for following relationships: Density and distance , r = - 0.74 Density and price, r = 0.81 Distance and price, r = - 0.98 7. Decision Reject the null hypothesis (null hypothesis - there is NO relationship between the variables). The relationship is not due to chance alone. Degree of freedom = n-2 = 30-2 = 28 Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Non parametric tests When assumption of normality does not hold (small sample size – less than 30 observations) Need ordinal or nominal level data. Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

One factor/sample chi square Is the distribution of frequencies what you would expect by chance alone? 1. Statement of null and research hypothesis Proportion of occurrence under each category is equal. H1: Proportion of occurrence under each category is not equal. 2. Set level of risk Level of risk of type I error = 5%, or level of significance = 0.05 3. Selection of appropriate test statistic Choose chi square test H0: P1 = P2 = P3 = P4 = P5 P1 = P2 = P3 = P4 = P5

4. Obtained value Note: Should have minimum of 5 observations under each category Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

5. Determination of the value needed for rejection of null hypothesis (critical value) See table B5, pg. 367 Critical value = 9.49 (see Salkind, p.363) 6. Comparison of obtained and critical value Obtained value more extreme than the critical value 7. Decision Reject the null hypothesis (null hypothesis - that the distribution of frequencies is equal). Degrees of freedom = number of categories of data – 1 = 5-1 = 4

Two factor/way chi square Explore relationships when both the dependent and the independent variables are nominal or ordinal level, that is “Categorical data” Does the respondents’ age affect their perception about the condition of street lighting? 1. Statement of null and research hypothesis Proportion of occurrence under each category is equal. H1: Proportion of occurrence under each category is not equal. 2. Set level of risk Level of risk of type I error = 5%, or level of significance = 0.05 3. Selection of appropriate test statistic Choose chi square test H0: P1 = P2 = P3 = P4 P1 = P2 = P3 = P4

4. Obtained value Expected Frequency Table Observed Frequency Table Note: Should have minimum of 5 observations under each category Expected Frequency Table Observed Frequency Table 9.75 = (26 x 15) / 40 16.25 = (26 x 25) / 40 5.25 = (14 x 15) / 40 8.75 = (14 x 25) / 40 λ2 = (6-9.75)2 / 9.75 + (20-16.25)2 /16.25 + (5.25-9)2 /5.25 + (8.75-5)2 /8.75 = 6.59

URBP 204 A Class 6 5. Determination of the value needed for rejection of null hypothesis (critical value) See table B5, pg. 367 Critical value = 3.84 (see Salkind, p.363) 6. Comparison of obtained and critical value Obtained value more extreme than the critical value 7. Decision Reject the null hypothesis (null hypothesis - that the distribution of frequencies is equal). Degrees of freedom = (row-1) x (column -1) = (2-1) x (2-1) = 1 x 1 = 1