Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... ·...

16
Lecture 8 (II): Hypothesis Testing 2

Transcript of Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... ·...

Page 1: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

Lecture 8 (II): Hypothesis Testing 2

Page 2: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 3: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 4: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 5: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

CMU

Page 6: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 7: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

In this case, the decision you have made will result in a smaller type I error than α (=0.05, say).

Page 8: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

decision Reject H0

Do not Reject H0

H0 IS true

Type I Error (α)

H0 is NOT true

Type II Error (β)

Page 9: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

Power curve Two-sided

One-sided

Page 10: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 11: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 12: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 13: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 14: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 15: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:
Page 16: Lecture 8 (II): Hypothesis Testing 2amath2.nchu.edu.tw/honda/605Lecture/Lecture 08_part 2... · 2018. 1. 17. · Microsoft Word - Lecture 08_part 2__Hypothesis testing2.doc Author:

Homework 8.1

Tossing a coin with distribution: X=1 (if head, probability=p)

and X=0 (if tail, probability=1-p). Let X1…X100 be 100

realizations. Please (1) give the point estimate; (2) derive the

formula of 95% confidence interval of p and justify your

derivation. (3) Explain: What is the distribution of ii

X∑=

100

1?

Homework 8.2

Explain the meaning of 95% (or 100(1-α)%) confidence

interval.

Homework 8.3

Let X1…X10 and Y1…Y5 be distributed as N(μ1, 4) and N(μ2, 4)

respectively. If you use the following Z-statistic to test the

hypotheses, H0: μ1<μ2 versus Ha: μ1>μ2 ,

Z=10/15/1 +

−σ

YX with σ=2.

Please give a plot (better by a computer package like Excel or

others) of the ‘power curve’ over a reasonable range of μ1-μ2.