Inference on One Population Mean Hypothesis Testing

Similar documents
Introduction to mathematical Statistics

: : 8.2. Test About a Population Mean. STT 351 Hypotheses Testing Case I: A Normal Population with Known. - null hypothesis states 0

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Hypothesis Test We assume, calculate and conclude.

ELEG 3143 Probability & Stochastic Process Ch. 5 Elements of Statistics

Section 6.3: Geometric Sequences

Chapter 7 Infinite Series

PROGRESSIONS AND SERIES

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Lecture 17

Prior distributions. July 29, 2002

8: Large-Sample Estimation

For the percentage of full time students at RCC the symbols would be:

Numbers (Part I) -- Solutions

Limit of a function:

Tests for the Ratio of Two Poisson Rates

Definite Integral. The Left and Right Sums

CHAPTER 6: USING MULTIPLE REGRESSION

Linear Programming. Preliminaries

PEPERIKSAAN PERCUBAAN SPM TAHUN 2007 ADDITIONAL MATHEMATICS. Form Five. Paper 2. Two hours and thirty minutes

Probability and Stochastic Processes: A Friendly Introduction for Electrical and Computer Engineers Roy D. Yates and David J.

0 otherwise. sin( nx)sin( kx) 0 otherwise. cos( nx) sin( kx) dx 0 for all integers n, k.

Approximations of Definite Integrals

B. Examples 1. Finite Sums finite sums are an example of Riemann Sums in which each subinterval has the same length and the same x i

Common Large/Small Sample Tests 1/55

Chapter 7. , and is unknown and n 30 then X ~ t n

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

Lecture 3 Gaussian Probability Distribution

Particle in a Box. and the state function is. In this case, the Hermitian operator. The b.c. restrict us to 0 x a. x A sin for 0 x a, and 0 otherwise

Avd. Matematisk statistik

Graphing Review Part 3: Polynomials

Section 11.5 Estimation of difference of two proportions

( a n ) converges or diverges.

Chapter 9: Inferences based on Two samples: Confidence intervals and tests of hypotheses

f(bx) dx = f dx = dx l dx f(0) log b x a + l log b a 2ɛ log b a.

A quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population

ENGINEERING PROBABILITY AND STATISTICS

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

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

The steps of the hypothesis test

Chapter 2 Infinite Series Page 1 of 9

2017/2018 SEMESTER 1 COMMON TEST

LESSON 20: HYPOTHESIS TESTING

Mathacle. Hypothesis Tests We assume, calculate and conclude.

Students must always use correct mathematical notation, not calculator notation. the set of positive integers and zero, {0,1, 2, 3,...

INFINITE SERIES. ,... having infinite number of terms is called infinite sequence and its indicated sum, i.e., a 1

lecture 16: Introduction to Least Squares Approximation

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

1 Tangent Line Problem

2015/2016 SEMESTER 2 SEMESTRAL EXAMINATION

Frequentist Inference

Math 140 Introductory Statistics

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

Last Lecture. Wald Test

Lecture 21: Order statistics

MTH 146 Class 16 Notes

1. (25 points) Use the limit definition of the definite integral and the sum formulas to compute. [1 x + x2

General properties of definite integrals

Lecture Notes 15 Hypothesis Testing (Chapter 10)

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

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

1.3 Continuous Functions and Riemann Sums

Discrete Mathematics I Tutorial 12

STAC51: Categorical data Analysis

3 Monte Carlo Methods

Solution for Assignment 1 : Intro to Probability and Statistics, PAC learning

GRAPHING LINEAR EQUATIONS. Linear Equations. x l ( 3,1 ) _x-axis. Origin ( 0, 0 ) Slope = change in y change in x. Equation for l 1.

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

Chapter System of Equations

z line a) Draw the single phase equivalent circuit. b) Calculate I BC.

( ) k ( ) 1 T n 1 x = xk. Geometric series obtained directly from the definition. = 1 1 x. See also Scalars 9.1 ADV-1: lim n.

,... are the terms of the sequence. If the domain consists of the first n positive integers only, the sequence is a finite sequence.

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

Background 1. Cramer-Rao inequality

Trapezoidal Rule of Integration

Stat 319 Theory of Statistics (2) Exercises

1036: Probability & Statistics

z is the upper tail critical value from the normal distribution

Final Examination Solutions 17/6/2010

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

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

The Exponential Function

Topic 9: Sampling Distributions of Estimators

Handout #2. Introduction to Matrix: Matrix operations & Geometric meaning

INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS)

n 2 + 3n + 1 4n = n2 + 3n + 1 n n 2 = n + 1

The Reimann Integral is a formal limit definition of a definite integral

Asymptotic Theory Greene Ch. 4, App. D, Kennedy App. C, R scripts: module3s1a, module3s1b, module3s1c, module3s1d

Introduction to mathematical Statistics

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK SUMMER EXAMINATION 2005 FIRST ENGINEERING

UNIVERSITY OF BRISTOL. Examination for the Degrees of B.Sc. and M.Sci. (Level C/4) ANALYSIS 1B, SOLUTIONS MATH (Paper Code MATH-10006)

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

Stalnaker s Argument

EXPONENTS AND LOGARITHMS

Uncertainty Analysis for Uncorrelated Input Quantities and a Generalization

SUTCLIFFE S NOTES: CALCULUS 2 SWOKOWSKI S CHAPTER 11

Research Design - - Topic 7 Split-Plot Factorial Designs (Kirk, Ch. 12) 2008 R.C. Gardner, Ph.D.

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

Error-free compression

Statistics for Financial Engineering Session 1: Linear Algebra Review March 18 th, 2006

Unit 1. Extending the Number System. 2 Jordan School District

( ) dx ; f ( x ) is height and Δx is

Transcription:

Iferece o Oe Popultio Me ypothesis Testig Scerio 1. Whe the popultio is orml, d the popultio vrice is kow i. i. d. Dt : X 1, X,, X ~ N(, ypothesis test, for istce: Exmple: : : : : : 5'7" (ull hypothesis: This is the origil belief : 5'7" (ltertive hypothesis : This is usully your hypothesis (i.e. wht you believe is true if you re coductig the test d i geerl, should be supported by your dt. The sttisticl hypothesis test is very similr to lw suit: 1

e.g The fmous O.J. Simpso tril : OJ is iocet ( iocet uless prove guilty : OJ is guilty ( supported by the dt: the evidece Jury s Decisio : OJ iocet The truth OJ guilty Right decisio Type II error Type I error Right decisio The sigificce level d three types of hypotheses. P(Type I error = α sigificce level of test (*Type I error rte 1. : : : :. : : : : 3. : : Now we derive the hypothesis test for the first pir of hypotheses. : Dt : : iid,, X N(, is kow d the give X 1, X ~, sigificce level α (sy,.5. Let s derive the test. (Tht is, derive the decisio rule

Two pproches (*equivlet to derive the tests: - Likelihood Rtio Test - Pivotl Qutity Method ***Now we will first demostrte the Pivotl Qutity Method. 1. We hve lredy derived the PQ whe we derived the C.I. for μ X ~ N(,1 is our P.Q.. The test sttistic is the PQ with the vlue of the prmeter of iterest uder the ull hypothesis ( iserted: X ~ (,1 is our test sttistic. N X Tht is, give : i true ~ N(,1 3. * Derive the decisio threshold for your test bsed o the Type I error rte the sigificce level For the pir of hypotheses: : versus : It is ituitive tht oe should reject the ull hypothesis, i support of the ltertive hypothesis, whe the smple me is lrger th. Equivletly, this mes whe the test sttistic is lrger th certi positive vlue c - the questio is wht is the exct vlue of c -- d tht c be determied bsed o the sigificce level α tht is, how much Type I error we would llow ourselves to commit. 3

Settig: P P(Type I error = P(reject = ( c : We will see immeditely tht below. c z from the pdf plot At the sigificce level α, we will reject i fvor of if 4

5 Other ypotheses : : (oe-sided test or oe-tiled test Test sttistic : ~ (,1 / X N c c P : ( : : (Two-sided or Two-tiled test Test sttistic : ~ (,1 / X N ( ( ( c P c P c P ( c P ( c P c Reject if

4. We hve just discussed the rejectio regio pproch for decisio mkig. There is other pproch for decisio mkig, it is pvlue pproch. *Defiitio: p-vlue it is the probbility tht we observe test sttistic vlue tht is s extreme, or more extreme, th the oe we observed, give tht the ull hypothesis is true. : : : : : : X Observed vlue of test sttistic ~ N(,1 p-vlue P( z (1 the re uder N(,1 pdf to the right of z p-vlue P( z ( the re uder N(,1 pdf to the left of z p-vlue P( z P( z (3 twice the re to the right of z 6

(1 : : ( : : 7

(3 : : The wy we mke coclusios is the sme for ll hypotheses: We reject i fvor of iff p-vlue < α The experimetl evidece gist the ull hypothesis tht Lucy did ot ct delibertely reches P-vlue of oe i te billio. Nevertheless, Chrlie Brow repets the experimet every yer. 8

Scerio. The lrge smple scerio: Ay popultio (*usully o-orml s the exct tests should be used if the popultio is orml, however, the smple size is lrge (this usully refers to: 3 Theorem. Let The Cetrl Limit Theorem X, X,, X be rdom smple from popultio 1 with me d vrice X * Whe is lrge eough ( 3, N(,1 X S ~ N(,1 (pproximtely by CLT d the Slutsky s Theorem Therefore the pivotl qutities (P.Q. s for this scerio: X X ~ N(,1 or ~ N(,1 S Use the first P.Q. if σ is kow, d the secod whe σ is ukow. 9

The derivtio of the hypothesis tests (rejectio regio d the p-vlue re lmost the sme s the derivtio of the exct -test discussed bove. : : : : : : X Test Sttistic ~ N(,1 S Rejectio regio : we reject i fvor of sigificce level if t the p-vlue P( z (1 the re uder N(,1 pdf to the right of z p-vlue P( z ( the re uder N(,1 pdf to the left of z p-vlue P( z P( z (3 twice the re to the right of z Scerio 3. Norml Popultio, but the popultio vrice is ukow 1 yers go people use -test This is OK for lrge ( 3 per the CLT (Scerio This is NOT ok if the smple size is smll. A Studet of Sttistics pe me of Willim Sely Gosset (Jue 13, 1876 October 16, 1937 The Studet s t-test X P.Q. T ~ t 1 S/ (Exct t-distributio with -1 degrees of freedom 1

A Studet of Sttistics pe me of Willim Sely Gosset (Jue 13, 1876 October 16, 1937 http://e.wikipedi.org/wiki/willim_sely_gosset 11

Review: Theorem Smplig from the orml popultio i. i. d. Let X 1, X,, X ~ N(,, the 1 X ~ N(, W ( 1 S ~ 1 3 X d S (d thus W re idepedet. Thus we hve: T X S ~ t 1 Wrog Test for -sided ltertive hypothesis Reject if Right Test for -sided ltertive hypothesis Reject if, (Becuse t distributio hs hevier tils th orml distributio. Right Test * Test Sttistic : : T X ~ t 1 S * Reject regio : Reject t if the observed test sttistic vlue, 1

* p-vlue p-vlue = shded re * Further Review: 5. Defiitio : t-distributio T ~ W k ~ N(,1 t k W ~ k (chi-squre distributio with k degrees of freedom & W re idepedet. 6. Def 1 : chi-squre distributio : from the defiitio of the gmm distributio: gmm(α = k/, β = MGF: ( ( me & vrice: ( ( Def : chi-squre distributio : Let i,,, ~. i. d. (,1, 1 k N the W k i1 i ~ k 13

Exmple Jerry is plig to purchse sports good store. e clculted tht i order to cover bsic expeses, the verge dily sles must be t lest $55. Scerio A. e checked the dily sles of 36 rdomly selected busiess dys, d foud the verge dily sles to be $565 with stdrd devitio of $15. Scerio B. Now suppose he is oly llowed to smple 9 dys. Ad the 9 dys sles re $51, 537, 548, 59, 53, 49, 61, 499, 64. For A d B, plese determie whether Jerry c coclude the dily sles to be t lest $55 t the sigificce level of. 5. Wht is the p-vlue for ech scerio? Solutio Scerio A lrge smple (5 =36, x 565, s 15 : 55 versus : 55 *** First perform the Shpiro-Wilk test to check for ormlity. If orml, use the exct T-test. If ot orml, use the lrge smple - test. I the followig, we ssume the popultio is foud ot orml. x 565 55 Test sttistic z 1. 6 s 15 36 14

At the sigificce level. 5, we will reject if z.5 1.645 We c ot reject p-vlue p-vlue =.548 Altertively, if you c show the popultio is orml usig the Shpiro-Wilk test, it is better tht you perform the exct t-test. Solutio Scerio B smll smple Shpiro-Wilk test If the popultio is orml, t-test is suitble. (*If the popultio is ot orml, d the smple size is smll, we shll use the o-prmetric test such s Wilcoxo Siged Rk test. I the followig, we ssume the popultio is foud orml. x 546.67, s 53.9, 9 : 55 versus : 55 x 546.67 55 Test sttistic t 1. s 53.9 9 15

At the sigificce level. 5, we will reject if t T8,.5 1.86 We c ot reject p-vlue Wht s the p-vlue whe t 1.? Topics i ext lecture Power of the test Likelihood rtio test (for oe popultio me 16