Horng-Chyi HorngStatistics II41 Inference on the Mean of a Population - Variance Known H 0 :  =  0 H 0 :  =  0 H 1 :    0, where  0 is a specified.

Slides:



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

CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Sampling: Final and Initial Sample Size Determination
Probability & Statistical Inference Lecture 6
STATISTICAL INFERENCE PART V
AP Statistics – Chapter 9 Test Review
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter Five (&9) Decision Making for Two Samples.
Lecture 3 Miscellaneous details about hypothesis testing Type II error
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
&TwoDOE Class 90a1 &2 Simple Comparative Experiments Statistical Plots Sampling and Sampling Distributions Hypothesis Testing Confidence Interval.
Horng-Chyi HorngStatistics II 91 Inference on the Variance of a Normal Population (I) H 0 :  2 =  0  H 1 :  2   0 , where  0  is a specified.
Topic 2: Statistical Concepts and Market Returns
Horng-Chyi HorngStatistics II_Five43 Inference on the Variances of Two Normal Population &5-5 (&9-5)
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
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.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
Chapter 12 Section 1 Inference for Linear Regression.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
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
AM Recitation 2/10/11.
Experimental Statistics - week 2
Overview Definition Hypothesis
1/2555 สมศักดิ์ ศิวดำรงพงศ์
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
STAT 5372: Experimental Statistics Wayne Woodward Office: Office: 143 Heroy Phone: Phone: (214) URL: URL: faculty.smu.edu/waynew.
More About Significance Tests
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 9: Testing a Claim Section 9.3a Tests About a Population Mean.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 10. Hypothesis Testing II: Single-Sample Hypothesis Tests: Establishing the Representativeness.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
4 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
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 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Inferential Statistics Inferential statistics allow us to infer the characteristic(s) of a population from sample data Slightly different terms and symbols.
1 Hypothesis Tests on the Mean H 0 :  =  0 H 1 :    0.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
1 Design and Analysis of Experiments (2) Basic Statistics Kyung-Ho Park.
Daniel S. Yates The Practice of Statistics Third Edition Chapter 12: Significance Tests in Practice Copyright © 2008 by W. H. Freeman & Company.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Chapter 9 Hypothesis Testing.
Inference on Mean, Var Unknown
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
4-1 Statistical Inference
Inference on the Mean of a Population -Variance Known
Presentation transcript:

Horng-Chyi HorngStatistics II41 Inference on the Mean of a Population - Variance Known H 0 :  =  0 H 0 :  =  0 H 1 :    0, where  0 is a specified constant. n Sample mean is the unbiased point estimator for population mean. &4-4 (&8-2)

Horng-Chyi HorngStatistics II42 The Reasoning n For H 0 to be true, the value of Z 0 can not be too large or too small. n Recall that 68.3% of Z 0 should fall within (-1, +1) 95.4% of Z 0 should fall within (-2, +2) 99.7% of Z 0 should fall within (-3, +3) What values of Z 0 should we reject H 0 ? (based on  value) What values of Z 0 should we reject H 0 ? (based on  value) What values of Z 0 should we conclude that there is not enough evidence to reject H 0 ? What values of Z 0 should we conclude that there is not enough evidence to reject H 0 ?

Horng-Chyi HorngStatistics II43

Horng-Chyi HorngStatistics II44 Example 8-2 Aircrew escape systems are powered by a solid propellant. The burning rate of this propellant is an important product characteristic. Specifications require that the mean burning rate must be 50 cm/s. We know that the standard deviation of burning rate is 2 cm/s. The experimenter decides to specify a type I error probability or significance level of α = He selects a random sample of n = 25 and obtains a sample average of the burning rate of x = 51.3 cm/s. What conclusions should be drawn?

Horng-Chyi HorngStatistics II45

Horng-Chyi HorngStatistics II46 Hypothesis Testing on  - Variance Known

Horng-Chyi HorngStatistics II47 P-Values in Hypothesis Tests(I) Where Z 0 is the test statistic, and  (z) is the standard normal cumulative function. Where Z 0 is the test statistic, and  (z) is the standard normal cumulative function. In example 8-2, Z 0 = 3.25, P-Value = 2[1-  (3.25)] = In example 8-2, Z 0 = 3.25, P-Value = 2[1-  (3.25)] =

Horng-Chyi HorngStatistics II48 P-Values of Hypothesis Testing on  - Variance Known

Horng-Chyi HorngStatistics II49 P-Values in Hypothesis Tests(II)  -value is the maximum type I error allowed, while P- value is the real type I error calculated from the sample.  -value is the maximum type I error allowed, while P- value is the real type I error calculated from the sample.  -value is preset, while P-value is calculated from the sample.  -value is preset, while P-value is calculated from the sample. When P-value is less than  -value, we can safely make the conclusion “Reject H 0 ”. By doing so, the error we are subjected to (P-value) is less than the maximum error allowed (  -value). When P-value is less than  -value, we can safely make the conclusion “Reject H 0 ”. By doing so, the error we are subjected to (P-value) is less than the maximum error allowed (  -value).

Horng-Chyi HorngStatistics II50 Type II Error - Fail to reject H 0 while H 0 is false

Horng-Chyi HorngStatistics II51 How to calculate Type II Error? (I) (H 0 :  =  0 Vs. H 1 :    0 ) Under the circumstance of type II error, H 0 is false. Supposed that the true value of the mean is  =  0 + , where  > 0. The distribution of Z 0 is: Under the circumstance of type II error, H 0 is false. Supposed that the true value of the mean is  =  0 + , where  > 0. The distribution of Z 0 is:

Horng-Chyi HorngStatistics II52 How to calculate Type II Error? (II) - refer to section &4.3 (&8.1) n Type II error occurred when (fail to reject H 0 while H 0 is false) n Therefore,

Horng-Chyi HorngStatistics II53 The Sample Size (I) Given values of  and , find the required sample size n to achieve a particular level of .. Given values of  and , find the required sample size n to achieve a particular level of ..

Horng-Chyi HorngStatistics II54 The Sample Size (II) n Two-sided Hypothesis Testing n One-sided Hypothesis Testing

Horng-Chyi HorngStatistics II55 Example 8-3

Horng-Chyi HorngStatistics II56 The Operating Characteristic Curves - Normal test (z-test) n Use to performing sample size or type II error calculations. n The parameter d is defined as: so that it can be used for all problems regardless of the values of  0 and . n Chart VI a,b,c,d are for Z-test.

Horng-Chyi HorngStatistics II57 Example 8-5

Horng-Chyi HorngStatistics II58

Horng-Chyi HorngStatistics II59

Horng-Chyi HorngStatistics II60 Large Sample Test If n  30, then the sample variance s 2 will be close to  2 for most samples. If n  30, then the sample variance s 2 will be close to  2 for most samples. Therefore, if population variance  2 is unknown but n  30, we can substitute  with s in the test procedure with little harmful effect. Therefore, if population variance  2 is unknown but n  30, we can substitute  with s in the test procedure with little harmful effect.

Horng-Chyi HorngStatistics II61 Large Sample Hypothesis Testing on  - Variance Unknown but n  30

Horng-Chyi HorngStatistics II62 Statistical Vs. Practical Significance n Practical Significance = = 0.5 n Statistical Significance P-Value for each sample size n.

Horng-Chyi HorngStatistics II63 Notes be careful when interpreting the results from hypothesis testing when the sample size is large, because any small departure from the hypothesized value  0 will probably be detected, even when the difference is of little or no practical significance. be careful when interpreting the results from hypothesis testing when the sample size is large, because any small departure from the hypothesized value  0 will probably be detected, even when the difference is of little or no practical significance. n In general, two types of conclusion can be drawn: 1. At  = 0.**, we have enough evidence to reject H At  = 0.**, we do not have enough evidence to reject H 0.

Horng-Chyi HorngStatistics II64 Confidence Interval on the Mean (I) n Point Vs. Interval Estimation n The general form of interval estimate is L    U in which we always attach a possible error  such that P(L   U) = 1-  That is, we have 1-  confidence that the true value of  will fall within [L, U]. n Interval Estimate is also called Confidence Interval (C.I.).

Horng-Chyi HorngStatistics II65 Confidence Interval on the Mean (II) n L is called the lower-confidence limit and U is the upper-confidence limit. n Two-sided C.I. Vs. One-sided C.I.

Horng-Chyi HorngStatistics II66 Construction of the C.I. n From Central Limit Theory, n Use standardization and the properties of Z,

Horng-Chyi HorngStatistics II67 Formula for C.I. on the Mean with Variance Known n Used when 1. Variance known 2. n  30, use s to estimate .

Horng-Chyi HorngStatistics II68 Example 8-6 Consider the rocket propellant problem in Example 8-2. Find a 95% C.I. on the mean burning rate? 95% C.I =>  = 0.05, z  /2 = z = 1.96 z  /2 = z = 1.96

Horng-Chyi HorngStatistics II69 Notes - C.I. n Relationship between Hypothesis Testing and C.I.s Confidence level (1-  ) and precision of estimation (C.I. * 1/2) Confidence level (1-  ) and precision of estimation (C.I. * 1/2) n Sample size and C.I.s

Horng-Chyi HorngStatistics II70 Choice of Sample Size to Achieve Precision of Estimation

Horng-Chyi HorngStatistics II71 Example 8-7

Horng-Chyi HorngStatistics II72 One-Sided C.I.s on the Mean

Horng-Chyi HorngStatistics II73 Inference on the Mean of a Population - Variance Unknown H 0 :  =  0 H 0 :  =  0 H 1 :    0, where  0 is a specified constant. Variance unknown, therefore, use s instead of  in the test statistic. Variance unknown, therefore, use s instead of  in the test statistic. &4-5 (&8-3) n If n is large enough (  30), we can use the test procedure in &4-4 (&8-2). However, n is usually small. In this case, T0 will not follow the standard normal distribution.

Horng-Chyi HorngStatistics II74 Inference on the Mean of a Population - Variance Unknown Let X 1, X 2, …, X n be a random sample for a normal distribution with unknown mean  and unknown variance  2. The quantity Let X 1, X 2, …, X n be a random sample for a normal distribution with unknown mean  and unknown variance  2. The quantity has a t distribution with n - 1 degrees of freedom.

Horng-Chyi HorngStatistics II75

Horng-Chyi HorngStatistics II76 The Reasoning n For H 0 to be true, the value of T 0 can not be too large or too small. What values of T 0 should we reject H 0 ? (based on  value) What values of T 0 should we reject H 0 ? (based on  value) What values of T 0 should we conclude that there is not enough evidence to reject H 0 ? What values of T 0 should we conclude that there is not enough evidence to reject H 0 ? n Although when n  30, we can use Z 0 in section &8-2 to perform the testing instead. We prefer using T 0 to more accurately reflect the real testing result if t-table is available.

Horng-Chyi HorngStatistics II77

Horng-Chyi HorngStatistics II78 Example 8-8

Horng-Chyi HorngStatistics II79

Horng-Chyi HorngStatistics II80 Testing for Normality (Example 8-8) - t-test assumes that the data are a random sample from a normal population (1) Box Plot(2) Normality Probability Plot

Horng-Chyi HorngStatistics II81 Hypothesis Testing on  - Variance Unknown

Horng-Chyi HorngStatistics II82 Finding P-Values n Steps: 1. Find the degrees of freedom (k = n-1)in the t-table. 2. Compare T 0 to the values in that row and find the closest one. 3. Look the  value associated with the one you pick. The p-value of your test is equal to this  value. In example 8-8, T 0 = 4.90, k = n-1 = 21, P-Value < because the t value associated with (k = 21,  = ) is In example 8-8, T 0 = 4.90, k = n-1 = 21, P-Value < because the t value associated with (k = 21,  = ) is

Horng-Chyi HorngStatistics II83 P-Values of Hypothesis Testing on  - Variance Unknown

Horng-Chyi HorngStatistics II84 The Operating Characteristic Curves - t-test n Use to performing sample size or type II error calculations. n The parameter d is defined as: so that it can be used for all problems regardless of the values of  0 and . n Chart VI e,f,g,h are used in t-test. (pp. A14-A15)

Horng-Chyi HorngStatistics II85 Example 8-9 n In example 8-8, if the mean load at failure differs from 10 MPa by as much as 1 MPa, is the sample size n = 22 adequate to ensure that H 0 will be rejected with probability at least 0.8? s = 3.55, therefore, d = 1.0/3.55 = Appendix Chart VI g, for d = 0.28, n = 22 =>  = 0.68 The probability of rejecting H 0 :  = 10 if the true mean exceeds this by 1.0 MPa (reject H 0 while H 0 is false) is approximately 1 -  = 0.32, which is too small. Therefore n = 22 is not enough. At the same chart, d = 0.28,  = 0.2 (1-  =0.8) => n = 75

Horng-Chyi HorngStatistics II86

Horng-Chyi HorngStatistics II87 Construction of the C.I. on the Mean - Variance Unknown n In general, the distribution of is t with n-1 d.f. n Use the properties of t with n-1 d.f.,

Horng-Chyi HorngStatistics II88 Formula for C.I. on the Mean with Variance Unknown

Horng-Chyi HorngStatistics II89 Example 8-10 Reconsider the tensile adhesive problem in Example 8-8. Find a 95% C.I. on the mean? N = 22, sample mean = 13.71, s = 3.55, t  /2,n-1 = t 0.025,21 = N = 22, sample mean = 13.71, s = 3.55, t  /2,n-1 = t 0.025,21 = (3.55) /  22    (3.55) /        The 95% C.I. On the mean is [12.14, 15.28]

Horng-Chyi HorngStatistics II90 Final Note for the Inference on the Mean