Chi-Square Test and Goodness-of-Fit Testing Ming-Tsung Hsu.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Hypothesis: It is an assumption of population parameter ( mean, proportion, variance) There are two types of hypothesis : 1) Simple hypothesis :A statistical.
Parametric/Nonparametric Tests. Chi-Square Test It is a technique through the use of which it is possible for all researchers to:  test the goodness.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Homogeneity.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Chapter Seventeen HYPOTHESIS TESTING
Statistics II: An Overview of Statistics. Outline for Statistics II Lecture: SPSS Syntax – Some examples. Normal Distribution Curve. Sampling Distribution.
CHI-SQUARE TEST OF INDEPENDENCE
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Overview of Lecture Parametric Analysis is used for
CHI-SQUARE GOODNESS OF FIT TEST u A nonparametric statistic u Nonparametric: u does not test a hypothesis about a population value (parameter) u requires.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
CHI-SQUARE GOODNESS OF FIT TEST What Are Nonparametric Statistics? What is the Purpose of the Chi-Square GOF? What Are the Assumptions? How Does it Work?
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
1 PARAMETRIC VERSUS NONPARAMETRIC STATISTICS Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
Choosing Statistical Procedures
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
AM Recitation 2/10/11.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Hypothesis Testing.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Chapter 13 Chi-squared hypothesis testing. Summary.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Hypothesis Testing for Variance and Standard Deviation
FOUNDATIONS OF NURSING RESEARCH Sixth Edition CHAPTER Copyright ©2012 by Pearson Education, Inc. All rights reserved. Foundations of Nursing Research,
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Elementary statistics for foresters Lecture 5 Socrates/Erasmus WAU Spring semester 2005/2006.
1 Chi-squared Test (1) H 0 : population follows distribution Divide the observations into k bins O i = observed frequency in i-th bin E i = expected frequency.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
10.5 Testing Claims about the Population Standard Deviation.
Inferential Statistics. Coin Flip How many heads in a row would it take to convince you the coin is unfair? 1? 10?
Chapter Outline Goodness of Fit test Test of Independence.
Analyzing Statistical Inferences July 30, Inferential Statistics? When? When you infer from a sample to a population Generalize sample results to.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Inferences Concerning Variances
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
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.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Chapter 8 Hypothesis Testing with Two Samples.
Data Analysis and Interpretation
Chapter 9: Hypothesis Tests Based on a Single Sample
CHAPTER 6 Statistical Inference & Hypothesis Testing
Elementary Statistics: Picturing The World
Statistical Inference for the Mean: t-test
Presentation transcript:

Chi-Square Test and Goodness-of-Fit Testing Ming-Tsung Hsu

2 Outline Goal of Hypothesis Test Terms & Notation Chi-Square Test Goodness-of-Fit Testing Example

3 Goal of Hypothesis Test To examine statistical evidence, and to determine whether it supports or contradicts a claim  The life of lamps is more than 10,000 hours  The data are from normal distribution To reduce the directly-relevant data to a “level of suspicion” based purely on the data

4 Terms & Notation Null Hypothesis (H 0 ) vs. Alternative hypothesis (H 1 or H A )  Type I Error vs. Type II Error Parametric Test vs. Non-Parametric Test Significance level (α) and Critical Region  “Reject H 0 ” vs. “Do not reject H 0 “ Central Limit Theorem  Sampling distribution of the sample mean Test Statistic vs. Table Value  P-value

5 Null Hypothesis vs. Alternative hypothesis

6 Type I Error vs. Type II Error Type I error  H 0 is true but reject H 0  Pr(reject H 0 | H 0 ) = α Type II error  H 1 is true but do not reject H 0  Pr(do not reject H 0 | H 1 ) = β

7 Parametric Test vs. Non-Parametric Test Parametric Test  Parameters of population  Mean test, variance test, etc. Non-Parametric Test  Make no assumptions about the frequency distributions of the variables being assessed  Independent test, distribution test, etc.

8 Significance level (α) and Critical Region

9 Central Limit Theorem

10 Test Statistic vs. Table Value

11 P-value

12 Chi-Square Test Non-Parametric Test  T. S. ~χ 2 (ν) Goodness-of-Fit Test  Also known as “Pearson's chi-square test” Independent Test Homogeneity Test

13 Goodness-of-Fit Testing Used to test if a sample of data came from a population with a specific distribution O i : Observations of i th group E i : Expected frequency of i th group k : Number of groups m: Number of estimated parameters K-1-m: Degree of freedom

14 Example

15 Parameter Estimation - λ

16 Observations and Expected Frequencies IntervalObstF(t) = p(T < t)C.F.Frequency 0 ~ < ~ < ~ < ~ < ~ < ≧ ?!?!

17 Test Statistic and P-value

18 Observations and Expected Frequencies - Paper

19 Re-Grouping IDlowerupperFreq ObstF(x)C. F.E. F ≧ # of groups = *log(n)