Hypothesis Testing for Simulation 1 hypothesis testing with special focus on simulation.

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Midterm Review Session
STAT 270 What’s going to be on the quiz and/or the final exam?
Chapter 26: Comparing Counts
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.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Chapter Goals After completing this chapter, you should be able to:
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
8-4 Testing a Claim About a Mean
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
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.
Chi-Square Test and Goodness-of-Fit Testing Ming-Tsung Hsu.
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
Ch. 9 Fundamental of Hypothesis Testing
BCOR 1020 Business Statistics
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
AM Recitation 2/10/11.
Overview Definition Hypothesis
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Statistics for Managers Using Microsoft® Excel 7th Edition
1/2555 สมศักดิ์ ศิวดำรงพงศ์
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
STATISTICAL INFERENCE PART VII
Hypothesis (significance) Testing Using the Binomial Distribution.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Confidence intervals and hypothesis testing Petter Mostad
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
1 When we free ourselves of desire, we will know serenity and freedom.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
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.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
One Sample Inf-1 In statistical testing, we use deductive reasoning to specify what should happen if the conjecture or null hypothesis is true. A study.
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 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Chapter 9: Hypothesis Tests for One Population Mean 9.2 Terms, Errors, and Hypotheses.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
One-Sample Inference for Proportions
Statistical inference: distribution, hypothesis testing
Introduction to Inference
hypothesis testing with special focus on simulation
Introduction to Inference
Confidence Intervals.
Presentation transcript:

Hypothesis Testing for Simulation 1 hypothesis testing with special focus on simulation

Hypothesis Testing for Simulation 2  Hypothesis Test answers yes/no question with some statistical certainty  H 0 = default hypothesis  is a statement  H a = alternate hypothesis  is the precise opposite

Hypothesis Testing for Simulation 3  X = test statistic (RANDOM!)  sufficient (uses all avail. data)  often Z, T, N are used as notation  F X = its probability distribution   = P[reject H 0 | H 0 true]

Hypothesis Testing for Simulation 4  c  = critical region for    = P[X in c  | H 0 ]   is our (controllable) risk

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

Hypothesis Testing for Simulation 6 IMPORTANT  Inability to reject <> H 0 true

Hypothesis Testing for Simulation 7 POWER OF THE TEST   = P[X not in c  | H a ]  1- = P[correctly rejecting]

Hypothesis Testing for Simulation 8 VENACULAR   is type I error  Probability of incorrectly rejecting   is type II error  Probability of incorrectly missing the opportunity to reject

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

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

Hypothesis Testing for Simulation 11 We get DSL, observe 12 samples

Hypothesis Testing for Simulation 12 IS DSL FASTER?  H 0 :  DSL = 50  H a :  DSL < 50  test with P[type I] = 0.01

Hypothesis Testing for Simulation 13 PROBABILITY THEORY  Z ~ t n-1  Must know the probability distribution of the test statistic IOT construct critical region

Hypothesis Testing for Simulation 14  for n = 12,  = 0.01, c  = % of the probability above

Hypothesis Testing for Simulation 15 our test statistic -2.33

Hypothesis Testing for Simulation 16  called the p-value  Given H 0, we expect to see a test statistic as extreme as Z roughly 2% of the time (0.01) (0.05) (0.021)

CONFIDENCE INTERVALS Hypothesis Testing for Simulation 17 ll uu  For a given   P[l  <=  <= u  ] = 1-  Based on the sample So they are RANDOM!

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

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

Hypothesis Testing for Simulation 20  = observations - estimated param  Did you know... if Z i ~N(0, 1), then Z Z Z n 2 ~  n 2

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

Hypothesis Testing for Simulation 22 CELLS AND EXPECTED FREQUENCIES EXPECT H50 T

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

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

Hypothesis Testing for Simulation 25 RESULTS RIGHTOBS1-exp(-0.1x)PROBEXPECT(OBS-EXPECT)^

Hypothesis Testing for Simulation 26

Hypothesis Testing for Simulation 27 TEST RESULTS  Degrees of Freedom  6 cells  0 parameters estimated  = 6  For the  6 2 distribution, the p- value for is about p=0.025  REJECT at any  > 0.025

Hypothesis Testing for Simulation 28 DIFFERENT H 0  H 0 : the miss distances are exponentially distributed  H a : the exponential shape is incorrect  We estimate the parameter, we lose one degree of freedom

Hypothesis Testing for Simulation 29 RESULTS 2 LEFTRIGHTOBS1-exp( x)PROB EXPE CT(OBS-EXPECT)^

Hypothesis Testing for Simulation 30

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

SIMULATION vs. STATISTICS  Statistics  Sample is fixed and given  Conclusion is unknown  Significance is powerful  Simulation  Sample is arbitrarily large  Conclusion is known  We need another thought about what is meaningful Hypothesis Testing for Simulation 32

SAMPLE SIZE EFFECT Hypothesis Testing for Simulation 33  = 100  = 10

HOW LARGE IS A DIFFERENCE BEFORE IT IS MEANINGFUL? Hypothesis Testing for Simulation 34

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