1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.

Slides:



Advertisements
Similar presentations
Estimation of Means and Proportions
Advertisements

Two-Sample Inference Procedures with Means. Remember: We will be intereste d in the differen ce of means, so we will use this to find standard error.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Chapter 10 Two-Sample Tests
Pengujian Hipotesis Beda Nilai Tengah Pertemuan 20 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Note 11 of 5E Statistics with Economics and Business Applications Chapter 7 Estimation of Means and Proportions Small-Sample Estimation of a Population.
Two Population Means Hypothesis Testing and Confidence Intervals With Known Standard Deviations.
BCOR 1020 Business Statistics
1 Pertemuan 09 Pengujian Hipotesis Proporsi dan Data Katagorik Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Chapter 11: Inference for Distributions
Basic Business Statistics (9th Edition)
Chapter 9 Hypothesis Testing.
Note 12 of 5E Statistics with Economics and Business Applications Chapter 8 Test of Hypotheses for Means and Proportions Null and alternative hypotheses,
PSY 307 – Statistics for the Behavioral Sciences
1 (Student’s) T Distribution. 2 Z vs. T Many applications involve making conclusions about an unknown mean . Because a second unknown, , is present,
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
PSY 307 – Statistics for the Behavioral Sciences
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Overview Definition Hypothesis
Statistical Analysis Statistical Analysis
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
CHAPTER 18: Inference about a Population Mean
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Section 8-5 Testing a Claim about a Mean: σ Not Known.
© Copyright McGraw-Hill 2000
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Kruskal-Wallis H TestThe Kruskal-Wallis H Test is a nonparametric procedure that can be used to compare more than two populations in a completely randomized.
to accompany Introduction to Business Statistics
MTH3003 PJJ SEM II 2014/2015 F2F II 12/4/2015.  ASSIGNMENT :25% Assignment 1 (10%) Assignment 2 (15%)  Mid exam :30% Part A (Objective) Part B (Subjective)
© Copyright McGraw-Hill 2004
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 26 Chapter 11 Section 1 Inference about Two Means: Dependent Samples.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Copyright ©2011 Nelson Education Limited Inference from Small Samples CHAPTER 10.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 9 Inferences Based on Two Samples: Confidence Intervals and Tests of Hypothesis.
Lecture Slides Elementary Statistics Twelfth Edition
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
1 Pertemuan 09 & 10 Pengujian Hipotesis Mata kuliah : A Statistik Ekonomi Tahun: 2010.
Essential Statistics Chapter 171 Two-Sample Problems.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Copyright ©2003 Brooks/Cole A division of Thomson Learning, Inc. Sampling Distributions statistics Numerical descriptive measures calculated from the sample.
8-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
Chapter 9 Introduction to the t Statistic
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Chapter 10 Two-Sample Tests and One-Way ANOVA.
Quantitative Methods Varsha Varde.
Chapter 10 Two Sample Tests
Chapter 9: Inferences Involving One Population
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Math 4030 – 10a Tests for Population Mean(s)
CONCEPTS OF ESTIMATION
Elementary Statistics
Chapter 10 Two-Sample Tests
Lecture Slides Elementary Statistics Twelfth Edition
Presentation transcript:

1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006

2 Outline Materi : Uji hipotesis rata-rata Uji hipotesis beda rata-rata peubah bebas Uji hipotesis beda rata-rata peubah berpasangan

3 Inference from Small Samples I Some graphic screen captures from Seeing Statistics ® Some images © 2001-(current year)

4 Introduction When the sample size is small, the estimation and testing procedures of large samples are not appropriate. There are equivalent small sample test and estimation procedures for , the mean of a normal population      the difference between two population means  2, the variance of a normal population The ratio of two population variances.

5 The Sampling Distribution of the Sample Mean When we take a sample from a normal population, the sample mean has a normal distribution for any sample size n, and has a standard normal distribution. is not normalBut if  is unknown, and we must use s to estimate it, the resulting statistic is not normal.

6 Student ’ s t Distribution Student ’ s t distribution, n-1 degrees of freedom.Fortunately, this statistic does have a sampling distribution that is well known to statisticians, called the Student ’ s t distribution, with n-1 degrees of freedom. We can use this distribution to create estimation testing procedures for the population mean .

7 Properties of Student ’ s t degrees of freedom, n-1.Shape depends on the sample size n or the degrees of freedom, n-1. As n increase, variability of t decrease because the estimate s is based on more and more information. As n increases the shapes of the t and z distributions become almost identical. Mound-shapedMound-shaped and symmetric about 0. More variable than zMore variable than z, with “heavier tails” Applet

8 Using the t-Table Table 4 gives the values of t that cut off certain critical values in the tail of the t distribution. df a t a,Index df and the appropriate tail area a to find t a,the value of t with area a to its right. For a random sample of size n = 10, find a value of t that cuts off.025 in the right tail. Row = df = n –1 = 9 t.025 = Column subscript = a =.025

9 Small Sample Inference for a Population Mean  The basic procedures are the same as those used for large samples. For a test of hypothesis:

10 For a 100(1  )% confidence interval for the population mean  Small Sample Inference for a Population Mean 

11 Example A sprinkler system is designed so that the average time for the sprinklers to activate after being turned on is no more than 15 seconds. A test of 5 systems gave the following times: 17, 31, 12, 17, 13, 25 Is the system working as specified? Test using  =.05.

12 Example Data: Data: 17, 31, 12, 17, 13, 25 First, calculate the sample mean and standard deviation, using your calculator or the formulas in Chapter 2.

13 Example Data: Data: 17, 31, 12, 17, 13, 25 Calculate the test statistic and find the rejection region for  =.05. Rejection Region: Reject H 0 if t > If the test statistic falls in the rejection region, its p-value will be less than  =.05.

14 Conclusion Data: Data: 17, 31, 12, 17, 13, 25 Compare the observed test statistic to the rejection region, and draw conclusions. Conclusion: For our example, t = 1.38 does not fall in the rejection region and H 0 is not rejected. There is insufficient evidence to indicate that the average activation time is greater than 15.

15 Approximating the p-value You can only approximate the p-value for the test using Table 4. Since the observed value of t = 1.38 is smaller than t.10 = 1.476, p-value >.10.

16 The exact p-value You can get the exact p-value using some calculators or a computer. One-Sample T: Times Test of mu = 15 vs mu > 15 Variable N Mean StDev SE Mean Times Variable 95.0% Lower Bound T P Times One-Sample T: Times Test of mu = 15 vs mu > 15 Variable N Mean StDev SE Mean Times Variable 95.0% Lower Bound T P Times p-value =.113 which is greater than.10 as we approximated using Table 4. Applet

17 Testing the Difference between Two Means To test: H 0 :      D 0 versus H a :  one of three where D 0 is some hypothesized difference, usually 0.

18 Testing the Difference between Two Means The test statistic used in Chapter 9 does not have either a z or a t distribution, and cannot be used for small-sample inference. We need to make one more assumption, that the population variances, although unknown, are equal.

19 Testing the Difference between Two Means Instead of estimating each population variance separately, we estimate the common variance with has a t distribution with n 1 +n 2 -2=(n 1 - 1)+(n 2 -1) degrees of freedom. And the resulting test statistic,

20 Estimating the Difference between Two Means You can also create a 100(1-  )% confidence interval for  1 -  2. Remember the three assumptions: 1.Original populations normal 2.Samples random and independent 3.Equal population variances. Remember the three assumptions: 1.Original populations normal 2.Samples random and independent 3.Equal population variances.

21 Example Two training procedures are compared by measuring the time that it takes trainees to assemble a device. A different group of trainees are taught using each method. Is there a difference in the two methods? Use  =.01. Time to Assemble Method 1Method 2 Sample size1012 Sample mean3531 Sample Std Dev

22 Example Solve this problem by approximating the p- value using Table 4. Time to Assemble Method 1Method 2 Sample size1012 Sample mean3531 Sample Std Dev Applet

23 Example.025 < ½( p-value) < < p-value <.10 Since the p-value is greater than  =.01, H 0 is not rejected. There is insufficient evidence to indicate a difference in the population means..025 < ½( p-value) < < p-value <.10 Since the p-value is greater than  =.01, H 0 is not rejected. There is insufficient evidence to indicate a difference in the population means. df = n 1 + n 2 – 2 = – 2 = 20

24 Testing the Difference between Two Means How can you tell if the equal variance assumption is reasonable?

25 Testing the Difference between Two Means If the population variances cannot be assumed equal, the test statistic has an approximate t distribution with degrees of freedom given above. This is most easily done by computer.

26 The Paired-Difference Test matched-pairspaired-difference testSometimes the assumption of independent samples is intentionally violated, resulting in a matched-pairs or paired-difference test. By designing the experiment in this way, we can eliminate unwanted variability in the experiment by analyzing only the differences, d i = x 1i – x 2i to see if there is a difference in the two population means,     

27 Example One Type A and one Type B tire are randomly assigned to each of the rear wheels of five cars. Compare the average tire wear for types A and B using a test of hypothesis. Car12345 Type A Type B But the samples are not independent. The pairs of responses are linked because measurements are taken on the same car.

28 The Paired-Difference Test

29 Example Car12345 Type A Type B Difference

30 Example Car12345 Type A Type B Difference Rejection region: Reject H 0 if t > or t < Conclusion: Since t = 12.8, H 0 is rejected. There is a difference in the average tire wear for the two types of tires.

31 Some Notes You can construct a 100(1-  )% confidence interval for a paired experiment using Once you have designed the experiment by pairing, you MUST analyze it as a paired experiment. If the experiment is not designed as a paired experiment in advance, do not use this procedure.

32 Key Concepts I. Experimental Designs for Small Samples 1. Single random sample: The sampled population must be normal. 2.Two independent random samples: Both sampled populations must be normal. a.Populations have a common variance   2. b.Populations have different variances 3.Paired-difference or matched-pairs design: The samples are not independent.

33 Key Concepts