00:01
Okay, so here we are told that we are going to make a confidence interval, and we need to get a random sample.
00:09
It's for a proportion, okay? and we're told that we want no bigger than a margin of error of 0 .02, and we want 98 % confidence.
00:21
And we have no prior research.
00:24
Okay? so in general, the confidence interval for a proportion is p -hat plus or minus the confidence.
00:30
Z star times the square root of p hat times one minus p hat over n.
00:38
Okay, this part here is the margin of error.
00:43
Okay, so we want that thing to be no more than 0 .02.
00:47
So i'm going to make an equation.
00:50
0 .02 equals z star times the square root of p times 1 minus p over n.
00:58
Remember, i don't know what p is, right? so i'm just going to like put that as a p star and give the most conservative estimate that i can for p, which is going to be 0 .5.
01:10
That's like, you know, just having 50 % of the sample be one way or the other.
01:15
So p star is going to be 0 .5.
01:18
Z star for 98 % confidence is always going to be the same thing.
01:23
And if i just look that up on my chart for critical values for z, that z star is 2 .326.
01:30
Okay.
01:30
So now i have pretty much everything i need to solve for n because i know that 0 .02, which is the margin of error, has to equal 2 .326 times the square root of 0 .5 times 1 minus 0 .5 divided by n.
01:48
Right? so i'm just going to do some algebra now to solve for n.
01:53
So if i divide both sides by 2 .326, i get 0 .02 over 2 .326.
02:01
Equals the square root of 0 .5 times 1 minus 0 .5, which that's actually 0 .25 if i multiply that out, right? so 0 .25 over n.
02:14
Now i'm going to square both sides...