1 Econ 240A Power 6. 2 The Challenger Disaster l 1031097/ 1031097.

Slides:



Advertisements
Similar presentations
“Students” t-test.
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 Midterm Review. 2 Econ 240A  Descriptive Statistics  Probability  Inference  Differences between populations  Regression.
Probability & Statistical Inference Lecture 6
PSY 307 – Statistics for the Behavioral Sciences
1 Midterm Review Econ 240A. 2 The Big Picture The Classical Statistical Trail Descriptive Statistics Inferential Statistics Probability Discrete Random.
1 Econ 240A Power 6. 2 The Challenger Disaster l sjoly/RB-intro.html sjoly/RB-intro.html.
DATA ANALYSIS I MKT525. Plan of analysis What decision must be made? What are research objectives? What do you have to know to reach those objectives?
Chapter 7 Sampling and Sampling Distributions
Tests of significance Confidence intervals are used when the goal of our analysis is to estimate an unknown parameter in the population. A second goal.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
The Simple Regression Model
1 Econ 240A Power 6. 2 Interval Estimation and Hypothesis Testing.
Topic 2: Statistical Concepts and Market Returns
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
1 Econ 240A Power 6. 2 The Challenger Disaster l sjoly/RB-intro.html sjoly/RB-intro.html.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Inference about a Mean Part II
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
Ch. 9 Fundamental of Hypothesis Testing
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
5-3 Inference on the Means of Two Populations, Variances Unknown
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Statistical Inference: Estimation and Hypothesis Testing chapter.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Statistical inference: confidence intervals and hypothesis testing.
Chapter 8 Hypothesis testing 1. ▪Along with estimation, hypothesis testing is one of the major fields of statistical inference ▪In estimation, we: –don’t.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Confidence Intervals and Hypothesis Testing
More About Significance Tests
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Go to Index Analysis of Means Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
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.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
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.
Learning Objectives In this chapter you will learn about the t-test and its distribution t-test for related samples t-test for independent samples hypothesis.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 10. Hypothesis Testing II: Single-Sample Hypothesis Tests: Establishing the Representativeness.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Confidence intervals and hypothesis testing Petter Mostad
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 σ σ.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
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.
Sampling and Statistical Analysis for Decision Making A. A. Elimam College of Business San Francisco State University.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
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.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses
Chapter 9 Hypothesis Testing.
Chapter 5 STATISTICAL INFERENCE: ESTIMATION AND HYPOTHESES TESTING
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses
Hypothesis Testing: Preliminaries
Business Statistics Topic 7
Consolidation & Review
Hypothesis Testing: Hypotheses
Statistical inference
Discrete Event Simulation - 4
Interval Estimation and Hypothesis Testing
Chapter 8 Hypothesis Tests
Statistical Inference for the Mean: t-test
Presentation transcript:

1 Econ 240A Power 6

2 The Challenger Disaster l /

3 The Challenger l The issue is whether o-ring failure on prior 24 prior launches is temperature dependent l They were considering launching Challenger at about 32 degrees l What were the temperatures of prior launches?

4 Challenger Launch Only 4 launches Between 50 and 64 degrees

5 Challenger l Divide the data into two groups 12 low temperature launches, degrees 12 high temperature launches, degrees

TemperatureO-Ring Failure 53Yes 57Yes 58Yes 63Yes 66No 67NO 67No 67No 68No 69No 70No 70Yes

TemperatureO-Ring Failure 70Yes 70No 72No 73No 75Yes 75No 76No 76No 78No 79No 80No 81No

8 Probability of O-Ring Failure Conditional On Temperature, P/T l P/T=#of Yesses/# of Launches at low temperature P/T=#of O-Ring Failures/# of Launches at low temperature Pˆ = k(low)/n(low) = 5/12 = 0.41 l P/T=#of Yesses/# of Launches at high temperature Pˆ = k(high)/n(high) = 2/12 = 0.17

9 Are these two rates significantly different? l Dispersion: p*(1-p)/n Low: [p*(1-p)/n] 1/2 = [0.41*0.59/12] 1/2 =0.14 High: [p*(1-p)/n] 1/2 = [0.17*0.83/12] 1/2 =0.11 l So =.24 is 1.7 to 2.2 standard deviations apart? Is that enough to be statistically significant?

10 Interval Estimation and Hypothesis Testing

11 Outline l Interval Estimation l Hypothesis Testing l Decision Theory

0

0

15 a Z value of 1.96 leads to an area of 0.475, leaving in the Upper tail

16 Interval Estimation l The conventional approach is to choose a probability for the interval such as 95% or 99%

17 So z values of and 1.96 leave 2.5% in each tail

% 1.96

19 Two Californias

20 Times to Produce a cell Phone: Sample of 50 l Problem l Data set Xr10-35

Times

22 Sample statistics Times Mean26.81 Standard Error Median26.55 Mode26.3 Standard Deviation Sample Variance Kurtosis Skewness Range5.8 Minimum24.4 Maximum30.2 Sum Count50

23 Mean Time to Assemble l Prob[?<=(x^-  )/(s/  n)<=?] = 0.95

24 Student’s t-Distribution l What does it look like? EViews l What are the critical values for 2.5% in each tail? Text

25 and v>0. Note that v=1 is Gen Gen

27 Appendix B Table 4 p. B-9

28 Mean Time to Assemble l Prob[?<=(x^-  )/(s/  n)<=?] = 0.95 l Prob[-2.01<=(  )/(1.29/  50)<=2.01] = 0.95 l Prob[-2.01<=(  )/0.182)<=2.01] = 0.95 l Prob[-0.366<=(  )<=0.366] =0.95 l Prob[0.37>=(  >=- 0.37] =0.95 l Prob[ >=  >= ] = 0.95 l Prob[27.18>=  >=26.44] =0.95

29 Hypothesis Testing

30 Hypothesis Testing: 4 Steps l Formulate all the hypotheses l Identify a test statistic l If the null hypothesis were true, what is the probability of getting a test statistic this large? l Compare this probability to a chosen critical level of significance, e.g. 5%

31

% lower tail Step #4: compare the probability for the test statistic(z= -1.33) to the chosen critical level (z=-1.645)

33 Decision Theory

l Inference about unknown population parameters from calculated sample statistics are informed guesses. So it is possible to make mistakes. The objective is to follow a process that minimizes the expected cost of those mistakes. l Types of errors involved in accepting or rejecting the null hypothesis depends on the true state of nature which we do not know at the time we are making guesses about it.

Decision Theory l For example, consider a possible proposition for bonds to finance dams, and the null hypothesis that the proportion that would vote yes would be (or less), i.e. p ~ 0.5. The alternative hypothesis was that this proposition would win i.e., p >= 0.5.

Decision Theory l If we accept the null hypothesis when it is true, there is no error. If we reject the null hypothesis when it is false there is no error.

37 Decision theory l If we reject the null hypothesis when it is true, we commit a type I error. If we accept the null when it is false, we commit a type II error.

Decision Accept null Reject null True State of Nature p = H 2 o Bonds lose P >= 0.5 Bonds win No Error Type I error No Error Type II error

Decision Theory The size of the type I error is the significance level or probability of making a type I error,  The size of the type II error is the probability of making a type II error, 

40 Decision Theory We could choose to make the size of the type I error smaller by reducing  for example from 5 % to 1 %. But, then what would that do to the type II error?

Decision Accept null Reject null True State of Nature p = P >= 0.5 No Error 1 -  Type I error  No Error 1 -  Type II error 

Decision Theory l There is a tradeoff between the size of the type I error and the type II error.

43 Decision Theory l This tradeoff depends on the true state of nature, the value of the population parameter we are guessing about. To demonstrate this tradeoff, we need to play what if games about this unknown population parameter.

44 What is at stake? l Suppose you are for Water Bonds. l What does the water bonds camp want to believe about the true population proportion p? they want to reject the null hypothesis, p= they want to accept the alternative hypothesis, p>=0.5

Cost of Type I and Type II Errors l The best thing for the water bonds camp is to lean the other way from what they want l The cost to them of a type I error, rejecting the null when it is true (i.e believing the bonds will pass) is high: over- confidence at the wrong time. l Expected Cost E(C) = C I high (type I error)*P(type I error) + C II low (type II error)*P(type II error)

46 Costs in Water Bond Camp l Expected Cost E(C) = C I high (type I error)*P(type I error) + C II low (type II error)*P(type II error) E(C) = C I high (type I error)*  C II low (type II error)*  l Recommended Action: make probability of type I error small, i.e. run scared so chances of losing stay small

Decision Accept null Reject null True State of Nature p = Bonds lose P >= 0.5 Bonds win No Error 1 -  Type I error  C(I) No Error 1 -  Type II error  C(II) E[C] = C(I)*  + C(II)*  Bonds: C(I) is large so make  small

48 How About Costs to the Bond Opponents Camp ? l What do they want? l They want to accept the null, p=0.499 i.e. Bonds lose l The opponents camp should lean against what they want l The cost of accepting the null when it is false is high to them, so C(II) is high

49 Costs in the opponents Camp l Expected Cost E(C) = C low (type I error)*P(type I error) + C high (type II error)*P(type II error) E(C) = C low (type I error)*  C high (type II error)*  l Recommended Action: make probability of type II error small, i.e. make the probability of accepting the null when it is false small

Decision Accept null Reject null True State of Nature p = Bonds lose P >=0.5 Bonds win No Error 1 -  Type I error  C(I) No Error 1 -  Type II error  C(II) E[C] = C(I)*  + C(II)*  Opponents: C(II) is large so make  small

Decision Theory Example If we set the type I error,  to 1%, then from the normal distribution (Table 3), the standardized normal variate z will equal 2.33 for 1% in the upper tail. For a sample size of 1000, where p~0.5 from null

52 Decision theory example So for this poll size of 1000, with p=0.5 under the null hypothesis, given our choice of the type I error of size 1%, which determines the value of z of 2.33, we can solve for a

%

Decision Theory Example l So if 53.7% of the polling sample, or *1000=537 say they will vote for water bonds, then we reject the null of p=0.499, i.e the null that the bond proposition will lose

55 Decision Theory Example l But suppose the true value of p is 0.54, and we use this decision rule to reject the null if 537 voters are for the bonds, but accept the null (of p=0.499, false if p=0.54) if this number is less than 537. What is the size of the type II error?

Decision Theory Example What is the value of the type II error,  if the true population proportion is p = 0.54? l Recall our decision rule is based on a poll proportion of or 536 for Bonds l z(beta) = (0.536 – p)/[p*(1-p)/n] 1/2 l Z(beta) = (0.536 – 0.54)/[.54*.46/1000] 1/2 l Z(beta) =

Calculation of Beta

Beta Versus p (true) p 

Power of the Test p 1 - 

Power of the Test p 1 -  Ideal

Decision Accept null Reject null True State of Nature p = 0.499P >= 0.5 No Error 1 -  Type I error  No Error 1 -  Type II error 

63 Tradeoff Between  and  l Suppose the type I error is 5% instead of 1%; what happens to the type II error?

64 Tradeoff If  then the Z value in our example is instead of 2.33 and the decision rule is reject the null if 526 voters are for water bonds.

66 Interval Estimation Example

67 Interval Estimation l Sample mean example: Monthly Rate of Return, UC Stock Index Fund, Sept Aug number of observations: 108 sample mean: sample standard deviation: 4.29 Student’s t-statistic degrees of freedom: 107

Sample Mean 0.842

69 Appendix B Table 4 p. B % in the upper tail

70 Interval Estimation l 95% confidence interval l substituting for t

71 Interval Estimation l Multiplying all 3 parts of the inequality by l subtracting.842 from all 3 parts of the inequality,

72 Interval Estimation An Inference about E(r) l And multiplying all 3 parts of the inequality by -1, which changes the sign of the inequality l So, the population annual rate of return on the UC Stock index lies between 19.9% and 0.2% with probability 0.95, assuming this rate is not time varying