&TwoDOE Class 90a1 &2 Simple Comparative Experiments Statistical Plots Sampling and Sampling Distributions Hypothesis Testing Confidence Interval.

Slides:



Advertisements
Similar presentations
Is it statistically significant?
Advertisements

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 STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
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.
Chapter Four Parameter Estimation and Statistical Inference.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
Probability & Statistical Inference Lecture 6 MSc in Computing (Data Analytics)
Elementary hypothesis testing
STAT0_sampling Random Sampling  母體: Finite population & Infinity population  由一大小為 N 的有限母體中抽出一樣本數為 n 的樣 本,若每一樣本被抽出的機率是一樣的,這樣本稱 為隨機樣本 (random sample)
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Chapter 9 Hypothesis tests with the t statistic. 當母體  為未知時 ( 我們通常不知 ) ,用樣本 s 來取代 因為用 s 來估計  ,所呈現出來的分佈已不 是 z distribution ,而是 t distribution.
2009fallStat_samplec.i.1 Chap10 Sampling distribution (review) 樣本必須是隨機樣本 (random sample) ,才能代表母體 Sample mean 是一隨機變數,隨著每一次抽出來的 樣本值不同,它的值也不同,但會有規律性 為了要知道估計的精確性,必需要知道樣本平均數.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Elementary hypothesis testing Purpose of hypothesis testing Type of hypotheses Type of errors Critical regions Significant levels Hypothesis vs intervals.
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
1 Ch3 Inference About Process Quality 1.Sampling from a Normal distributionSampling from a Normal distribution 2.Sampling from a Bernoulli distributionSampling.
政治大學中山所共同選修 課程名稱: 社會科學計量方法與統計-計量方法 Methodology of Social Sciences 授課內容: Inference in the Simple Regression Model 日期: 2003 年 10 月日.
Chapter 7 Sampling 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.
Chapter 2 Simple Comparative Experiments
Inference for Simple Regression Social Research Methods 2109 & 6507 Spring 2006 March 15, 16, 2006.
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.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
Chapter 12 Estimation 統計估計. Inferential statistics Parametric statistics 母數統計 ( 母體為常態或 大樣本 ) 假設檢定 hypothesis testing  對有關母體參數的假設,利用樣本資料,決定接受或 不接受該假設的方法.
5-3 Inference on the Means of Two Populations, Variances Unknown
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
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Experimental Statistics - week 2
Introduction to Hypothesis Testing
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University.
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.
+ 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
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.
Statistical Distributions
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
1 Inference on the Variance So if the test is: H 0 :  =  0 H 1 :    0 The test statistic then becomes which follows a chi-square distribution with.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
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 Hypothesis & Testing. CHAPTER OUTLINE 4-1 STATISTICAL INFERENCE 4-2 POINT ESTIMATION 4-3 HYPOTHESIS TESTING Statistical Hypotheses Testing.
Ch 11 實習 (1). Jia-Ying Chen2 Introduction 所謂假設檢定,係指在尚未蒐集樣本資料、進行 推論之前,就事先對母體的某種特徵性質作一合 理的假設敘述,再利用隨機抽出的樣本及抽樣分 配,配合機率原理,以判斷此項假設是否為真 若抽出的樣本資料與所陳述的假設很不一致,檢.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Ch 11 實習 (1).
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.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Statistics fun and exciting Workshop. What’s going to be covered Diagrams Data Summary and Presentation Binomial distribution Engineering/Statistics Toolbox.
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.
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.
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.
Chapter 9 Hypothesis Testing.
9 Tests of Hypotheses for a Single Sample CHAPTER OUTLINE
Inference on the Mean of a Population -Variance Known
Presentation transcript:

&TwoDOE Class 90a1 &2 Simple Comparative Experiments Statistical Plots Sampling and Sampling Distributions Hypothesis Testing Confidence Interval

&TwoDOE Class 90a2 點圖 (Dot Diagram) ~

&TwoDOE Class 90a3 直方圖 (Histogram)

&TwoDOE Class 90a4 盒形圖 (Box Plot)

&TwoDOE Class 90a5 時間序列圖 (Time Series Plot)

&TwoDOE Class 90a6 期望值與變異數之公式 母體平均數 ( m  ) = 隨機變數之期望值 E(X) 母體變異數 ( s  2 ) = 隨機變數之變異數 V(X)

&TwoDOE Class 90a7 期望值與變異數之公式

&TwoDOE Class 90a8 Sample and Sampling

&TwoDOE Class 90a9 點估計 (Point Estimation) 以抽樣得來之樣本資料, 依循某一公式計算出單一數值, 來估計母體參數, 稱為點估計. 好的點估計公式之條件 : 不偏性 最小變異 常用之點估計 : 母體平均數 ( m ) 母體變異數 ( s 2 )

&TwoDOE Class 90a10 Central Limit Theorem

&TwoDOE Class 90a11 假設檢定 (Hypothesis Testing) “A person is innocent until proven guilty beyond a reasonable doubt.” 在沒有充分證據證明其犯罪之前, 任何人皆是清白的. 假設檢定 H0:  = 50 cm/s H1:   50 cm/s Null Hypothesis (H 0 ) Vs. Alternative Hypothesis (H 1 ) One-sided and two-sided Hypotheses A statistical hypothesis is a statement about the parameters of one or more populations.

&TwoDOE Class 90a12 About Testing Critical Region Acceptance Region Critical Values

&TwoDOE Class 90a13 Errors in Hypothesis Testing 檢定結果可能為 Type I Error(  ): Reject H 0 while H 0 is true. Type II Error(  ): Fail to reject H 0 while H 0 is false.

&TwoDOE Class 90a14

&TwoDOE Class 90a15 Making Conclusions We always know the risk of rejecting H 0, i.e.,  the significant level or the risk. We therefore do not know the probability of committing a type II error (  ). Two ways of making conclusion: 1. Reject H 0 2. Fail to reject H 0, (Do not say accept H 0 ) or there is not enough evidence to reject H 0.

&TwoDOE Class 90a16 Significant Level (  )  = P(type I error) = P(reject H 0 while H 0 is true) n = 10,  = 2.5  /  n = 0.79

&TwoDOE Class 90a17

&TwoDOE Class 90a18

&TwoDOE Class 90a19

&TwoDOE Class 90a20

&TwoDOE Class 90a21 The Power of a Statistical Test Power = 1 -  Power = the sensitivity of a statistical test

&TwoDOE Class 90a22 1. From the problem context, identify the parameter of interest. 2. State the null hypothesis, H Specify an appropriate alternative hypothesis, H Choose a significance level a. 5. State an appropriate test statistic. 6. State the rejection region for the statistic. 7. Compute any necessary sample quantities, substitute these into the equation for the test statistic, and compute that value. 8. Decide whether or not H 0 should be rejected and report that in the problem context. General Procedure for Hypothesis Testing

&TwoDOE Class 90a23 Inference on the Mean of a Population - Variance Known H 0 :  =  0 H 1 :    0, where  0 is a specified constant. Sample mean is the unbiased point estimator for population mean.

&TwoDOE Class 90a24 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?

&TwoDOE Class 90a25 1.The parameter of interest is , the meaning burning rate. 2.H 0 :  = 50 cm/s 3.H 1 :   50 cm/s  = The test statistics is: 6.Reject H0 if Z 0 > 1.96 or Z 0 < (because Z  = Z = 1.96) 7.Computations: 8.Conclusions: Since Z 0 = 3.25 > 1.96, we reject H 0 :  = 50 at the 0.05 level of significance. We conclude that the mean burning rate differs from 50 cm/s, based on a sample of 25 measurements. In fact, there is string evidence that the mean burning rate exceeds 50 cm/s.

&TwoDOE Class 90a26 P-Values in Hypothesis Tests Where Z 0 is the test statistic, and  (z) is the standard normal cumulative function.

&TwoDOE Class 90a27 The Sample Size (I) Given values of  and , find the required sample size n to achieve a particular level of ..

&TwoDOE Class 90a28 The Operating Characteristic Curves - Normal test (z-test) Use to performing sample size or type II error calculations. The parameter d is defined as: so that it can be used for all problems regardless of the values of  0 and . 課本 41 頁之公式為兩平均數差之假設檢定所需之樣本 數公式。

&TwoDOE Class 90a29

&TwoDOE Class 90a30 Construction of the C.I. From Central Limit Theory, Use standardization and the properties of Z,

&TwoDOE Class 90a31 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 has a t distribution with n - 1 degrees of freedom.

&TwoDOE Class 90a32 Inference on the Mean of a Population - Variance Unknown H 0 :  =  0 H 1 :    0, where  0 is a specified constant. Variance unknown, therefore, use s instead of  in the test statistic. If n is large enough (  30), we can use Z-test. However, n is usually small. In this case, T 0 will not follow the standard normal distribution.

&TwoDOE Class 90a33 Inference for the Difference in Means -Two Normal Distributions and Variance Unknown Why?

&TwoDOE Class 90a34

&TwoDOE Class 90a35 is distributed approximately as t with degrees of freedom given by

&TwoDOE Class 90a36 C.I. on the Difference in Means

&TwoDOE Class 90a37 C.I. on the Difference in Means

&TwoDOE Class 90a38 Paired t-Test When the observations on the two populations of interest are collected in pairs. Let (X 11, X 21 ), (X 12, X 22 ), …, (X 1n, X 2n ) be a set of n paired observations, in which X 1j ~(  1,  1 2 ) and X 2j ~(  2,  2 2 ) and D j = X 1j – X 2j, j = 1, 2, …, n. Then, to test H 0 :  1 =  2 is the same as performing a one- sample t-test H 0 :  D = 0 since  D = E(X 1 -X 2 ) = E(X 1 )-E(X 2 ) =  1 -  2

&TwoDOE Class 90a39

&TwoDOE Class 90a40 Inference on the Variance of a Normal Population (I) H 0 :  2 =  0  H 1 :  2   0 , where  0  is a specified constant. Sampling from a normal distribution with unknown mean  and unknown variance  2, the quantity has a Chi-square distribution with n-1 degrees of freedom. That is,

&TwoDOE Class 90a41 Inference on the Variance of a Normal Population (II) Let X 1, X 2, …, X n be a random sample for a normal distribution with unknown mean  and unknown variance  2. To test the hypothesis H 0 :  2 =  0  H 1 :  2   0 , where  0  is a specified constant. We use the statistic If H 0 is true, then the statistic has a chi-square distribution with n-1 d.f..

&TwoDOE Class 90a42

&TwoDOE Class 90a43 The Reasoning For H 0 to be true, the value of  0 2 can not be too large or too small. What values of  0 2 should we reject H 0 ? (based on  value) What values of  0 2 should we conclude that there is not enough evidence to reject H 0 ?

&TwoDOE Class 90a44

&TwoDOE Class 90a45 Example 8-11 An automatic filling machine is used to fill bottles with liquid detergent. A random sample of 20 bottles results in a sample variance of fill volume of s 2 = (fluid ounces) 2. If the variance of fill volume exceeds 0.01 (fluid ounces) 2, an unacceptable proportion of bottles will be underfilled and overfilled. Is there evidence in the sample data to suggest that the manufacturer has a problem with underfilled and overfilled bottles? Use  = 0.05, and assume that fill volume has a normal distribution.

&TwoDOE Class 90a46 1. The parameter of interest is the population variance  H 0 :  2 = H 1 :  2   = The test statistics is 6. Reject H 0 if 7. Computations: 8. Conclusions: Since, we conclude that there is no strong evidence that the variance of fill volume exceeds 0.01 (fluid ounces) 2.

&TwoDOE Class 90a47 Hypothesis Testing on Variance - Normal Population

&TwoDOE Class 90a48 The Test Procedure for Two Variances Comparison

&TwoDOE Class 90a49

&TwoDOE Class 90a50

&TwoDOE Class 90a51

&TwoDOE Class 90a52 Hypothesis Testing on the Ratio of Two Variances