HYPOTHESIS TESTING

Chapter 7 HYPOTHESIS TESTING

  A statistical hypothesis is an assertion or conjecture, denoted by H, about a distribution of one or more random variables. If the statistical hypothesis completely specifies the distribution is simple, otherwise is composite.

  Example Let X 1 ,X 2 , ..., X n be a random sample from f (x; θ) = φ μ,25 (x) .

  The statistical hypothesis that the mean of the normal population is less or equal to 17 is denoted by: H : θ ≤ 17. Such a hypothesis is composite, as it does not

  completely specify the distribution. On the other hand, the hypothesis H : θ ≤ 17 is simple since it completely specifies the distribution.

  A test of statistical hypothesis H is a rule or procedure for deciding whether

  to reject H.

  Example Let X 1 ,X 2 , ..., X n be a random sample from f (x; θ) = φ μ,25 (x) .

  Consider H : θ ≤ 17. One possible test Y is as follows: Reject H if and only if

  √

  X > 17 + 5 n .

  In many hypotheses-testing problems two hypotheses are discussed. The first,

  the hypothesis being testing, is called the null hypothesis, denoted by H 0 , and the second is called the alternative hypothesis denoted by H 1 . We say that H 0 is

  tested against or versus H 1 . The thinking is that if the null hypothesis is wrong the

  alternative hypothesis is true, and vice versa. We can make two types of errors:

  Rejection of H 0 when H 0 is true is called a Type I error, and acceptance of

  H 0 when H 0 is false is called a Type II error. The size of Type I error is defined

  Hypothesis testing

  to be the probability that a Type I error is made, and similarly the size of a Type

  II error is defined to be the probability that a Type II error is made.

  Significance level or size of a test, denoted by α, is the supremum of the

  probability of rejecting H 0 when H 0 is correct, i.e. it is the supremum of the Type I

  error. In general to perform a test we fix the size to a prespecified value in general

  10, 5 or 1.

  Example Let X 1 ,X 2 , ..., X n be a random sample from f (x; θ) = φ μ,25 (x) .

  √ Consider H 0 :θ ≤ 17 and the test Y: Reject H 0 if and only if X > 17 + 5 n . Then

  of the test is

  h 17+5 √ i

  1 17+5 −P n−θ X−θ

  = sup 1 −Φ n−θ 5 √ n =1 − Φ(1) = 0.159

  θ ≤17

  7.1 Testing Procedure Let us establish a test procedure via an example. Assume that n = 64, X = 9.8 and

  σ 2 = 0.04 . We would like to test the hypothesis that μ = 10.

  1. Formulate the null hypothesis:

  H 0 : μ = 10

  2. Formulate the alternative:

  H 1 :μ 6= 10

  3. select the level of significance: α = 0.01 From tables find the critical values for Z, denoted by c Z = 2.58 .

  4. Establish the rejection limits:

  Reject H 0 if Z < −2.58 or Z > 2.58.

  5. Calculate Z:

  Z= X−μ σ 0 √ 9.8−10 =

  0.2 √ 64 = −8

  n

  6. Make the decision:

  Testing Proportions

  Since Z is less than −2.58, reject H 0 .

  To find the appropriate test for the mean we have to consider the following

  cases:

  1. Normal population and known population variance (or standard deviation). In this case the statistic we use is:

  X −μ 0

  Z=

  v N(0, 1)

  √ σ

  n

  2. Large samples in order to use the central limit theorem. In this case the statistic we use is:

  X −μ 0

  Z=

  v N(0, 1)

  √ n

  S

  3. Small samples from a normal population where the population variance (or

  standard deviation) is unknown.

  In this case the statistic we use is:

  7.2 Testing Proportions The null hypothesis will be of the form:

  H 0 :π=π 0

  an the three possible alternatives are:

  (1) H 1 :π 6= π 0 two sided test, (2) H 1 :π<π 0 one sided, (3) H 1 :π>π 0 one

  sided. The appropriate statistic is based on the central limit theorem and is:

  p −π 0 2

  Z= S v N(0, 1) where S =π 0 (1 −π 0 )

  √ n

  Example: Mr. X believes that he will get more 60 of the votes. However, in a sample of 400 voters 252 indicate that they will vote for X. At a significance level of 5 test Mr. X belief.

  Hypothesis testing

  p= 252

  400 = 0.63 ,S 2 = 0.6(1 − 0.6) = 0.24. The H 0 :π=π 0 and the alternative is H 1 :π>π 0 . The critical value is 1.64. Now Z = p−π 0 √ S = 0.63−0.6 0.489 √

  n

  Consequently, the null is not rejected as Z < 1.64. Thus Mr. X belief is wrong.

  If fact we have the following possible outcomes when testing hypotheses:

  H 0 is accepted

  H 1 is accepted

  H 0 is correct Correct decision (1 − α)

  Type I error (α)

  H 1 is correct

  Type II error (β)

  Correct decision (1 − β)

  An operating characteristic curve presents the probability of accepting a null hypothesis for various values of the population parameter at a given significance level α using a particular sample size. The power of the test is the inverse function of the operating characteristic curve, i.e. it is the probability of rejecting the null hypothesis for various possible values of the population parameter.

  Part III

  Asymptotic Theory

Dokumen yang terkait

Analisis Komparasi Internet Financial Local Government Reporting Pada Website Resmi Kabupaten dan Kota di Jawa Timur The Comparison Analysis of Internet Financial Local Government Reporting on Official Website of Regency and City in East Java

19 819 7

ANTARA IDEALISME DAN KENYATAAN: KEBIJAKAN PENDIDIKAN TIONGHOA PERANAKAN DI SURABAYA PADA MASA PENDUDUKAN JEPANG TAHUN 1942-1945 Between Idealism and Reality: Education Policy of Chinese in Surabaya in the Japanese Era at 1942-1945)

1 29 9

Docking Studies on Flavonoid Anticancer Agents with DNA Methyl Transferase Receptor

0 55 1

EVALUASI PENGELOLAAN LIMBAH PADAT MELALUI ANALISIS SWOT (Studi Pengelolaan Limbah Padat Di Kabupaten Jember) An Evaluation on Management of Solid Waste, Based on the Results of SWOT analysis ( A Study on the Management of Solid Waste at Jember Regency)

4 28 1

Improving the Eighth Year Students' Tense Achievement and Active Participation by Giving Positive Reinforcement at SMPN 1 Silo in the 2013/2014 Academic Year

7 202 3

The Correlation between students vocabulary master and reading comprehension

16 145 49

Improping student's reading comprehension of descriptive text through textual teaching and learning (CTL)

8 140 133

The correlation between listening skill and pronunciation accuracy : a case study in the firt year of smk vocation higt school pupita bangsa ciputat school year 2005-2006

9 128 37

Pengaruh kualitas aktiva produktif dan non performing financing terhadap return on asset perbankan syariah (Studi Pada 3 Bank Umum Syariah Tahun 2011 – 2014)

6 101 0

Transmission of Greek and Arabic Veteri

0 1 22