EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © 2003-2005 Dr. John Lipp.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Hypothesis testing Another judgment method of sampling data.
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
1 1 Slide Chapter 9 Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chap 9: Testing Hypotheses & Assessing Goodness of Fit Section 9.1: INTRODUCTION In section 8.2, we fitted a Poisson dist’n to counts. This chapter will.
Inferential Statistics & Hypothesis Testing
Elementary hypothesis testing
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Elementary hypothesis testing Purpose of hypothesis testing Type of hypotheses Type of errors Critical regions Significant levels Hypothesis vs intervals.
Lec 6, Ch.5, pp90-105: Statistics (Objectives) Understand basic principles of statistics through reading these pages, especially… Know well about the normal.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Inference about a Mean Part II
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
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.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
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.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
1 ConceptsDescriptionHypothesis TheoryLawsModel organizesurprise validate formalize The Scientific Method.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
1 When we free ourselves of desire, we will know serenity and freedom.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Inferential Statistics. Coin Flip How many heads in a row would it take to convince you the coin is unfair? 1? 10?
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
Chapter Outline Goodness of Fit test Test of Independence.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
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.
ENGR 610 Applied Statistics Fall Week 7 Marshall University CITE Jack Smith.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter 9 Introduction to the t Statistic
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slides by JOHN LOUCKS St. Edward’s University.
Chapter 4. Inference about Process Quality
Chapter 9 Hypothesis Testing.
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
Presentation transcript:

EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-2 Session 2 Outline Part 1: Correlation and Independence. Part 2: Confidence Intervals. Part 3: Hypothesis Testing. Part 4: Linear Regression.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-3 Today’s Topics Hypothesis Testing –Null and Alternate Hypothesis. –Test Statistic and Reference (Null) Distribution. –Acceptance and Rejection Regions. –Type I Error. –Type II Error. – Significance. –Power. –P-value. Confidence Intervals vs. Hypothesis Testing Contingency Tables.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-4 Hypothesis Testing Consider the question: “Is one dart gun better than another?” –This is an example of a hypothesis statement. –In statistics a hypothesis statement is generally made regarding population or model parameters. –However, any statistical question can be a legitimate hypothesis statement!!!

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-5 Hypothesis Testing (cont.) The procedure for determining which hypothesis is true is a test of hypothesis (or hypothesis test). In the case of a dart gun, a statistical translation of “is one dart gun better than another” might be are the variances (or standard deviations equal? That is, H 0 :  1 2 –  2 2 = 0 This is known as the null hypothesis. The null hypothesis involves parameter equality in simple hypothesis tests.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-6 Hypothesis Testing (cont.) The “opposite” hypothesis in this example is H 1 :  1 2 –  2 2  0 and is known as the alternate hypothesis. Two other alternate hypotheses are possible: H 1 :  1 2 –  2 2 > 0 H 1 :  1 2 –  2 2 < 0 These are referred to as one-side alternate hypothesis. The alternate hypothesis H 1 :  1 2 –  2 2  0 is called a two- sided hypothesis and is equivalent to the two one-side alternate hypothesis.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-7 Hypothesis Testing (cont.) All hypothesis tests involve evaluating a test statistic, appropriate to the particular situation, with sample statistics computed from the sample data. Since the test statistic is computed from random data, it is a random variable with a conditional distribution that is either –Consistent with the null hypothesis being true: (known as the reference distribution or null distribution). –Consistent with the alternate hypothesis being true:

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-8 Hypothesis Testing (cont.) For example, f Z|H 0 (z|H 0 ) or f Z|H 1 (z|H 1 ) z

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-9 Hypothesis Testing (cont.) Rejecting the null hypothesis when it is true is called a type I error. The probability of a type I error is denoted and is also known as the significance level of the test. The range of the test statistic values under which the null hypothesis is determined to be valid and accepted is called the acceptance region. Logically, the acceptance region should be chosen to achieve the desired  using while being as compact as possible.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-10 Hypothesis Testing (cont.) z f Z|H 0 (z|H 0 ) 1-  (z 2 ) =  / 2  (z 1 ) =  / 2 Acceptance Region:

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-11 Hypothesis Testing (cont.) The critical region (or rejection region) is where the null hypothesis is determined to be invalid and is not accepted. It is the compliment of the acceptance region. Failing to reject the null hypothesis when it is false is called a type II error. The probability of a type II error is denoted The power of a hypothesis test is the probability of accepting the alternate hypothesis when the alternate hypothesis is true. An alternate view of power is the ability of the test to correctly reject a false null hypothesis.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-12 Hypothesis Testing (cont.) Because the alternate hypothesis often involves a range of parameter values,  or Power can be hard to determine without some knowledge of the legitimate variations in the population’s statistical parameters. z  f Z|H 0 (z|H 0 ) or f Z|H 1 (z|H 1 )

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-13 Hypothesis Testing (cont.) Because of this difficulty in finding , in most hypothesis tests it is the  value that is chosen, not the  value. The P-value is the smallest value of  resulting in rejection of the null hypothesis with the available data. –Unlike , , and Power, the P-value is a statement about the quality of the data, not the test or hypothesis. NOTE: When the sample size gets large, the null hypothesis is almost certain to be rejected because the data won’t exactly fit the model being assumed!!!

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-14 Hypothesis Testing – Procedure 1.What are the (population) parameters of interest? (Confirm with probability paper, theory, etc. the data’s distribution.) 2.Form the Null Hypothesis. 3.Form the Alternate Hypothesis. (One-sided or two-sided?) 4.Choose acceptable level of significance . 5.Determine the appropriate statistic. 6.Find the acceptance and critical regions. 7.Gather the data and compute the test statistic. 8.Conclusion! (Consider the hypothesis result’s statistical significance vs. the practical significance.)

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-15 Hypothesis Testing (cont.) Question: Is one dart gun better than the other?

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-16 Confidence Interval vs. Hypothesis Test Confidence intervals and hypothesis tests often cousins –Two-sided hypothesis test for a mean of 3 for normally distributed data with unknown variance. –Confidence interval for normally distributed data with unknown variance that bounds 3. There are some questions which do not make sense a confidence interval.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-17 Contingency Tables Classify a set of n observations using two methods. Each method should have a discrete range of values: –r = number of values (levels) for the first method. –c = number of values (levels) for the second method. Build a table of the frequency of each descriptor combination –The rows are the first classification method. –The columns are the second classification method. Calculate the relative frequency of each descriptor – = the row relative frequencies, i = 1,…, r. – = the column relative frequencies, j = 1,…, c.

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-18 Contingency Tables (cont.) The result is known as a contingency table. The purpose of the table is to test a hypothesis on the statistical independence of the two classification methods. O ij A JQK   

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-19 Contingency Tables (cont.) Build a second table by estimating what should have been in the first table had independence been true. Use the formula E ij A JQK   

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-20 Contingency Tables (cont.) Compute the test statistic which is approximately chi-square distributed with (r - 1)(c - 1) degrees of freedom. Accept independence if  2 <  2 ,(r-1)(c-1). [O ij - E ij ] 2 /E ij A JQK   

EMIS7300 Fall 2005 Copyright  Dr. John Lipp 7-21 Homework Use Excel (or your favorite number crunching program) to: 1.Finish the hypothesis test for “Is one dart gun better than the others” by filling in the numbers. 2.Complete the contingency table for the card data.