Professional Documents
Culture Documents
Lecture 8
Lecture 8
Department of Statistics
Western Michigan University
1 / 27
Objectives
2 / 27
Calculating a Sample Proportion
3 / 27
Calculating a Sample Proportion
X Number of successes
p̂ = =
n Number of observations in the sample
4 / 27
iClicker 8.1
Suppose we flip a coin 10 times and you get 7 heads. What is the
sample proportion of heads?
A. 0.5
B. 0.7
C. 5
D. 7
5 / 27
Sample Distribution of a Sample Proportion
6 / 27
Sample Distribution of a Sample Proportion
6 / 27
Sample Distribution of a Sample Proportion
Now lets actually flip the coin. If we obtain 4 heads, then the
proportion of times we got a head is
6 / 27
Sample Distribution of a Sample Proportion
Now lets actually flip the coin. If we obtain 4 heads, then the
proportion of times we got a head is p̂ = 4/10 = 0.4.
6 / 27
Sample Distribution of a Sample Proportion
Now lets actually flip the coin. If we obtain 4 heads, then the
proportion of times we got a head is p̂ = 4/10 = 0.4.
6 / 27
Sample Distribution of a Sample Proportion
Now lets actually flip the coin. If we obtain 4 heads, then the
proportion of times we got a head is p̂ = 4/10 = 0.4.
6 / 27
Sampling Distribution of a Sample Proportion
E (p̂) = p
7 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as 0
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as 0 and as many as
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as 0 and as many as 10.
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as 0 and as many as 10.
As such, we need a standard error.
8 / 27
Sampling Distribution of a Sample Proportion
But just because this is what we expect doesn’t mean that’s
what will happen.
When tossing a coin 10 times, we could obtain 4 heads. We
could obtain 8.
We could obtain as few as 0 and as many as 10.
As such, we need a standard error.
r r
pq p(1 − p)
σp = =
n n
where
σp = the standard error of the proportion
n = the sample size
p = the probability of a success
q = 1 − p = the probability of a failure
8 / 27
Sampling Distribution of a Sample Proportion
Note that the term “standard error” was used. This has the same
interpretation as a standard deviation, however we will now use
this term to demonstrate that we are looking at repeated samples.
9 / 27
Sampling Distribution of a Sample Proportion
10 / 27
Sampling Distribution of a Sample Proportion
11 / 27
Sampling Distribution of a Sample Proportion
Lets now toss the coin twice. What are the possible results?
12 / 27
Sampling Distribution of a Sample Proportion
Lets now toss the coin twice. What are the possible results?
Head, Head
Head, Tail
Tail, Head
Tail, Tail
12 / 27
Sampling Distribution of a Sample Proportion
Lets now toss the coin twice. What are the possible results?
Head, Head
Head, Tail
Tail, Head
Tail, Tail
12 / 27
Sampling Distribution of a Sample Proportion
13 / 27
Sampling Distribution of a Sample Proportion
14 / 27
Sampling Distribution of a Sample Proportion
14 / 27
Sampling Distribution of a Sample Proportion
14 / 27
Sampling Distribution of a Sample Proportion
15 / 27
Sampling Distribution of a Sample Proportion
We will now consider a larger number of tosses. The figure below
looks at the possibility when tossing a coin 10, 50, 100 and 500
times.
16 / 27
Sampling Distribution of a Sample Proportion
17 / 27
Sampling Distribution of a Sample Proportion
17 / 27
Sampling Distribution of a Sample Proportion
17 / 27
Sampling Distribution of a Sample Proportion
17 / 27
Sampling Distribution of a Sample Proportion
18 / 27
Sampling Distribution of a Sample Proportion
Lets refer to the equation for the standard error and consider
our various sample sizes. First for one toss.
19 / 27
Sampling Distribution of a Sample Proportion
Lets refer to the equation for the standard error and consider
our various sample sizes. First for one toss.
r
0.5(1 − 0.5)
σp =
1
19 / 27
Sampling Distribution of a Sample Proportion
Lets refer to the equation for the standard error and consider
our various sample sizes. First for one toss.
r
0.5(1 − 0.5)
σp = = 0.5
1
19 / 27
Sampling Distribution of a Sample Proportion
Lets refer to the equation for the standard error and consider
our various sample sizes. First for one toss.
r
0.5(1 − 0.5)
σp = = 0.5
1
19 / 27
Sampling Distribution of a Sample Proportion
20 / 27
Sampling Distribution of a Sample Proportion
20 / 27
Sampling Distribution of a Sample Proportion
20 / 27
Sampling Distribution of a Sample Proportion
20 / 27
Sampling Distribution of a Sample Proportion
21 / 27
Sampling Distribution of a Sample Proportion
21 / 27
Sampling Distribution of a Sample Proportion
21 / 27
Sampling Distribution of a Sample Proportion
21 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
10 tosses:
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
50 tosses:
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
100 tosses:
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100 = 0.05
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100 = 0.05
500 tosses:
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100 = 0.05
q
0.5(1−0.5)
500 tosses: σp = 500
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100 = 0.05
q
0.5(1−0.5)
500 tosses: σp = 500 = 0.022
22 / 27
Sampling Distribution of a Sample Proportion
Lets now consider the calculations for the standard error when we
toss a coin 10, 50, 100, and 500 times.
q
0.5(1−0.5)
10 tosses: σp = 10 = 0.158
q
0.5(1−0.5)
50 tosses: σp = 50 = 0.071
q
0.5(1−0.5)
100 tosses: σp = 100 = 0.05
q
0.5(1−0.5)
500 tosses: σp = 500 = 0.022
A. 0.0425
B. 0.425
C. 0.5
D. 4.25
E. 42.5
23 / 27
iClicker 8.3
A. 0.0049
B. 0.020
C. 0.049
D. 0.425
E. 4.94
24 / 27
iClicker 8.4
A. Increase
B. Decrease
C. Stays the same
D. Depends on the sample results
25 / 27
iClicker 8.5
A. Increase
B. Decrease
C. Stays the same
D. Depends on the sample results
26 / 27
iClicker 8.6
27 / 27