STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.

Slides:



Advertisements
Presentasi serupa
Pengujian Hipotesis.
Advertisements

The role of statistics.
Bayesian: Multi-Parameter Model
Validitas & Reliabilitas
BUDIYONO Program Pascasarjana UNS
Korelasi Linier KUSWANTO Korelasi Keeratan hubungan antara 2 variabel yang saling bebas Walaupun dilambangkan dengan X dan Y namun keduanya diasumsikan.
K-Map Using different rules and properties in Boolean algebra can simplify Boolean equations May involve many of rules / properties during simplification.
Presented By : Group 2. A solution of an equation in two variables of the form. Ax + By = C and Ax + By + C = 0 A and B are not both zero, is an ordered.
Research Design (Cont). Jenis Perancangan Riset Jenis perancangan mana yg akan digunakan ? Peneliti perlu memikirkan tentang apa yang mereka inginkan.
Pertemuan 05 Sebaran Peubah Acak Diskrit
1 Pertemuan 12 Pengkodean & Implementasi Matakuliah: T0234 / Sistem Informasi Geografis Tahun: 2005 Versi: 01/revisi 1.
Ruang Contoh dan Peluang Pertemuan 05
Pendugaan Parameter Proporsi dan Varians (Ragam) Pertemuan 14 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
Population and sample. Population is complete actual/theoretical collection of numerical values (scores) that are of interest to the researcher. Simbol.
Masalah Transportasi II (Transportation Problem II)
1 Pertemuan 10 Fungsi Kepekatan Khusus Matakuliah: I0134 – Metode Statistika Tahun: 2007.
PENDUGAAN PARAMETER Pertemuan 7
Uji Goodness of Fit : Distribusi Multinomial
Pertemuan 07 Peluang Beberapa Sebaran Khusus Peubah Acak Kontinu
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
The following short quiz consists of 4 questions and tells whether you are qualified to be a "professional". The questions are not that difficult, so.
DISTRIBUSI BINOMIAL.
STATISTIKA CHATPER 4 (Perhitungan Dispersi (Sebaran))
Statistik TP A Pengujian Hipotesis Satu Populasi (Mean dan Proporsi)
Induksi Matematika.
07/11/2017 BARISAN DAN DERET KONSEP BARISAN DAN DERET 1.
Cartesian coordinates in two dimensions
Uji Goodness of Fit : Distribusi Multinomial
Cartesian coordinates in two dimensions
Statistika Chapter 4 Probability.
Pengujian Hipotesis (I) Pertemuan 11
Matakuliah : I0014 / Biostatistika Tahun : 2005 Versi : V1 / R1
Uji Hipotesis Dua Sampel
Presentasi Statistika Dasar
Pendugaan Parameter (I) Pertemuan 9
PENDUGAAN PARAMETER Pertemuan 8
the formula for the standard deviation:
Significantly Significant
Pendugaan Parameter (II) Pertemuan 10
REAL NUMBERS EKSPONENT NUMBERS.
Pertemuan 09 Pengujian Hipotesis 2
Research methodology and Scientific Writing W#8
CENTRAL TENDENCY Hartanto, SIP, MA Ilmu Hubungan Internasional
Teknik Pengujian Software
An Introducation to Inferential Statistics
Eksperimen Satu Faktor: (Disain RAL)
Master data Management
Uji Hipotesis Dua Sampel
An assessment of Pedestrian Ways in Unsyiah
SAHAM GRUP ASTRA PERIODE JULI 2009 S.D. MARET 2010
Pertemuan 21 dan 22 Analisis Regresi dan Korelasi Sederhana
STATISTIK “Hypothesis Testing”
TEORI PROBABILITAS by WAHYUYANTI (WYT)
How You Can Make Your Fleet Insurance London Claims Letter.
How Can I Be A Driver of The Month as I Am Working for Uber?
Don’t Forget to Avail the Timely Offers with Uber
Suhandi Wiratama. Before I begin this presentation, I want to thank Mr. Abe first. He taught me many things about CorelDRAW. He also guided me when I.
KULIAH KE 9 Elementary Statistics Eleventh Edition
THE INFORMATION ABOUT HEALTH INSURANCE IN AUSTRALIA.
Lesson 2-1 Conditional Statements 1 Lesson 2-1 Conditional Statements.
INTERROGATIVE ADJECTIVE. DEFINITION FUNCTION EXAMPLE QUESTION.
By Yulius Suprianto Macroeconomics | 02 Maret 2019 Chapter-5: The Standard of Living Over Time and A Cross Countries Source: http//
Right, indonesia is a wonderful country who rich in power energy not only in term of number but also diversity. Energy needs in indonesia are increasingly.
Al Muizzuddin F Matematika Ekonomi Lanjutan 2013
Vector. A VECTOR can describe anything that has both MAGNITUDE and DIRECTION The MAGNITUDE describes the size of the vector. The DIRECTION tells you where.
Probability IIntroduction to Probability ASatisfactory outcomes vs. total outcomes BBasic Properties CTerminology IICombinatory Probability AThe Addition.
2. Discussion TASK 1. WORK IN PAIRS Ask your partner. Then, in turn your friend asks you A. what kinds of product are there? B. why do people want to.
Hypothesis Testing Niniet Indah Arvitrida, ST, MT SepuluhNopember Institute of Technology INDONESIA 2008.
Wednesday/ September,  There are lots of problems with trade ◦ There may be some ways that some governments can make things better by intervening.
Transcript presentasi:

STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1

Inference About the Difference of Two Population Proportions Population 1 Population 2 PARAMETERS: p 1 PARAMETERS: p 2 Statistics: Sample size: n 1 Sample size: n 2 Independent populations

SAMPLING DISTRIBUTION OF A point estimator of p 1 -p 2 is The sampling distribution of is if n i p i  5 and n i q i  5, i=1,2.

STATISTICAL TESTS Two-tailed test H o :p 1 =p 2 H A :p 1  p 2 Reject H 0 if z z  /2. One-tailed tests H o :p 1 =p 2 H A :p 1 > p 2 Reject H 0 if z > z  H o :p 1 =p 2 H A :p 1 < p 2 Reject H 0 if z < -z 

EXAMPLE A manufacturer claims that compared with his closest competitor, fewer of his employees are union members. Of 318 of his employees, 117 are unionists. From a sample of 255 of the competitor’s labor force, 109 are union members. Perform a test at  = 0.05.

SOLUTION H 0 : p 1 = p 2 H A : p 1 < p 2 and, so pooled sample proportion is Test Statistic:

Decision Rule: Reject H 0 if z < -z 0.05 = Conclusion: Because z = > -z 0.05 =- 1.96, not reject H 0 at  =0.05. Manufacturer is wrong. There is no significant difference between the proportions of union members in these two companies.

Example In a study, doctors discovered that aspirin seems to help prevent heart attacks. Half of 22,000 male participants took aspirin and the other half took a placebo. After 3 years, 104 of the aspirin and 189 of the placebo group had heart attacks. Test whether this result is significant. p 1 : proportion of all men who regularly take aspirin and suffer from heart attack. p 2 : proportion of all men who do not take aspirin and suffer from heart attack

Test of Hypothesis for p 1 -p 2 H 0 : p 1 -p 2 = 0 H A : p 1 -p 2 < 0 Test Statistic: Conclusion: Reject H 0 since p-value=P(z<-5.02)  0

Confidence Interval for p 1 -p 2 A 100(1-  C.I. for p   p  is given by:

Inference About Comparing Two Population Variances Population 1 Population 2 PARAMETERS: Statistics: Sample size: n 1 Sample size: n 2 Independent populations

SAMPLING DISTRIBUTION OF For independent r.s. from normal populations (1-α)100% CI for

STATISTICAL TESTS Two-tailed test H o :(or ) H A : Reject H 0 if F F 1-  /2,n 1 -1,n One-tailed tests H o : H A : Reject H 0 if F > F 1- , n 1 -1,n 2 -1 H o : H A : Reject H 0 if F < F ,n 1 -1,n 2 -1

Example A scientist would like to know whether group discussion tends to affect the closeness of judgments by property appraisers. Out of 16 appraisers, 6 randomly selected appraisers made decisions after a group discussion, and rest of them made their decisions without a group discussion. As a measure of closeness of judgments, scientist used variance. Hypothesis: Groups discussion will reduce the variability of appraisals. 14

Example, cont. Appraisal values (in thousand $)Statistics With discussion97, 101,102,95,98,103n 1 =6 s 1 ²=9.867 Without discussion118, 109, 84, 85, 100, 121, 115, 93, 91, 112 n 2 =10 s 2 ²= Ho: versus H 1 : Reject Ho. Group discussion reduces the variability in appraisals.

TEST OF HYPOTHESIS HOW TO DERIVE AN APPROPRIATE TEST 16 Definition: A test which minimizes the Type II error (β) for fixed Type I error (α) is called a most powerful test or best test of size α.

MOST POWERFUL TEST (MPT) H 0 :  =  0  Simple Hypothesis H 1 :  =  1  Simple Hypothesis Reject H 0 if (x 1,x 2,…,x n )  C The Neyman-Pearson Lemma: Reject H 0 if 17 Proof: Available in text books (e.g. Bain & Engelhardt, 1992, p.g.408)

EXAMPLES X~N( ,  2 ) where  2 is known. H 0 :  =  0 H 1 :  =  1 where  0 >  1. Find the most powerful test of size . 18

Solution 19

Solution, cont. What is c?: It is a constant that satisfies since X~N( ,  2 ). For a pre-specified α, most powerful test says, Reject Ho if 20

Examples Example2: See Bain & Engelhardt, 1992, p.g.410 Find MPT of Ho: p=p 0 vs H 1 : p=p 1 > p 0 Example 3: See Bain & Engelhardt, 1992, p.g.411 Find MPT of Ho: X~Unif(0,1) vs H 1 : X~Exp(1) 21

UNIFORMLY MOST POWERFUL (UMP) TEST If a test is most powerful against every possible value in a composite alternative, then it will be a UMP test. One way of finding UMPT is find MPT by Neyman- Pearson Lemma for a particular alternative value, and then show that test does not depend the specific alternative value. Example: X~N( ,  2 ), we reject Ho if Note that this does not depend on particular value of μ 1, but only on the fact that  0 >  1. So this is a UMPT of H 0 :  =  0 vs H 1 :  <  0. 22

UNIFORMLY MOST POWERFUL (UMP) TEST To find UMPT, we can also use Monotone Likelihood Ratio (MLR). If L=L(  0 )/L(  1 ) depends on (x 1,x 2,…,x n ) only through the statistic y=u(x 1,x 2,…,x n ) and L is an increasing function of y for every given  0 >  1, then we have a monotone likelihood ratio (MLR) in statistic y. If L is a decreasing function of y for every given  0 >  1, then we have a monotone likelihood ratio (MLR) in statistic − y. 23

UNIFORMLY MOST POWERFUL (UMP) TEST Theorem: If a joint pdf f(x 1,x 2,…,x n ;  ) has MLR in the statistic Y, then a UMP test of size  for H 0 :  0 vs H 1 :  >  0 is to reject H 0 if Y  c where P(Y  c  0 )= . for H 0 :  0 vs H 1 :  <  0 is to reject H 0 if Y  c where P(Y  c  0 )= . 24

EXAMPLE X~Exp(  ) H 0 :  0 H 1 :  >  0 Find UMPT of size . 25

GENERALIZED LIKELIHOOD RATIO TEST (GLRT) GLRT is the generalization of MPT and provides a desirable test in many applications but it is not necessarily a UMP test. 26

H 0 :  0 H 1 :  1 27 GENERALIZED LIKELIHOOD RATIO TEST (GLRT) Let and MLE of  MLE of  under H 0

28 GENERALIZED LIKELIHOOD RATIO TEST (GLRT) GLRT: Reject H 0 if  0

EXAMPLE X~N( ,  2 ) H 0 :  =  0 H 1 :    0 Derive GLRT of size . 29

ASYMPTOTIC DISTRIBUTION OF −2ln 30 GLRT: Reject H 0 if  0 GLRT: Reject H 0 if -2ln >-2ln 0 =c where k is the number of parameters to be tested.  Reject H 0 if -2ln >

TWO SAMPLE TESTS 31 Derive GLRT of size , where X and Y are independent; p 0, p 1 and p 2 are unknown.