1/2555 สมศักดิ์ ศิวดำรงพงศ์

Slides:



Advertisements
Similar presentations
Unlocking the Mysteries of Hypothesis Testing
Advertisements

Introduction to Hypothesis Testing
Probability & Statistical Inference Lecture 6
Confidence Interval and Hypothesis Testing for:
Significance Testing Chapter 13 Victor Katch Kinesiology.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
1 Test a hypothesis about a mean Formulate hypothesis about mean, e.g., mean starting income for graduates from WSU is $25,000. Get random sample, say.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
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?
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Hypothesis Testing: Type II Error and Power.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Chapter 2 Simple Comparative Experiments
IENG 486 Statistical Quality & Process Control
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
5-3 Inference on the Means of Two Populations, Variances Unknown
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
Statistical Inference for Two Samples
Statistics for Managers Using Microsoft® Excel 7th Edition
Fundamentals of Hypothesis Testing: One-Sample Tests
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
6 - 1 © 2000 Prentice-Hall, Inc. A First Course in Business Statistics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 6.
1 Design of Engineering Experiments Part 2 – Basic Statistical Concepts Simple comparative experiments –The hypothesis testing framework –The two-sample.
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.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Statistical Significance The power of ALPHA. “ Significant ” in the statistical sense does not mean “ important. ” It means simply “ not likely to happen.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Inference with Proportions Review Mr. Hardin AP STATS 2015.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
1/29/2016ENGM 720: Statistical Process Control1 ENGM Lecture 04 Comparison of Means, Confidence Intervals (CIs), & Operating Characteristic (OC)
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
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.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
PEP-PMMA Training Session Statistical inference Lima, Peru Abdelkrim Araar / Jean-Yves Duclos 9-10 June 2007.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
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)
CONCEPTS OF HYPOTHESIS TESTING
Chapter Review Problems
Unlocking the Mysteries of Hypothesis Testing
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
4-1 Statistical Inference
Statistical Inference for Managers
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Section 11.1: Significance Tests: Basics
Presentation transcript:

1/2555 สมศักดิ์ ศิวดำรงพงศ์ somsaksi@sut.ac.th 525201 Statistics and Numerical Method Part I: Statistics Week IV: Decision Making (1 sample) 1/2555 สมศักดิ์ ศิวดำรงพงศ์ somsaksi@sut.ac.th

4-1 Statistical Inference Sampling Inference

4-2 Point Estimation

4-3 Hypothesis Testing Statistical hypothesis testing as the data analysis stage of a comparative experiment, in which the engineer is interested

Statistical Hypothesis Two side hypothesis One side hypothesis H0 : Null Hypothesis H1 : Alternative Hypothesis

Hypothesis Testing If this information is consistent with the hypothesis, then we will conclude that the hypothesis is true; If this information is inconsistent with the hypothesis, we will conclude that the hypothesis is false.

Type I and II Errors Reality Decision Weak Conclusion Ho TRUE Fail to Reject Ho or ACCEPT Ho REJECT Ho TYPE II ERROR TYPE I ERROR Probability , a Significance level Decision Probability , b Ho FALSE Reality THE PROBABILITY OF TYPE I ERROR IS OFTEN SET AT 5%. THE PROBABILITY OF TYPE II ERROR IS OFTEN SET AT 10% CONFIDENCE Probability ,1 – a Correct Decision POWER Probability, 1 – b Weak Conclusion Strong Conclusion

Decision criteria

Type I error; 

Type II error; 

sample size and critical region Reduce of critical region, alpha always increase Alpha and Beta are related, at remain sample size An increase in sample size will reduce both alpha and beta When the null hypothesis is false, beta increase as the true value of the parameter approaches the value hypothesized in the null hypothesis

P-Value P-Value is not the probability that the null hypothesis is false, nor is 1-P the probability that null hypothesis is true. The null hypothesis is either true or false, and so the proper interpretation of the P-value is in term of the risk of wrongly rejecting H0

4-4 Inference on the mean of a population; variance known

Reject H0 if the observed value of the test statistic z0 is either: or Fail to reject H0 if

Ex: 0=50, =2, =0.05, n=25 and sample average=51.3 H0: =50 and H1: ≠50 =0.05 (two tails), -z0.025=-1.96 and z0.025=1.96 z0=3.25 P=2[1-(3.25)]=0.0012 Since 0.0012<0.05 then reject H0 Test of mu = 50 vs not = 50 The assumed standard deviation = 2 N Mean SE Mean 95% CI Z P 25 51.300 0.400 (50.516, 52.084) 3.25 0.001

Ex: 0=50, =2, =0.05, n=16, 9, 4 and sample average=51.3 One-Sample Z Test of mu = 50 vs not = 50 The assumed standard deviation = 2 N Mean SE Mean 95% CI Z P 51.300 0.500 (50.320, 52.280) 2.60 0.009 9 51.300 0.667 (49.993, 52.607) 1.95 0.051 N Mean SE Mean 95% CI Z P 4 51.30 1.00 (49.34, 53.26) 1.30 0.194

Confidence interval on the mean

Confidence interval on the mean

4-5 Inference on the Mean of a Population, Variance Unknown

Inference on the Mean of a Population, Variance Unknown

Calculating P-value

Ex: sampling n=15, mean=0. 8375, s=0. 02456, =0 Ex: sampling n=15, mean=0.8375, s=0.02456, =0.05, test for  exceed 0.82 H0: =0.82 and H1: >0.82 =0.05 (upper tail), t0=2.72 P=0.008 Since 0.008<0.05 then reject H0 Test of mu = 0.82 vs > 0.82 95% Lower Variable N Mean StDev SE Mean Bound T P C1 15 0.83724 0.02456 0.00634 0.82607 2.72 0.008

4-7 Inference on a Population Proportion (Binomial) We will consider testing:

Inference on a Population Proportion (Binomial)

Ex: sampling 200 samples and found 4 defects Ex: sampling 200 samples and found 4 defects. Please check the defect rate not exceed 0.05 with =0.05 H0: p=0.05 and H1: p<0.05 =0.05 (lower tail), z0=-1.95 P=(-1.95)=0.0256 Since 0.0256<0.05 then reject H0 Test of p = 0.05 vs p < 0.05 95% Upper Sample X N Sample p Bound Z-Value P-Value 1 4 200 0.020000 0.036283 -1.95 0.026

Power and Sample Size 1 sample, z-test 2-side, power=, significant level=, difference==-0 1-side, power=, significant level=, difference==-0

1-Sample Z Test Testing mean = null (versus not = null) Calculating power for mean = null + difference Alpha = 0.05 Assumed standard deviation = 2 Sample Target Difference Size Power Actual Power 1 43 0.9 0.906375

Sample size and decision making In general, if n  30, the sample variance s2 will be close to σ2 for most samples

Power and Sample Size Sample and confident interval

Power and Sample Size T-test Operating Characteristic (OC curves)

Power and Sample Size 1 proportion test