Composite Hypotheses

Similar documents
Topic 18: Composite Hypotheses

Lecture Notes 15 Hypothesis Testing (Chapter 10)

5. Likelihood Ratio Tests

Common Large/Small Sample Tests 1/55

Summary. Recap ... Last Lecture. Summary. Theorem

Stat 319 Theory of Statistics (2) Exercises

Last Lecture. Wald Test

Problem Set 4 Due Oct, 12

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

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

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

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n.

Topic 9: Sampling Distributions of Estimators

Properties and Hypothesis Testing

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes.

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

Chapter 5: Hypothesis testing

Sample Size Determination (Two or More Samples)

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.

Introductory statistics

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

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators

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

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

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

Lecture 2: Monte Carlo Simulation

A statistical method to determine sample size to estimate characteristic value of soil parameters

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

[ ] ( ) ( ) [ ] ( ) 1 [ ] [ ] Sums of Random Variables Y = a 1 X 1 + a 2 X 2 + +a n X n The expected value of Y is:

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

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences.

( θ. sup θ Θ f X (x θ) = L. sup Pr (Λ (X) < c) = α. x : Λ (x) = sup θ H 0. sup θ Θ f X (x θ) = ) < c. NH : θ 1 = θ 2 against AH : θ 1 θ 2

Asymptotics. Hypothesis Testing UMP. Asymptotic Tests and p-values

- 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

32 estimating the cumulative distribution function

1036: Probability & Statistics

Kurskod: TAMS11 Provkod: TENB 21 March 2015, 14:00-18:00. English Version (no Swedish Version)

One-Sample Test for Proportion

Testing Statistical Hypotheses for Compare. Means with Vague Data

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

Mathematical Notation Math Introduction to Applied Statistics

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

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

STAT431 Review. X = n. n )

1 Inferential Methods for Correlation and Regression Analysis

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

6 Sample Size Calculations

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

GG313 GEOLOGICAL DATA ANALYSIS

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Final Examination Solutions 17/6/2010

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

Direction: This test is worth 250 points. You are required to complete this test within 50 minutes.

Partitioning the Parameter Space. Topic 18 Composite Hypotheses

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f.

Lesson 2. Projects and Hand-ins. Hypothesis testing Chaptre 3. { } x=172.0 = 3.67

Statistical inference: example 1. Inferential Statistics

Testing Statistical Hypotheses with Fuzzy Data

STATISTICAL INFERENCE

TAMS24: Notations and Formulas

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( )

Sampling Distributions, Z-Tests, Power

Mathematical Statistics - MS

Sample questions. 8. Let X denote a continuous random variable with probability density function f(x) = 4x 3 /15 for

SDS 321: Introduction to Probability and Statistics

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

1 Review of Probability & Statistics

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

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

MATH/STAT 352: Lecture 15

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

2. The volume of the solid of revolution generated by revolving the area bounded by the

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

October 25, 2018 BIM 105 Probability and Statistics for Biomedical Engineers 1

Lecture 12: September 27

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

Math 140 Introductory Statistics

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

PAPER : IIT-JAM 2010

Chapters 5 and 13: REGRESSION AND CORRELATION. Univariate data: x, Bivariate data (x,y).

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

Data Analysis and Statistical Methods Statistics 651

Frequentist Inference

Stat 421-SP2012 Interval Estimation Section

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

Goodness-Of-Fit For The Generalized Exponential Distribution. Abstract

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

Statistics 511 Additional Materials

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ),

Lecture Note 8 Point Estimators and Point Estimation Methods. MIT Spring 2006 Herman Bennett

1.010 Uncertainty in Engineering Fall 2008

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

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

10. Comparative Tests among Spatial Regression Models. Here we revisit the example in Section 8.1 of estimating the mean of a normal random

Table 12.1: Contingency table. Feature b. 1 N 11 N 12 N 1b 2 N 21 N 22 N 2b. ... a N a1 N a2 N ab

The Method of Least Squares. To understand least squares fitting of data.

Efficient GMM LECTURE 12 GMM II

Chapter 4 Tests of Hypothesis

Transcription:

Composite Hypotheses March 25-27, 28 For a composite hypothesis, the parameter space Θ is divided ito two disjoit regios, Θ ad Θ 1. The test is writte H : Θ versus H 1 : Θ 1 with H is called the ull hypothesis ad H 1 the alterative hypothesis. Cosequetly, the actio space A has two poits ad 1 ad the decisio or test fuctio d : data {, 1}. Type I ad type II errors have the same meaig for a composite hypotheses as it does with a simple hypothesis. 1 Power Power is ow a fuctio π d () = P {d(x) = 1}. that gives the probability of rejectig the ull hypothesis for a give value of the parameter. Cosequetly, the ideal test fuctio has π d () = for all Θ ad π d () = 1 for all Θ 1 ad the test fuctio yields the correct decisio with probability 1. I reality, icorrect decisios are made. For Θ, ad for Θ 1, π d () is the probability of makig a type I error 1 π d () is the probability of makig a type II error. The goal is to make the chace for error small. The traditioal method is the same as that employed i the Neyma-Pearso lemma. Fix a level α, defied to be α = sup{π d (); Θ } ad look for a decisio fuctio that make the power fuctio large for Θ 1 1

Example 1. For X 1, X 2,..., X idepedet U(, ) radom variables, Θ [, ). Take H : L R versus H 1 : < L or > R. We will try to base a test based o the sufficiet statistic X () = max 1 i X i ad reject H if X () > R ad too much smaller that L, say. The, the power fuctio We compute the power fuctio i three cases. Case 1.. ad therefore π d () = 1. Case 2. < R. ad therefore π d () = (/). Case 3. > R. π d () = P {X () } + P {X () R } P {X () } = 1 ad P {X () R } = P {X () } = P {X () } = ad therefore π d () = (/) + 1 ( R /). ( ) ad P {X () R } = ( ) ad P {X () R } = 1 ( ) R The size of the test α = sup {( ) } ( ) ; L R =. L To achieve this level, choose = L α. Example 2. Let X 1, X 2,..., X be idepedet N(µ, σ 2 ) radom variables with σ 2 ad µ ukow. For the composite hypothesis for the oe-sided test H : µ µ versus H 1 : µ > µ. We use the test statistic from the likelihood ratio test ad reject H if X is too large. The power fuctio To obtai level α, we wat α = π d (µ ) the π d (µ) = P { X k(µ )}. Z = X µ σ/ = z α. 2

pi.2.4.6.8 1...5 1. 1.5 2. Figure 1: Power fuctio for the oe-sided test above mu where Φ(z α ) = 1 α ad Φ is the distributio fuctio for the stadard ormal, thus k(µ ) = µ +(σ/ )z α. The power fuctio for this test π d (µ) = P µ { X σ z α + µ } = P µ { X µ σ z α (µ µ )} { X µ = P µ σ/ z α µ µ } ( σ/ = 1 Φ z α µ µ ) σ/ We plot the power fuctio with µ =, σ = 1, ad = 25, > zalpha=qorm(.95) > mu=(:2)/1 > z=zalpha-5*mu > pi=1-porm(z) > plot(mu,pi,type="l") For a two-sided test H : µ = µ versus H 1 : µ µ. We reject H if X µ is too large. Agai, to obtai level α, Z = X µ σ/ = z α/2. 3

pi.2.4.6.8 1. 2 1 1 2 mu Figure 2: Power fuctio for the two-sided test above The power fuctio for the test π d (µ) = 1 P µ { z α/2 X µ ( = 1 Φ z α/2 µ µ σ/ σ/ z α/2 ) + Φ } = 1 P µ { z α/2 µ µ ( z α/2 µ µ σ/ > zalpha = qorm(.975) > mu=(-2:2)/1 > pi = 1 - porm(zalpha-5*mu)+porm(-zalpha-5*mu) > plot(mu,pi,type="l") ) σ/ X µ σ/ z α/2 µ µ } σ/ 2 The p-value The report of reject the ull hypothesis does ot describe the stregth of the evidece because it fails to give us the sese of whether or ot a small chage i the values i the data could have resulted i a differet decisio. Cosequetly, the commo method is ot to choose, i advace, a level α of the test ad the report reject or fail to reject, but rather to report the value of the test statistic ad to give all the values for α that would lead to the rejectio of H. For example, if the test is based o havig a test statistic S(X) exceed a level k, i.e., we have decisio 4

fuctio d k (X) = 1 if ad oly if S(X) k. ad if the value S(X) = k is observed, the the p-value equals I the oe-sided test above, if X = 1, the > pvalue = 1 - porm(5) > pvalue [1] 2.866516e-7 I this case, the p-value is 2.87 1 7. 3 Cofidece Sets sup{π dt (); Θ } = sup{p {S(X) k }; Θ }. Z = X µ σ/ = 1 1/ 25 = 5. Choose a umber γ betwee ad 1. From data X, suppose that we compute two statistics L(X) ad R(X) so that irrespective of the value of the parameter, P {L(X) < < R(X)} γ. If l = L(X) ad r = R(X) are the observed values based o the data X, the the iterval (l, r) is called a cofidece iterval for with cofidece coefficiet γ. This otio exteds the idea of a poit estimator ˆ by addig a otio cocerig how closely we ca estimate. We will show how a α test for the hypothesis H : = versus H 1 : geerates a γ = 1 α cofidece iterval. Let d deote the decisio fuctio for this test. Give the data X, let ω(x) deote those parameter values for which the test fails to reject this hypothesis. Thus, ad ω(x) if ad oly if d(x) =. P { ω(x)} = P {d(x) = } = 1 P {d(x) = 1} = 1 α = γ. Now let L(X) ad R(X) be the ed poits of the iterval ω(x). Example 3. I the example above, for the two-sided test based o ormal data H : µ = µ versus H 1 : µ µ d(x) = if ad oly if X µ σ/ < z α/2. X σ z α/2 µ X + σ ( z α/2 X ad ω(x) = X σ z α/2, X + σ ) z α/2. 5