Statistics [12]: Parameter Hypothesis Test

4 minute read

Published:

Basics of parameter hypothesis test.


Steps of Parameter Hypothesis Test

  1. Establish hypothesis
    • Null hypothesis:
    • Alternate hypothesis:
  2. Choose the test statistics and give the form of the rejection region .
  3. Decide the significance level and rejection region (acceptance region).

Example 1

Assume a factory is producing a product obeying the norrmal distribution , is the average quality standard, is considered as high quality. To test the quality of the products, the buyer samples 16 products at random from a batch of products, with the following quality standard:

Test whether the products are in high quality.

Solution. Firstly, establish hypothesis

Secondly, choose as test statistic, and the form of the rejection region would be

Thirdly, decide the significance level and rejection region.

Hence, the rejection region is

When , the rejection region would be .


Two Types of Errors

There are two types of mistakes in hypothesis testing:

  1. False rejection (type I error):
  2. False acceptance (type II error):

Example 2

A factory is producing screws with tandard length of 35 mm, which obeys normal distribution . Assume the sample size is 36, , rejection region is , find the type I error, and find type II error when .

Solution. Test statistic is .

False rejection rate would be

False acceptance rate would be


Three Types of Hypothesis Test Problems

  1. One-tailed test:
  2. One-tailed test:
  3. Two-tailed test:

Example 3

For normal distribution , is unknown and is known, perform hypothesis to .

Solution. Test statistic

Example 4

For normal distribution , is unknown and is unknown, perform hypothesis to .

Solution. Test statistic


p Value

value of a test refers to the smallest significance level obtained through the samples at which the null hypothesis would be rejected.

Example 5

Assume the population obeys the normal distribution and the sample size is 36, . Noe suppose the sample value is 36.5 mm, calculate its value.

Solution.


Suppliment: Neyman-Pearson Lemma

Let be a critical regionfor a hypothesis test with significance level , where the hypothesis are and . Then we say that is a best critical region of size if whenever is another critical region with size , there is .

What this means is that if the alternative hypothesis is true, then the probability that we reject the null hypothesis is greatest if we use the critical region .

Neyman-Pearson Lemma

Let be a sample from a distribution with pdf , and let . If there exists a positive constant and a region such that (1) , (2) for , and (3) for , then is the best critical region of size for testing against .

Example 6

Let be a random sample from a normal distribution having known variance . Consider two simple hypothesis

where and are given constants. Let the significance level be prescribed. The Neyman-Pearson Lemma states that among all tests with significance level , the tests that rejects for small values of the lieklihood ratio is most powerful. We calculate the likelihood ratio

Ignore the constant term

If , the likelihood ratio is small if is small; if , the likelihood ratio is small if is large. Now assume the latter case, the Neyman-Pearson lemma thus tells us that the most powerful test rejects for for some , we choose so as to give the test the desired significance level . Since

We can solve

for to find the rejection region for a significance level .


Table of Contents

Comments