Last Lecture. Unbiased Test

Similar documents
Summary. Recap ... Last Lecture. Summary. Theorem

Last Lecture. Wald Test

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

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

Lecture Notes 15 Hypothesis Testing (Chapter 10)

Chapter 6 Principles of Data Reduction

STK4011 and STK9011 Autumn 2016

5. Likelihood Ratio Tests

Lecture 23: Minimal sufficiency

Introductory statistics

Stat 319 Theory of Statistics (2) Exercises

Statistical Theory MT 2008 Problems 1: Solution sketches

Problem Set 4 Due Oct, 12

Exponential Families and Bayesian Inference

Statistical Theory MT 2009 Problems 1: Solution sketches

EECS564 Estimation, Filtering, and Detection Hwk 2 Solns. Winter p θ (z) = (2θz + 1 θ), 0 z 1

Lecture 7: Properties of Random Samples

Unbiased Estimation. February 7-12, 2008

x = Pr ( X (n) βx ) =

( θ. 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

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

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

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

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

IIT JAM Mathematical Statistics (MS) 2006 SECTION A

Last Lecture. Biostatistics Statistical Inference Lecture 16 Evaluation of Bayes Estimator. Recap - Example. Recap - Bayes Estimator

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

Lecture 19: Convergence

STATISTICAL INFERENCE

Topic 9: Sampling Distributions of Estimators

1 Introduction to reducing variance in Monte Carlo simulations

Mathematical Statistics - MS

Parameter, Statistic and Random Samples

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

Maximum Likelihood Estimation

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Summary. Recap. Last Lecture. Let W n = W n (X 1,, X n ) = W n (X) be a sequence of estimators for

This section is optional.

6. Sufficient, Complete, and Ancillary Statistics

Lecture 16: UMVUE: conditioning on sufficient and complete statistics

Sample Size Determination (Two or More Samples)

Since X n /n P p, we know that X n (n. Xn (n X n ) Using the asymptotic result above to obtain an approximation for fixed n, we obtain

LECTURE 14 NOTES. A sequence of α-level tests {ϕ n (x)} is consistent if

Lecture 12: November 13, 2018

Lecture 12: September 27

Generalized Semi- Markov Processes (GSMP)

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

Stat410 Probability and Statistics II (F16)

ECE 6980 An Algorithmic and Information-Theoretic Toolbox for Massive Data

Homework for 2/3. 1. Determine the values of the following quantities: a. t 0.1,15 b. t 0.05,15 c. t 0.1,25 d. t 0.05,40 e. t 0.

Sequences and Series of Functions

Chapter 8 Hypothesis Testing

Frequentist Inference

SDS 321: Introduction to Probability and Statistics

Topic 9: Sampling Distributions of Estimators

APPM 5720 Solutions to Problem Set Five

Lecture 18: Sampling distributions

Chapter 2 The Monte Carlo Method

ECE 901 Lecture 13: Maximum Likelihood Estimation

Chapter 6 Infinite Series

7.1 Convergence of sequences of random variables

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

1 Convergence in Probability and the Weak Law of Large Numbers

Probability and Statistics

Estimation for Complete Data

Review Questions, Chapters 8, 9. f(y) = 0, elsewhere. F (y) = f Y(1) = n ( e y/θ) n 1 1 θ e y/θ = n θ e yn

Stat 421-SP2012 Interval Estimation Section

Simulation. Two Rule For Inverting A Distribution Function

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

Efficient GMM LECTURE 12 GMM II

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Integrable Functions. { f n } is called a determining sequence for f. If f is integrable with respect to, then f d does exist as a finite real number

4. Partial Sums and the Central Limit Theorem

AMS 216 Stochastic Differential Equations Lecture 02 Copyright by Hongyun Wang, UCSC ( ( )) 2 = E X 2 ( ( )) 2

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

The variance of a sum of independent variables is the sum of their variances, since covariances are zero. Therefore. V (xi )= n n 2 σ2 = σ2.

Topic 9: Sampling Distributions of Estimators

7.1 Convergence of sequences of random variables

AMS570 Lecture Notes #2

Ho OG o VS H i OE. sup o_ Nxt. sup. OE ou. Ho 0 00 vs H O Oo. Power function. nejeet Ho. Plo p O. Pole ERR KERR IERR.

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

Approximations and more PMFs and PDFs

Spring Information Theory Midterm (take home) Due: Tue, Mar 29, 2016 (in class) Prof. Y. Polyanskiy. P XY (i, j) = α 2 i 2j

Chapter 6 Sampling Distributions

EFFECTIVE WLLN, SLLN, AND CLT IN STATISTICAL MODELS

Common Large/Small Sample Tests 1/55

Solutions: Homework 3

Lecture 3. Properties of Summary Statistics: Sampling Distribution

6.041/6.431 Spring 2009 Final Exam Thursday, May 21, 1:30-4:30 PM.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 3 9/11/2013. Large deviations Theory. Cramér s Theorem

Lecture 01: the Central Limit Theorem. 1 Central Limit Theorem for i.i.d. random variables

32 estimating the cumulative distribution function

f n (x) f m (x) < ɛ/3 for all x A. By continuity of f n and f m we can find δ > 0 such that d(x, x 0 ) < δ implies that

Solution. 1 Solutions of Homework 1. Sangchul Lee. October 27, Problem 1.1

ECE 901 Lecture 12: Complexity Regularization and the Squared Loss

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

Introduction to Extreme Value Theory Laurens de Haan, ISM Japan, Erasmus University Rotterdam, NL University of Lisbon, PT

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.

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

Solutions to HW Assignment 1

Transcription:

Last Lecture Biostatistics 6 - Statistical Iferece Lecture Uiformly Most Powerful Test Hyu Mi Kag March 8th, 3 What are the typical steps for costructig a likelihood ratio test? Is LRT statistic based o sufficiet statistic idetical to the LRT based o the full data? Whe multiple parameters eed to be estimated, what is the differece i costructig LRT? What is ubiased test? Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 LRT based o sufficiet statistics Ubiased Test Theorem 84 If TX is a sufficiet statistic for θ, λ t is the LRT statistic based o T, ad λx is the LRT statistic based o x the λ [Tx] λx for every x i the sample space Defiitio If a test always satisfies Prreject H whe H is false Prreject H whe H is true The the test is said to be ubiased Alterative Defiitio Recall that βθ reject H A test is ubiased if βθ βθ for every θ Ω c ad θ Ω Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 4 / 3

Example Example cot d X,, X iid N θ, σ where σ is kow, testig H : θ θ vs H : θ > θ LRT test rejects H if x θ > c X θ βθ > c X θ + θ θ X θ > c + θ θ > c X θ > c θ θ Therefore, for Z N, βθ Z > c + θ θ Because the power fuctio is icreasig fuctio of θ, βθ βθ always holds whe θ θ < θ Therefore the LRTs are ubiased Note that X i N θ, σ, X N θ, σ /, ad X θ σ/ N, Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 5 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 6 / 3 Uiformly Most Powerful Test level α test Defiitio Let C be a class of tests betwee H : θ Ω vs H : θ Ω c A test i C, with power fuctio βθ is uiformly most powerful test i class C if βθ β θ for every θ Ω c ad every β θ, which is a power fuctio of aother test i C Cosider C be the set of all the level α test The test i this class is called a level α test level α test has the smallest type II error probability for ay θ Ω c i this class A test is uiform i the sese that it is most powerful for every θ Ω c For simple hypothesis such as H : θ θ ad H : θ θ, level α test always exists Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 7 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 8 / 3

Lemma Theorem 83 - Lemma Cosider testig H : θ θ vs H : θ θ where the pdf or pmf correspodig the θ i is fx θ i, i,, usig a test with rejectio regio R that satisfies x R if fx θ > kfx θ 83 ad x R c if fx θ < kfx θ 83 For some k ad α X R θ, The, Sufficiecy Ay test that satisfies 83 ad 83 is a level α test Necessity if there exist a test satisfyig 83 ad 83 with k >, the every level α test is a size α test satisfies 83, ad every level α test satisfies 83 except perhaps o a set A satisfyig PrX A θ X A θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 9 / 3 Example of Lemma cot d Suppose that 3/4 < k < 9/4, the level α test rejects H if x α reject θ / x θ / 4 If k > 9/4 the level α test always ot reject H, ad α Example of Lemma Let X Biomial, θ, ad cosider testig H : θ θ / vs H : θ θ 3/4 Calculatig the ratios of the pmfs give, f θ f θ 4, f θ f θ 3 4, f θ f θ 9 4 Suppose that k < /4, the the rejectio regio R,,, ad level α test always rejects H Therefore α reject H θ θ / Suppose that /4 < k < 3/4, the R,, ad level α test rejects H if x or x α reject θ / x θ / + Prx θ / 3 4 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 Example - Normal Distributio iid X i N θ, σ where σ is kow Cosider testig H : θ θ vs H : θ θ where θ > θ [ fx θ πσ exp x i θ ] fx θ fx θ x i θ exp exp x i θ σ [ exp x i θ + x i θ ] [ exp x i θ x i θ ] [ θ exp θ + x ] iθ θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3

Example cot d Example cot d level α test rejects if [ θ exp θ + x ] iθ θ > k θ θ + x iθ θ > log k x i > k α X i > k θ Uder H, where Z N, X θ X i N θ, σ X N θ, σ / N, α X i > k θ Z > k / θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 4 / 3 Example cot d Lemma o Sufficiet Statistics k / θ σ/ z α k σ θ + z α Thus, the level α test reject if X i > k, or equivaletly, reject H if X > k / θ + z α Corollary 833 Cosider H : θ θ vs H : θ θ Suppose TX is a sufficiet statistic for θ ad gt θ i is the pdf or pmf of T Correspodig θ i, i, The ay test based o T with rejectio regio S is a level α test if it satisfies t S if gt θ > k gt θ ad t S c if gt θ < k gt θ For some k > ad α T S θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 5 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 6 / 3

Proof Revisitig the Example of Normal Distributio The rejectio regio i the sample space is R x : Tx t S x : gtx θ > kgtx θ By Factorizatio Theorem: fx θ i hxgtx θ i R x : gtx θ hx > kgtx θ hx x : fx θ > kfx θ By Lemma, this test is the level α test, ad α X R TX S θ X i iid N θ, σ where σ is kow Cosider testig H : θ θ vs H : θ θ where θ > θ T X is a sufficiet statistic for θ, where T N θ, σ / gt θ i gt θ gt θ πσ / exp t θ i / exp t θ σ / exp t θ / exp [ t θ t θ ] / exp [ θ / θ tθ θ ] Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 7 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 8 / 3 Revisitig the Example cot d Revisitig the Example cot d Uder H, X N θ, σ / k satisfies level α test reject if exp [ θ / θ tθ θ ] > k [ θ / θ + tθ θ ] > log k X t > k Prreject H θ α k θ α X > k θ X θ > k θ Z > k θ z α k θ + z α σ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 9 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3

Mootoe Likelihood Ratio Example of Mootoe Likelihood Ratio Defiitio A family of pdfs or pmfs gt θ : θ Ω for a uivariate radom variable T with real-valued parameter θ have a mootoe likelihood ratio if gt θ gt θ is a icreasig or o-decreasig fuctio of t for every θ > θ o t : gt θ > or gt θ > Note: we may defie MLR usig decreasig fuctio of t But all followig theorems are stated accordig to the defiitio Normal, Poisso, Biomial have the MLR Property Exercise 85 If T is from a expoetial family with the pdf or pmf gt θ htcθ exp[wθ t] The T has a MLR if wθ is a o-decreasig fuctio of θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 / 3 Proof Theorem Suppose that θ > θ gt θ gt θ htcθ exp[wθ t] htcθ exp[wθ t] cθ cθ exp[wθ wθ t] If wθ is a o-decreasig fuctio of θ, the wθ wθ ad exp[wθ wθ t] is a icreasig fuctio of t Therefore, gt θ gt θ is a o-decreasig fuctio of t, ad T has MLR if wθ is a o-decreasig fuctio of θ Theorem 87 Suppose TX is a sufficiet statistic for θ ad the family gt θ : θ Ω is a MLR family The For testig H : θ θ vs H : θ > θ, the level α test is give by rejectig H is ad oly if T > t where α T > t θ For testig H : θ θ vs H : θ < θ, the level α test is give by rejectig H if ad oly if T < t where α T < t θ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 4 / 3

Example Applicatio of Theorem Fidig a level α test Let X i iid N θ, σ where σ is kow, Fid the level α test for H : θ θ vs H : θ > θ TX X is a sufficiet statistic for θ, ad T N θ, σ / gt θ where wθ property πσ / exp t θ / πσ / exp t + θ tθ / πσ / exp htcθ exp[wθt] θ σ / t / exp θ tθ exp / σ / is a icreasig fuctio i θ Therefore T is MLR Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 5 / 3 By, level α test rejects H iff T > t where where Z N, α T > t θ T θ > t θ Z > t t z α t θ + σ z α level α test rejects H if T X > θ + σ z α Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 6 / 3 Testig H : θ θ vs H : θ < θ level α test rejects H if T < t where T θ α T < t θ < t θ Z < t α Z t t σ/ z α t θ + σ z α θ σ z α Therefore, the test rejects H if T < t θ σ z α Normal Example with Kow Mea iid X i N µ, σ where σ is ukow ad µ is kow Fid the level α test for testig H : σ σ vs H : σ > σ Let T X i µ is sufficiet for σ To check whether T has MLR property, we eed to fid gt σ X i µ N, σ Xi µ χ σ Y T/σ f Y y Xi µ χ σ Γ / y e y Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 7 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 8 / 3

Normal Example with Kow Mea cot d Normal Example with Kow Mea cot d f T t t Γ / σ t Γ / σ t σ Γ / htcσ exp[wσ t] dt e t dy e t σ e t where wσ is a icreasig fuctio i σ Therefore, T X i µ has the MLR property Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 9 / 3 By Theorem, level α rejects s H if ad oly if T > t where t is chose such that α T > t σ Note that T χ σ T PrT > t σ > t Pr χ > t T σ σ t σ χ α χ,α σ t σ χ,α where χ,α satisfies χ f χ,α xdx α σ σ Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3 Remarks For may problems, level α test does ot exist Example 839 I such cases, we ca restrict our search amog a subset of tests, for example, all ubiased tests Today Uiformly Most Powerful Test Lemma Mootoe Likelihood Ratio Theorem Next Lecture Asymptotics of LRT Wald Test Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3 Hyu Mi Kag Biostatistics 6 - Lecture March 8th, 3 3 / 3