TMA 4255 Applied statistics

Slides:



Advertisements
Similar presentations
Chapter 12 Chi-Square Tests and Nonparametric Tests
Advertisements

Chapter 12 Chi-Square Tests and Nonparametric Tests
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
© 2003 Prentice-Hall, Inc.Chap 11-1 Analysis of Variance IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION Dr. Xueping Li University of Tennessee.
Analysis of variance Petter Mostad Comparing more than two groups Up to now we have studied situations with –One observation per object One.
Data Analysis for Two-Way Tables. The Basics Two-way table of counts Organizes data about 2 categorical variables Row variables run across the table Column.
1 Always be mindful of the kindness and not the faults of others.
The Practice of Statistics Third Edition Chapter (13.1) 14.1: Chi-square Test for Goodness of Fit Copyright © 2008 by W. H. Freeman & Company Daniel S.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
Chapter 4 Analysis of Variance
Copyright © 2016, 2013, 2010 Pearson Education, Inc. Chapter 10, Slide 1 Two-Sample Tests and One-Way ANOVA Chapter 10.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
ANOVA: Analysis of Variation
Chi Square Test Dr. Asif Rehman.
Check your understanding: p. 684
Chapter 11 Analysis of Variance
Test of independence: Contingency Table
ANOVA: Analysis of Variation
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Chapter 9: Non-parametric Tests
Presentation 12 Chi-Square test.
CHAPTER 11 Inference for Distributions of Categorical Data
Statistics for Managers Using Microsoft Excel 3rd Edition
Introduction The two-sample z procedures of Chapter 10 allow us to compare the proportions of successes in two populations or for two treatments. What.
An Introduction to Two-Way ANOVA
i) Two way ANOVA without replication
Comparing Three or More Means
Active Learning Lecture Slides
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Statistics for the Social Sciences
Y - Tests Type Based on Response and Measure Variable Data
Nonparametric Statistical Methods: Overview and Examples
Chapter 5 Introduction to Factorial Designs
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Data Analysis for Two-Way Tables
SA3202 Statistical Methods for Social Sciences
Nonparametric Statistical Methods: Overview and Examples
Comparing Three or More Means
Chapter 11 Analysis of Variance
Nonparametric Statistical Methods: Overview and Examples
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Nonparametric Statistical Methods: Overview and Examples
Nonparametric Statistical Methods: Overview and Examples
CHAPTER 11 Inference for Distributions of Categorical Data
Contingency Tables: Independence and Homogeneity
Two-way analysis of variance (ANOVA)
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 13: Inference for Distributions of Categorical Data
Goodness of Fit.
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 26 Comparing Counts.
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Marketing Research and Consumer Behavior Insights
CHAPTER 11 Inference for Distributions of Categorical Data
Analysis of Variance Objective
Chapter 14.1 Goodness of Fit Test.
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 15 Analysis of Variance
CHAPTER 11 Inference for Distributions of Categorical Data
Lecture 46 Section 14.5 Wed, Apr 13, 2005
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

TMA 4255 Applied statistics Spring 2010 Part 2

One-Way ANOVA

General setup – One-Way ANOVA

MINITAB analysis of Table 3.1

(MINITAB analysis of Table 13.1)

(Used in MINITAB)

13.9 Randomized Complete Block Designs

Model with interactions between treatment and block:

Degrees of freedom:

Example 9 It is assumed that the maximal voltage of a storing battery depends on the material used in the plates of the battery, and of the temperature in the room where the battery is stored. To investigate this one takes four replicates for each of three materials and three temperatures.

13.12 Random Effects Model

s

MINITAB (Example 13.8)

Control Charts

Control Charts for Defects (Poisson)

Chi-square testing of model H0: Data are from N(75,10^2) n=60 Expected 4.0 5.5 9.0 11.5 11.5 9.0 9.5 Observed 7 11 16 7 8 5 6 Chi-square statistic: 19.1 Distribution under H0: Chi-Sq with df=7-1=6. Crit.value 5%: 12.59 P-value: P(Chi-Sq6 > 19.1) = 0.004

H0: Data are normally distributed Estimated mean: 71.4, estimated st.dev. 10.7 Expected 8.6 7.9 10.4 11.0 9.4 6.6 6.1 Observed 7 11 16 7 8 5 6 Chi-square statistic: 6.6 Distribution under H0: Chi-Sq with df=7-1-2=4. Crit.value 5%: 9.49 P-value: P(Chi-Sq4 > 6.6) = 0.16

10.15 Test for independence Eye color: 1=blue, 2=brown Hair color: light blond, dark blond, dark MINITAB: Chi-Square Test: l.blond; d.blond; dark Expected counts are printed below observed counts Chi-Square contributions are printed below expected counts l.blond d.blond dark Total 1 29 12 7 48 23,40 14,40 10,20 1,340 0,400 1,004 2 10 12 10 32 15,60 9,60 6,80 2,010 0,600 1,506 Total 39 24 17 80 Chi-Sq = 6,860; DF = 2; P-Value = 0,032

10.16 Test for homogeneity Blood types: A, B, AB, O Populations: 1, 2, 3 MINITAB: Chi-Square Test: A; B; AB; O Expected counts are printed below observed counts Chi-Square contributions are printed below expected counts A B AB O Total 1 176 41 19 164 400 192,00 37,14 16,57 154,29 1,333 0,401 0,356 0,612 2 112 16 6 66 200 96,00 18,57 8,29 77,14 2,667 0,356 0,631 1,610 3 48 8 4 40 100 48,00 9,29 4,14 38,57 0,000 0,178 0,005 0,053 Total 336 65 29 270 700 Chi-Sq = 8,200; DF = 6; P-Value = 0,224 1 cells with expected counts less than 5.

From Gunnar Løvås: Statistikk for universiteter og høgskoler From Gunnar Løvås: Statistikk for universiteter og høgskoler. Universitetsforlaget. Simpson’s paradox Sometimes the results of a statistical investigation may be misleading if an important variable is overlooked or ignored. This is called Simpson’s Paradox. Here is an example: Example 258: A questionnaire about car damage has been sent to car Drivers. The results could have been reported like this: Damage No damage Total Man 233 323 556 Woman 87 194 281 Total 320 517 837 Thus: A proportion 233/556 = 0.42 had car damage, while for women this was 87/281 = 0.31. Does this mean that women are better drivers than men?

Solution: A further study of the questionnaire reveal that a further categorization can be made, namely the size of the cars. Then we could present the results as: Big cars Small cars Damage No damage Total Damage No damage Total Man 150 35 185 83 288 371 Woman 16 2 18 71 192 263 Total 166 37 203 154 480 634 Now things have changed: Big cars: 100*16/18 = 88% of women have damage, and 100*150/185=81% for men. Small cars: 100*71/263= 27% for women; 100*83/371 = 22% for men So women have more damage for both small and big cars! How does this relate to the result on the previous slide?

Nonparametric statistics: Sign test Example 1: Ratio height/length for 8 rectangular leather items found at Shoshoni indians. Will test H0: Golden ratio vs. H1: Not golden ratio, i.e. H0: median = 0.6180 vs H1: median not equal to 0.6180 MINITAB: Sign Test for Median: h/l Sign test of median = 0,6180 versus not = 0,6180 N Below Equal Above P Median h/l 8 2 0 6 0,2891 0,6670

Nonparametric statistics: Wilcoxon signed-rank test Example 1: Ratio height/length for 8 rectangular leather items: Will test H0: Golden ratio vs. H1: Not golden ratio, i.e. H0: median = 0.6180 vs H1: median not equal to 0.6180 MINITAB: Wilcoxon Signed Rank Test: h/l Test of median = 0,6180 versus median not = 0,6180 N for Wilcoxon Estimated N Test Statistic P Median h/l 8 8 30,0 0,107 0,6600

Example 2: Fuel economy (km per liter for two types of tires)

Wilcoxon’s rank-sum test: Comparison of nicotine content in two cigarette types A, B

Normal plots for each of the two cases