hypothesis testing with special focus on simulation

Slides:



Advertisements
Similar presentations
Lecture 14 chi-square test, P-value Measurement error (review from lecture 13) Null hypothesis; alternative hypothesis Evidence against null hypothesis.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Making Inferences for Associations Between Categorical Variables: Chi Square Chapter 12 Reading Assignment pp ; 485.
Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
8-4 Testing a Claim About a Mean
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Ch. 9 Fundamental of Hypothesis Testing
BCOR 1020 Business Statistics
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Determining Statistical Significance
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
AM Recitation 2/10/11.
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Hypothesis Testing for Simulation 1 hypothesis testing with special focus on simulation.
Today’s lesson Confidence intervals for the expected value of a random variable. Determining the sample size needed to have a specified probability of.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Business Research Methods William G. Zikmund
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Confidence intervals and hypothesis testing Petter Mostad
5.1 Chapter 5 Inference in the Simple Regression Model In this chapter we study how to construct confidence intervals and how to conduct hypothesis tests.
Fitting probability models to frequency data. Review - proportions Data: discrete nominal variable with two states (“success” and “failure”) You can do.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
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.
Chi square Test. Chi squared tests are used to determine whether the difference between an observed and expected frequency distribution is statistically.
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.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Hypothesis Testing. Statistical Inference – dealing with parameter and model uncertainty  Confidence Intervals (credible intervals)  Hypothesis Tests.
Chapter 9: Hypothesis Tests for One Population Mean 9.2 Terms, Errors, and Hypotheses.
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
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 &
Chapter 9 -Hypothesis Testing
Chapter 11 – Test of Independence - Hypothesis Test for Proportions of a Multinomial Population In this case, each element of a population is assigned.
Significance Test for the Difference of Two Proportions
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
One-Sample Inference for Proportions
Lecture Slides Elementary Statistics Twelfth Edition
Active Learning Lecture Slides
Statistical inference: distribution, hypothesis testing
John Loucks St. Edward’s University . SLIDES . BY.
Introduction to Inference
Chapter 11 Goodness-of-Fit and Contingency Tables
Chapter 9 Hypothesis Testing.
P-value Approach for Test Conclusion
Introduction to Inference
Chapter 10 Analyzing the Association Between Categorical Variables
Interval Estimation and Hypothesis Testing
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Lesson 11 - R Chapter 11 Review:
Analyzing the Association Between Categorical Variables
Chi2 (A.K.A X2).
Hypothesis Tests for a Standard Deviation
Confidence Intervals.
Copyright © Cengage Learning. All rights reserved.
Section 11-1 Review and Preview
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Presentation transcript:

hypothesis testing with special focus on simulation Mike Bailey MSIM 852 Analysis II Hypothesis Testing for Simulation

Hypothesis Testing for Simulation Hypothesis Test answers yes/no question with some statistical certainty H0 = default hypothesis is a statement Ha = alternate hypothesis is the precise opposite Hypothesis Testing for Simulation

Hypothesis Testing for Simulation X = test statistic (RANDOM!) sufficient (uses all avail. data) often Z, T, N are used as notation FX = its probability distribution a = P[reject H0 | H0 true] Hypothesis Testing for Simulation

Hypothesis Testing for Simulation ca = critical region for a a = P[X in ca | H0] a is our (controllable) risk Hypothesis Testing for Simulation

Hypothesis Testing for Simulation TWISTED LOGIC We WANT to reject H0 and conclude Ha, so... We make a very small, so... If we can reject, we have strong evidence that Ha is true This construct often leads to inconclusive results “There is no significant statistical evidence that...” Hypothesis Testing for Simulation

Hypothesis Testing for Simulation IMPORTANT Inability to reject <> H0 true Hypothesis Testing for Simulation

Hypothesis Testing for Simulation POWER OF THE TEST b = P[X not in ca | Ha] 1-b = P[correctly rejecting] Hypothesis Testing for Simulation

Hypothesis Testing for Simulation VENACULAR a is type I error Probability of incorrectly rejecting b is type II error Probability of incorrectly missing the opportunity to reject Hypothesis Testing for Simulation

Hypothesis Testing for Simulation UNOFFICIAL VENACULAR type III error – answered the wrong question type IV error – perfect answer delivered too late Hypothesis Testing for Simulation

Hypothesis Testing for Simulation EXAMPLE! Dial-up ISP has long experience & knows... Hypothesis Testing for Simulation

We get DSL, observe 12 samples Hypothesis Testing for Simulation

Hypothesis Testing for Simulation IS DSL FASTER? H0: mDSL = 50 Ha: mDSL < 50 test with P[type I] = 0.01 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation PROBABILITY THEORY Z ~ tn-1 Must know the probability distribution of the test statistic IOT construct critical region Hypothesis Testing for Simulation

Hypothesis Testing for Simulation 99% of the probability above -2.718 for n = 12, a = 0.01, ca = -2.718 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation our test statistic -2.33 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation -1.796 (0.05) -2.33 (0.021) -2.718 (0.01) 0.021 called the p-value Given H0, we expect to see a test statistic as extreme as Z roughly 2% of the time. Hypothesis Testing for Simulation

Hypothesis Testing for Simulation GOODNESS-OF-FIT TEST Discrete, categorized data Rolls of dice Miss distances in 5-ft. increments H0 assumes a fully-specified probability model Ha: the glove does not fit! Hypothesis Testing for Simulation

Hypothesis Testing for Simulation TEST STATISTIC “chi-squared distribution with gnu degrees of freedom” Hypothesis Testing for Simulation

Hypothesis Testing for Simulation n = observations - estimated param Did you know... if Zi~N(0, 1), then Z12+ Z22+...+ Zn2 ~ cn2 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation CELLS H0 always results in a set of category cells with expected frequencies EXAMPLE Coin is tossed 100 times H0: Coin Fair Hypothesis Testing for Simulation

CELLS AND EXPECTED FREQUENCIES   EXPECT H 50 T Hypothesis Testing for Simulation

Hypothesis Testing for Simulation EXAMPLE Cannon places rounds around a target H0: miss distance ~ expon(0.1m) Record data in 5m intervals (0-5), (5-10), ...(25+) Hypothesis Testing for Simulation

Hypothesis Testing for Simulation EXPONENTIALS E(X)=1/l Hypothesis Testing for Simulation

Hypothesis Testing for Simulation RESULTS RIGHT OBS 1-exp(-0.1x) PROB EXPECT (OBS-EXPECT)^2   0.00 5.00 30 0.39 39.35 2.22 10.00 17 0.63 0.24 23.87 1.97 15.00 21 0.78 0.14 14.47 2.94 20.00 11 0.86 0.09 8.78 0.56 25.00 0.92 0.05 5.33 6.05 30+ 10 1.00 0.08 8.21 100.00 14.14 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation

Hypothesis Testing for Simulation TEST RESULTS Degrees of Freedom 6 cells 0 parameters estimated n = 6 For the c62 distribution, the p- value for 14.14 is about p=0.025 REJECT at any a > 0.025 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation DIFFERENT H0 H0: the miss distances are exponentially distributed Ha: the exponential shape is incorrect We estimate the parameter, we lose one degree of freedom Hypothesis Testing for Simulation

Hypothesis Testing for Simulation RESULTS 2 LEFT RIGHT OBS 1-exp(-0.0738x) PROB EXPECT (OBS-EXPECT)^2   0.00 5.00 30 0.31 30.86 0.02 10.00 17 0.52 0.21 21.34 0.88 15.00 21 0.67 0.15 14.75 2.65 20.00 11 0.77 0.10 10.20 0.06 25.00 0.84 0.07 7.05 2.21 30+ 10 1.00 0.16 15.80 2.13 7.95 Hypothesis Testing for Simulation

Hypothesis Testing for Simulation

Hypothesis Testing for Simulation p-value for 7.83 is larger than 0.05 CANNOT REJECT CONCLUSION? Hypothesis Testing for Simulation

Hypothesis Testing for Simulation SUMMARY You probably knew the mechanics of HT You might have a new perspective Hypothesis Testing for Simulation