1 Pertemuan 09 & 10 Pengujian Hipotesis Mata kuliah : A0392 - Statistik Ekonomi Tahun: 2010.

Slides:



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

Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Chapter 10 Two-Sample Tests
Note 11 of 5E Statistics with Economics and Business Applications Chapter 7 Estimation of Means and Proportions Small-Sample Estimation of a Population.
BCOR 1020 Business Statistics
1 Pertemuan 09 Pengujian Hipotesis Proporsi dan Data Katagorik Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
1 Pertemuan 08 Pengujian Hipotesis 1 Matakuliah: I0272 – Statistik Probabilitas Tahun: 2005 Versi: Revisi.
8-4 Testing a Claim About a Mean
8-3 Testing a Claim about a Proportion
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Inferences About Process Quality
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,
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Slide 1 Copyright © 2004 Pearson Education, Inc..
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Overview Definition Hypothesis
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Chapter 10 Inferences from Two Samples
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Section 8-5 Testing a Claim about a Mean: σ Not Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 9-1 Review and Preview.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
to accompany Introduction to Business Statistics
Aim: How do we use a t-test?
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
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.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
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.
Week 5 Dr. Jenne Meyer.  Article review 5-Step Hypothesis Testing Procedure Step 1: Set up the null and alternative hypotheses. Step 2: Pick the level.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Copyright ©2003 Brooks/Cole A division of Thomson Learning, Inc. Sampling Distributions statistics Numerical descriptive measures calculated from the sample.
Chapter 9 Introduction to the t Statistic
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter Nine Hypothesis Testing.
Pertemuan 17 Pengujian Hipotesis
Inferential Statistics Inferences from Two Samples
Chapter 9: Inferences Involving One Population
Lecture Slides Elementary Statistics Twelfth Edition
Testing a Claim About a Mean:  Not Known
Chapter 8 Hypothesis Testing with Two Samples.
Elementary Statistics
Elementary Statistics
Hypothesis Tests for Two Population Standard Deviations
Hypothesis Tests for a Standard Deviation
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 8 Inferences from Two Samples
Chapter 8 Inferences from Two Samples
Presentation transcript:

1 Pertemuan 09 & 10 Pengujian Hipotesis Mata kuliah : A Statistik Ekonomi Tahun: 2010

2 Outline Materi : Uji hipotesis rata-rata dan proporsi Uji hipotesis beda dua rata-rata Uji hipotesis beda dua proporsi

3 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.

4 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.

5 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 .

6 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

7 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

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

9 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.

10 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.

11 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.

12 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.

13 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.

14 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

15 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.

16 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.

17 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,

18 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

19 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

20 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

21 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.

22 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,     

23 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.

24 The Paired-Difference Test

25 Example Car12345 Type A Type B Difference

26 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.

27 Key Concepts

28 The test statistic is a value computed from the sample data, and it is used in making the decision about the rejection of the null hypothesis. z = p - p  pq n  Test statistic for proportions

Solution: The preceding example showed that the given claim results in the following null and alternative hypotheses: H 0 : p = 0.5 and H 1 : p > 0.5. Because we work under the assumption that the null hypothesis is true with p = 0.5, we get the following test statistic: n pq  z = p – p  = (0.5)(0.5)  880 = 3.56

Figure 7-3

31 Inferences about Two Proportions Assumptions 1. We have proportions from two independent simple random samples. 2. For both samples, the conditions np  5 and nq  5 are satisfied.

32 population 2. The corresponding meanings are attached to p 2, n 2, x 2, p 2. and q 2, which come from ^^ Notation for Two Proportions For population 1, we let: p 1 = population proportion n 1 = size of the sample x 1 = number of successes in the sample p 1 = x 1 (the sample proportion) q 1 = 1 – p 1 ^^ n1n1 ^

33  The pooled estimate of p 1 and p 2 is denoted by p. Pooled Estimate of p 1 and p 2  q = 1 – p = p n 1 + n 2 x 1 + x 2

34 Test Statistic for Two Proportions For H 0 : p 1 = p 2, H 0 : p 1  p 2, H 0 : p 1  p 2 H 1 : p 1  p 2, H 1 : p 1 p 2 + z =z = ( p 1 – p 2 ) – ( p 1 – p 2 ) ^ ^ n1n1 pq n2n2

35 Test Statistic for Two Proportions where p 1 – p 2 = 0 (assumed in the null hypothesis) = p1p1 ^ x1x1 n1n1 p2p2 ^ x2x2 n2n2 = and q = 1 – p n 1 + n 2 p = x 1 + x 2 For H 0 : p 1 = p 2, H 0 : p 1  p 2, H 0 : p 1  p 2 H 1 : p 1  p 2, H 1 : p 1 p 2

Example:

200n1n1 n 1 = 200 x 1 = 24 p 1 = x 1 = 24 = ^ n2n2 n 2 = 1400 x 2 = 147 p 2 = x 2 = 147 = ^ H 0 : p 1 = p 2, H 1 : p 1 > p 2 p = x 1 + x 2 = = n 1 + n q = 1 – =

Example: 200n1n1 n 1 = 200 x 1 = 24 p 1 = x 1 = 24 = ^ n2n2 n 2 = 1400 x 2 = 147 p 2 = x 2 = 147 = ^ z = (0.120 – 0.105) – 0 ( )( ) + ( )( ) z = 0.64

Example: 200n1n1 n 1 = 200 x 1 = 24 p 1 = x 1 = 24 = ^ n2n2 n 2 = 1400 x 2 = 147 p 2 = x 2 = 147 = ^ z = 0.64 This is a right-tailed test, so the P- value is the area to the right of the test statistic z = The P-value is Because the P-value of is greater than the significance level of  = 0.05, we fail to reject the null hypothesis.

Example: For the sample data listed in Table 8-1, use a 0.05 significance level to test the claim that the proportion of black drivers stopped by the police is greater than the proportion of white drivers who are stopped. 200n1n1 n 1 = 200 x 1 = 24 p 1 = x 1 = 24 = ^ n2n2 n 2 = 1400 x 2 = 147 p 2 = x 2 = 147 = ^ z = 0.64 Because we fail to reject the null hypothesis, we conclude that there is not sufficient evidence to support the claim that the proportion of black drivers stopped by police is greater than that for white drivers. This does not mean that racial profiling has been disproved. The evidence might be strong enough with more data.

Example: 200n1n1 n 1 = 200 x 1 = 24 p 1 = x 1 = 24 = ^ n2n2 n 2 = 1400 x 2 = 147 p 2 = x 2 = 147 = ^

42 SELAMAT BELAJAR SEMOGA SUKSES SELALU