Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 5

A B C D E F G H

1 Testing Population Proportion


2
3 Evidence Assumption
4 Sample size 25 n Large Population
5 #Successes 8 x
6 Sample Proportion 0.3200 p-hat
7
8 At an a of
9 Null Hypothesis p-value 5%
10 H0: p = 0.5 0.1078
11 H0: p >= 0.5 0.0539
12 H0: p <= 0.5 0.9461
13
A B C D E F G H I J K
1 z-Test for Population Proportion
2
3 Evidence Assumption
4 Both np and n(1-p) >= 5
5 Sample size 210 n
6 #Successes 132 x Correction for Finite Population
7 Sample Proportion 0.6286 p-hat
8 Test statistic -2.2588 z Population Size 2000 N
9 Test statistic -2.3870 z
10 At an a of At an a of
11 Hull Hypothesis p-value 5% p-value 5%
12 H0: p = 0.7 0.0239 Reject 0.0170 Reject
13 H0: p >= 0.7 0.0119 Reject 0.0085 Reject
14 H0: p <= 0.7 0.9881 0.9915
15
A B C D E F H I J K L M N
1 Sample Size Determination for Testing p
2
3 Tabulation of Required Sample Size
4 H0: p >= 0.52 Actual p
5 Significance Level 10.00% a 0.46 0.47 0.48 0.49 0.5
6 2% 769 1110 1736 3088 6949
7 Chances of Type II Error 4% 636 917 1435 2552 5743
8 When p = 0.49 b 6% 557 803 1255 2233 5025
9 Desired Maximum 6.00% b 8% 500 720 1126 2004 4508
10 10% 455 656 1025 1824 4103
11 Required Sample size 2233 n
12
13
14 Plot of Required Sample Size
15
16
17
18 7000
6000
19 5000
20 4000
21 3000
2000
22 1000
23 Sample Size 0
24 2%
25
26 0.46 4%
27
0.47 6%
28
29 0.48 8%
30
0.49 Beta
31 Actual p 10%
32 0.5
33
A B C D E F G H I
1 Power of a Test for p
2
3
4 H0: p >= 0.53 Assumption:
5 Both np and n(1-p) are >= 5
6
7 Sample Size 2000 n When p = 0.49
8 a 10% P(Type II Error) 0.0108
9 Power 0.9892
10
11
12
13 1 Power of the Test
14 0.9
15 0.8
Power

16 0.7
17 0.6
18 0.5
19 0.4
20 0.3
21 0.2
22 0.1
23 0
24 0.49 0.495 0.5 0.505 0.51
Actual p0.515 0.52 0.525 0.53 0.535
25
26
27
28
29
30
A B C D E F G H I J
1 OC Curve of a Test for p 2-Tailed Left
2 2-Tailed Right
3 1-Tailed Left
4 H0: p >= 0.53 Assumption: 1-Tailed Right
5 Both np and n(1-p) are >= 5
6 n1 n2
7 Sample Size 2000
8
9 a 10%
10
11
12
OC Curves of the Test
P(Accept H0)

13 1
14 0.9
15
0.8
16
0.7
17
18 0.6 Legend
19 0.5 n = 2000
20 0.4 n=
21 0.3
22 0.2
23 0.1
24
0
25
0.49 0.5 0.51 0.52 Actual
0.53
p 0.54 0.55 0.56 0.57
26
27
28
29
30

You might also like