URBP 204 A Class 6 CLASS 5 Test between means of related groups

Slides:



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

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.
Statistical Inference for Frequency Data Chapter 16.
Chapter 13: The Chi-Square Test
Chapter Seventeen HYPOTHESIS TESTING
PSY 307 – Statistics for the Behavioral Sciences
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
AM Recitation 2/10/11.
1 STATISTICAL HYPOTHESES AND THEIR VERIFICATION Kazimieras Pukėnas.
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.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
T-Tests and Chi2 Does your sample data reflect the population from which it is drawn from?
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
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.
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)
Statistics in Biology. Histogram Shows continuous data – Data within a particular range.
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.
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.
© Copyright McGraw-Hill 2004
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.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
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.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Last class Descriptive Statistics Excel and SPSS Tutorial (Tutorial 1) THIS CLASS Census Overview Normal Distribution Hypothesis Testing URBP 204 A Class.
Introduction to Marketing Research
Cross Tabulation with Chi Square
Other Chi-Square Tests
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
Part Three. Data Analysis
Difference Between Means Test (“t” statistic)
The Chi-Square Distribution and Test for Independence
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.
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE
Analyzing the Association Between Categorical Variables
Parametric versus Nonparametric (Chi-square)
Descriptive Statistics (Remaining)
Chapter 18: The Chi-Square Statistic
Chapter Outline Goodness of Fit test Test of Independence.
CLASS 6 CLASS 7 Tutorial 2 (EXCEL version)
CHI SQUARE (χ2) Dangerous Curves Ahead!.
Presentation transcript:

URBP 204 A Class 6 CLASS 5 Test between means of related groups Test between means of different groups Analysis of Variance (ANOVA) Tutorial 2 CLASS 6 Term Project Introduction – survey area; survey data file; variable definition file; instruction sheets (for the term project, and term project analysis report) Exercise Set 2 Introduction Give Back Exercise Set 1 Factorial ANOVA Tutorial 3 for Factorial ANOVA Chi Square test (Time Permitting) One sample/way Two factor/way Correlation Coefficient (Time Permitting) Note: the class notes summarize Salkind (2004) Chapters 12, 13 and 15

Five Wounds Brookwood Terrace Project One of 20 neighborhood areas identified in the City of San Jose’s Strong Neighborhood Initiative (SNI) FWBT Neighborhood Plan at: http://www.sanjoseca.gov/planning/sni/fivewounds/ Source: http://www.strongneighborhoods.org/strongneighborhoodareas.htm

Five Wounds Brookwood Terrace Project Coyote Creek to its West Lower Silver Creek to North Highway 280 to South Source: http://www.sanjoseca.gov/planning/sni/fivewounds/existing.pdf

Five Wounds Brookwood Terrace Project Population = 20,000 Hispanic – 73.5% (city avg. 32.8%) Asian/ Pacific Islander – 14.5% White/ Non- Hispanic – 7.6% Other – 5% HH Size = 3.5 (city avg. 3.1) Median age lower than the city’s median age of 33.7 years Income Median HH Income - $49,013 (city median HH Income - $73,804) Substantially less than the city median HH Income Education High School Diploma or less (Age greater or equal to 25 years) – 77.3% (city avg. 43.2%) Associate Degree – 18.4% (city avg. 31.5%) Bachelor’ Degree – 7.9% (city avg. 25.3%) Overall less educated than the city-wide population Source: Chapter 2. FWBT Neighborhood Plan.

Five Wounds Brookwood Terrace Project Diverse range of housing types Predominantly SF Source: Chapter 2. FWBT Neighborhood Plan.

Five Wounds Brookwood Terrace Project Census tract numbers 5014.00, 50515.01 and 5015.02 lie fully within the FWBT area while part of census tract number 5036.01 falls within the FWBT area. Source: Mike Reilly, Instructor URBP 179, Fall 2004

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