Stat 217 – Day 24 Analysis of Variance Have yesterday’s handout handy.

Slides:



Advertisements
Similar presentations
Four girls soccer teams took a random sample of players regarding the number of goals scored per game. The results are below. Use a significance level.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
CHAPTER 23: Two Categorical Variables The Chi-Square Test ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
Chapter 13: Inference for Distributions of Categorical Data
The Two Factor ANOVA © 2010 Pearson Prentice Hall. All rights reserved.
© 2010 Pearson Prentice Hall. All rights reserved Single Factor ANOVA.
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
CHAPTER 11 Inference for Distributions of Categorical Data
Independent Sample T-test Formula
Statistics II: An Overview of Statistics. Outline for Statistics II Lecture: SPSS Syntax – Some examples. Normal Distribution Curve. Sampling Distribution.
Stat 512 – Lecture 14 Analysis of Variance (Ch. 12)
Part I – MULTIVARIATE ANALYSIS
Stat 512 – Lecture 18 Multiple Regression (Ch. 11)
Chapter 7 Analysis of ariance Variation Inherent or Natural Variation Due to the cumulative effect of many small unavoidable causes. Also referred to.
Lecture 14 – Thurs, Oct 23 Multiple Comparisons (Sections 6.3, 6.4). Next time: Simple linear regression (Sections )
Statistics Are Fun! Analysis of Variance
Stat 512 – Lecture 12 Two sample comparisons (Ch. 7) Experiments revisited.
Stat 217 – Day 27 Chi-square tests (Topic 25). The Plan Exam 2 returned at end of class today  Mean.80 (36/45)  Solutions with commentary online  Discuss.
Two Groups Too Many? Try Analysis of Variance (ANOVA)
Stat 512 – Lecture 13 Chi-Square Analysis (Ch. 8).
Stat 217 – Day 25 Regression. Last Time - ANOVA When?  Comparing 2 or means (one categorical and one quantitative variable) Research question  Null.
Stat 512 – Day 8 Tests of Significance (Ch. 6). Last Time Use random sampling to eliminate sampling errors Use caution to reduce nonsampling errors Use.
Analysis of Variance & Multivariate Analysis of Variance
The Chi-Square Distribution 1. The student will be able to  Perform a Goodness of Fit hypothesis test  Perform a Test of Independence hypothesis test.
STAT 3130 Statistical Methods I Session 2 One Way Analysis of Variance (ANOVA)
Hypothesis testing – mean differences between populations
QNT 531 Advanced Problems in Statistics and Research Methods
Chapter 9 Comparing More than Two Means. Review of Simulation-Based Tests  One proportion:  We created a null distribution by flipping a coin, rolling.
More About Significance Tests
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
One-Factor Analysis of Variance A method to compare two or more (normal) population means.
ANOVA (Analysis of Variance) by Aziza Munir
One-Way Analysis of Variance … to compare 2 or population means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
Statistics for the Social Sciences Psychology 340 Fall 2012 Analysis of Variance (ANOVA)
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
Chapter 11 The Chi-Square Test of Association/Independence Target Goal: I can perform a chi-square test for association/independence to determine whether.
FPP 28 Chi-square test. More types of inference for nominal variables Nominal data is categorical with more than two categories Compare observed frequencies.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Chapter Seventeen. Figure 17.1 Relationship of Hypothesis Testing Related to Differences to the Previous Chapter and the Marketing Research Process Focus.
Three Broad Purposes of Quantitative Research 1. Description 2. Theory Testing 3. Theory Generation.
to accompany Introduction to Business Statistics
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
CHAPTER 27: One-Way Analysis of Variance: Comparing Several Means
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
1.  What inferential statistics does best is allow decisions to be made about populations based on the information about samples.  One of the most useful.
DICE!  You are going to make your own and then we are going to test them (later) to see if they are fair!
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview and One-Way ANOVA.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
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.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Oneway ANOVA comparing 3 or more means. Overall Purpose A Oneway ANOVA is used to compare three or more average scores. A Oneway ANOVA is used to compare.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8… Where we are going… Significance Tests!! –Ch 9 Tests about a population proportion –Ch 9Tests.
Textbook Section * We already know how to compare two proportions for two populations/groups. * What if we want to compare the distributions of.
The 2 nd to last topic this year!!.  ANOVA Testing is similar to a “two sample t- test except” that it compares more than two samples to one another.
Basic Practice of Statistics - 5th Edition
Statistics.
Week 11 Chapter 17. Testing Hypotheses about Proportions
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 13: Inference for Distributions of Categorical Data
Presentation transcript:

Stat 217 – Day 24 Analysis of Variance Have yesterday’s handout handy

Last Time – Chi-square Tests When?  Two categorical variables (comparing several population proportions) Research question  Null hypothesis:  1 =  2 = … =  I (no association between the two variables)  Alternative hypothesis: at least one  differs (there is an association between the two variables)

How?  Compare observed counts to expected counts (under the null hypothesis)  Compare test statistic to “chi-square” distribution, p-value  Output: observed counts, expected counts, cell contributions, test statistic, p-value Technical conditions:  Randomness: random sampling or random assignment  Sample size: all expected counts > 5

Activity 25-3 (e)-(g) Can apply to randomized experiment as well Ho: The population proportions of potential customers who would leave a tip (or the probability is the same regardless of the type of card they receive) No association between type of card and whether or not tip Ha: not the same (is an association) Conclusion: Is significant evidence (.007 <.05) that the type of card affects the likelihood of someone receiving a tip, at least for this waitress, this coffee bar

Follow-up Analysis Observed more tips with the joke card than expected and fewer tips with the ad than expected Left tip Didn’t leave tip

Activity 25-2 (p. 511) What if have a non-binary response variable? Same thing! (a) Ho: the population distributions of happiness were the same all three years no association between happiness level and year Ha: the population distributions were not the same (is an association) (b) X 2 = (df = 4), p-value =.000 (c) Strong evidence of a change in at least one of these population distributions

Activity 25-2 Where are the differences (descriptively)? Fewer “not too happy” in 1998 than expected. More “not too happy” in 1972 than expected.

Activity 25-4 (b) Data collection: one sample, both variables recorded simultaneously (not independent random samples or randomized experiment) Ho: no association between happiness level and political inclination in population Ha: is an association Same analysis!

Activity 25-4 Conclusion We have strong evidence (p-value =.001 <.05) that there is a relationship between political inclination and happiness level in the population of adult Americans.

Example: Disability Employment Researchers conducted a study in the 1980s that examined whether physical handicaps affect people’s perceptions of employment qualifications. They randomly assigned 70 undergraduates to watch a videotaped job interview and to rate the candidate’s qualifications on a 1-10 scale. The videos used the same actors and script each time but the job applicant appeared with different handicaps: no disability, leg amputation, crutches, hearing impairment, and wheelchair confinement. TIA

Example (a) 70 undergraduate students EV: type of disability RV: job rating one quantitative and one categorical

Example Let  1 represent the average employment rating by the “population” of students watching the “no disability” video. Similarly for  2,  3,  4, and  5 Ho:  1 =  2 =  3 =  4 =  5 (no disability effect) no relationship between type of disability and employment rating Ha: not all means equal (a disability effect)

Discussion of descriptive statistics For these 70 students, appeared to be some differences in how rated individuals with different disabilities. The average rating for crutches was highest (5.92), hearing the lowest (4.05), but also a fair bit of overlap between the distributions. Distributions are reasonably symmetric with similar spread without any visual outliers.

Example (with 3 groups…) Not significant Significant

Test Statistic Need a way to compare the variability between the groups while taking into account the expected “natural variation” Do the sample means differ more than we would expect “by chance”? “F statistic”  Numerator – compares 5 means to overall mean  Denominator – an “average” standard deviation  More details in “topic 33” online

Minitab One-way ANOVA: SCORE versus DISABILITY Source DF SS MS F P DISABILITY Error Total Small p-value, so we reject the null hypothesis and conclude that there is a difference, on average, in employment ratings given across disability types  Cause and effect…  Applies to population of undergraduate students? Variation between disability groups Variability within disability groups, “s 2” s=5.23… ratio

Technical conditions 1) Independent SRSs from each population or randomized comparative experiment 2) Each population follows a normal distribution 3) Each population has the same standard deviation 1.794/1.482 < 2

To Turn in with one partner  Your answer to (g) of Example 1 as well as Example 2 For Wednesday  Read about technical conditions, answer (h) and (i) on handout, read about ANOVA/chi-square parallels