Hypothesis Testing (2) Barrow, Statistics for Economics, Accounting and Business Studies, 4 th edition Pearson Education Limited 2006

Similar documents
Chapter 5: Hypothesis testing

Common Large/Small Sample Tests 1/55

Statistics. Chapter 10 Two-Sample Tests. Copyright 2013 Pearson Education, Inc. publishing as Prentice Hall. Chap 10-1

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 9

LESSON 20: HYPOTHESIS TESTING

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

Successful HE applicants. Information sheet A Number of applicants. Gender Applicants Accepts Applicants Accepts. Age. Domicile

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

Stat 200 -Testing Summary Page 1

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

A Statistical hypothesis is a conjecture about a population parameter. This conjecture may or may not be true. The null hypothesis, symbolized by H

University of California, Los Angeles Department of Statistics. Hypothesis testing

Properties and Hypothesis Testing

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion

Statistical Inference About Means and Proportions With Two Populations

Final Examination Solutions 17/6/2010

Section 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Chapter two: Hypothesis testing

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y.

Lecture 9: Independent Groups & Repeated Measures t-test

Data Analysis and Statistical Methods Statistics 651

Chapter 13, Part A Analysis of Variance and Experimental Design

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018

STAT431 Review. X = n. n )

1036: Probability & Statistics

Chapter 4 Tests of Hypothesis

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

MA238 Assignment 4 Solutions (part a)

Biostatistics for Med Students. Lecture 2

Math 140 Introductory Statistics

Notes on Hypothesis Testing, Type I and Type II Errors

SOLUTIONS y n. n 1 = 605, y 1 = 351. y1. p y n. n 2 = 195, y 2 = 41. y p H 0 : p 1 = p 2 vs. H 1 : p 1 p 2.

Lecture 5: Parametric Hypothesis Testing: Comparing Means. GENOME 560, Spring 2016 Doug Fowler, GS

Comparing your lab results with the others by one-way ANOVA

Chapter 20. Comparing Two Proportions. BPS - 5th Ed. Chapter 20 1

Samples from Normal Populations with Known Variances

6 Sample Size Calculations

Sampling, Sampling Distribution and Normality

Topic 18: Composite Hypotheses

Mathematical Notation Math Introduction to Applied Statistics

Dr. Maddah ENMG 617 EM Statistics 11/26/12. Multiple Regression (2) (Chapter 15, Hines)

Frequentist Inference

Important Formulas. Expectation: E (X) = Σ [X P(X)] = n p q σ = n p q. P(X) = n! X1! X 2! X 3! X k! p X. Chapter 6 The Normal Distribution.

This is an introductory course in Analysis of Variance and Design of Experiments.

1 Constructing and Interpreting a Confidence Interval

Sampling Error. Chapter 6 Student Lecture Notes 6-1. Business Statistics: A Decision-Making Approach, 6e. Chapter Goals

1 Inferential Methods for Correlation and Regression Analysis

Lecture 8: Non-parametric Comparison of Location. GENOME 560, Spring 2016 Doug Fowler, GS

( )( ) χ = where Ei = npi. χ = where. : At least one proportion differs significantly. H0 : The two classifications are independent H

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

Exam II Review. CEE 3710 November 15, /16/2017. EXAM II Friday, November 17, in class. Open book and open notes.

S Y Y = ΣY 2 n. Using the above expressions, the correlation coefficient is. r = SXX S Y Y

Stat 319 Theory of Statistics (2) Exercises

Describing the Relation between Two Variables

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight)

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

Sample Size Determination (Two or More Samples)

BIOS 4110: Introduction to Biostatistics. Breheny. Lab #9

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions

Introductory statistics

Sampling Distributions, Z-Tests, Power

Composite Hypotheses

STATISTICAL INFERENCE

Y i n. i=1. = 1 [number of successes] number of successes = n

Chapter 8: Estimating with Confidence

Math 152. Rumbos Fall Solutions to Review Problems for Exam #2. Number of Heads Frequency

1 Constructing and Interpreting a Confidence Interval

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Chapter 1 (Definitions)

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL/MAY 2009 EXAMINATIONS ECO220Y1Y PART 1 OF 2 SOLUTIONS

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Power and Type II Error

(7 One- and Two-Sample Estimation Problem )

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

UCLA STAT 110B Applied Statistics for Engineering and the Sciences

Agenda: Recap. Lecture. Chapter 12. Homework. Chapt 12 #1, 2, 3 SAS Problems 3 & 4 by hand. Marquette University MATH 4740/MSCS 5740

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D.

Working with Two Populations. Comparing Two Means

Pearson Edexcel Level 3 Advanced Subsidiary and Advanced GCE in Statistics

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday

Regression, Inference, and Model Building

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

Statistical inference: example 1. Inferential Statistics

Expectation and Variance of a random variable

ST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n.

The Hong Kong University of Science & Technology ISOM551 Introductory Statistics for Business Assignment 3 Suggested Solution

5. Likelihood Ratio Tests

One-Sample Test for Proportion

Transcription:

Hypothesis Testig () Lecture 8 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Hypothesis Testig () So far we have looked at hypothesis testig about a sigle populatio parameter H 0 : =5000 Now we look at testig hypotheses about differeces betwee two populatio parameters E.g. are wome paid less tha me? Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Formal Layout of a Problem. Specify the ull ad alterative hypothesis. Choose sigificace level, e.g. 5% 3. Look up critical value from z or t tables 4. Calculate the test statistic 5. Decisio: i reject or do ot reject th 0 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Testig the Differece of Two Meas To test whether two samples are draw from populatios with the same mea H 0 : = or H 0 : = 0 H : or H 0 : 0 0 The test statistic is z x x s s Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Example: Car Compay has Two Factories Average daily output for 30 days is Output the Same? 40 408 Stadard dev of daily output 5 0 H 0 : = or =0 0 H : 0 Sigificace level of % implies z * 0.005=.57 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

z x x 40 408 0 s s 5 30 0 30.05 z<z * so it falls i the o-rejectio regio ad therefore we do ot reject the ull hypothesis. There does ot seem to be eough evidece to reject the claim that output is the same i each factory Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Testig the Differece of Two Proportios To test whether two sample proportios are equal H 0 : = or H 0 : = 0 0 0 H : or H : 0 The test statistic is z p p ˆ ˆ ˆ ˆ ˆ p p Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Example: Customer Satisfactio Are Customers Equally Satisfied with Differet Tours? proportio who say they are satisfied 45/75 48/90 H 0 : =0 H : 0 Sigificace level of 5%, z * 0.05 05=.96 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

p p 75*0.6 90*0.533 75 90 ˆ z p p ˆ ˆ ˆ ˆ 0.6 0.533 0 0.564 0.564 0.564 0.564 75 90 0.86 z<z * so we do ot reject the ull hypothesis 0.564 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Small llsamples: Testig the Differece of Two Meas The test statistic is x x t S ~ t( S where S is the pooled ldvariace S s s ) Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Idepedet ad Depedet Samples So far assumed our samples are draw idepedetly Ofte we have depedetd samples (e.g. before bf ad after tests, or scores o macro ad micro exams) We use a differet approach to use the ifo. that the data comes from the same observatio Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Example: Paired Samples Worker 3 4 5 6 7 8 9 0 Before 4 3 5 8 7 4 4 7 After 3 7 4 8 9 4 5 6 8 Improve met 3 3 4 0 3 x x x B A 3.5, s 3.0, 0 5.5, s Improvemet B.55, 0 A.00, s Improvemet.47, 0 Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

H H A t 0 : improveme t * 0.05,9 t : improvemet.833.0 0.47 0 0 0 5.07 t>t* t* so we reject the ull hypothesis ad coclude that t traiig has improved worker productivity Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006

Summary The priciples are the same for all tests: calculate the test statistic ad see if it falls ito the rejectio regio The formula for the test statistic depeds upo the problem (mea, proportio, etc) The rejectio regio varies, depedig upo whether it is a oe or two tailed test For large samples we ca always use a z test If is small we ca still use z test if the populatio variace is kow Otherwise use a t (ad pool variaces) Barrow, Statistics for Ecoomics, Accoutig ad Busiess Studies, 4 th editio Pearso Educatio Limited 006