Use Sophia to knock out your gen-ed requirements quickly and affordably. Learn more
×

Calculating Standard Error of a Sample Proportion

Author: Sophia

what's covered
This tutorial will explain how to calculate standard error for a sample proportion, for cases when the population standard deviation is known, and when it is unknown. Our discussion breaks down as follows:

Table of Contents

1. Standard Error for Sample Proportions (Population Standard Deviation Is Unknown)

A survey is conducted at the local high schools to find out about underage drinking. Of the 523 students who replied to the survey, 188 replied that they have drunk some amount of alcohol.

What is the standard error of the sample proportion?

These students are either answering yes or no on the survey: "Yes, I've drunk some amount of alcohol" or "No, I have not drunk some amount of alcohol." That is qualitative data, also known as categorical data. Therefore, we're dealing with a sample proportion.

Whenever we're dealing with a sample proportion, the next question we need to ask ourselves is, "Do I know the population standard deviation?" In this case, we do not have any of that information. Therefore, the formula to calculate the standard error is p-hat times q-hat, divided by n, all under the square root.

formula to know
Standard Error for Sample Proportions (Population Standard Deviation Is Unknown)
table attributes columnalign left end attributes row cell square root of fraction numerator p with hat on top space q with hat on top over denominator n end fraction end root end cell row cell p with hat on top equals s a m p l e space p r o p o r t i o n space o f space s u c c e s s end cell row cell q with hat on top equals c o m p l e m e n t space o f space p with hat on top end cell row cell n equals s a m p l e space s i z e end cell end table

We're actually going to use the data that was given to us, which are estimates—that's what the hat indicates—in order to calculate the standard error.

The first thing we need to do is to figure out what p-hat is, based off of the information given to us. In this case, the p-hat is what we're interested in, and that is how many have answered yes to participating in underage drinking. That would be 188 out of 523 students, or 188/523, which is about 36% of the students.

Now, we also need the complement, which would be q-hat. This is also written as 1 minus p-hat. One minus the 188 out of 523, or 1 - 0.36, tells us that 0.64, or 64%, of the students have not participated in underage drinking. To always make sure our math is correct, remember that our p-hat and q-hat should add up to 1, because they're complements of each other.

p with hat on top plus q with hat on top equals 0.36 plus 0.64 equals 1

Now, we can plug those values into the formula.

square root of fraction numerator p with hat on top space q with hat on top over denominator n end fraction end root equals square root of fraction numerator left parenthesis 0.36 right parenthesis left parenthesis 0.64 right parenthesis over denominator 523 end fraction end root equals square root of fraction numerator 0.2304 over denominator 523 end fraction end root equals square root of 0.00044 end root equals 0.021

We have 0.36 for p-hat, 0.64 for q-hat, and the total sample, n, was 523 students. This calculates to a standard error that is 0.021.


2. Standard Error for Sample Proportions (Population Standard Deviation Is Known)

Revisiting our prior example, a survey is conducted at the local high schools to find out about underage drinking. Of the 523 students who replied to the survey, 188 replied that they have drunk some amount of alcohol. The proportion of underage drinkers nationally is 39%

What is the standard error of the sample proportion?

We are still looking at the students who were surveyed about underage drinking, but notice how this scenario added on that the proportion of underage drinkers nationally is 39%. We're still calculating the standard error of the sample proportion, but in this case, we know the population standard deviation, which is 39%. We're going to use the formula of the square root of pq over n.

formula to know
Standard Error for Sample Proportions (Population Standard Deviation Is Known)
table attributes columnalign left end attributes row cell square root of fraction numerator p q over denominator n end fraction end root end cell row cell p equals p o p u l a t i o n space p r o p o r t i o n space o f space s u c c e s s end cell row cell q equals c o m p l e m e n t space o f space p end cell row cell n equals s a m p l e space s i z e end cell end table

We do not need to use p-hat, which is the 188 out of 523, to make the estimate for the standard error. We actually know p, which is 39%, or 0.39.

In this case, we're going to use 0.39 for p. This is another way of indicating population proportion. We can then use this to find q, which is the complement of p. The complement of 0.39 is calculated by 1 minus 0.39, which equals 0.61, or 61%. Sometimes we'll see this written as p subscript 0 and q subscript 0.

The sample size, n, is still 523 students who were surveyed.

square root of fraction numerator p q over denominator n end fraction end root equals square root of fraction numerator left parenthesis 0.39 right parenthesis left parenthesis 0.61 right parenthesis over denominator 523 end fraction end root equals square root of fraction numerator 0.2379 over denominator 523 end fraction end root equals square root of 0.000455 end root equals 0.021

The standard error is 0.021.

summary
Today we learned how to calculate standard error of a sample proportion, and practiced identifying which formula to use, based on the whether the population standard deviation is unknown or known.

Source: THIS TUTORIAL WAS AUTHORED BY RACHEL ORR-DEPNER FOR SOPHIA LEARNING. PLEASE SEE OUR TERMS OF USE.

Formulas to Know
Standard Error for Sample Proportions (Population Standard Deviation Is Known)

square root of fraction numerator p q over denominator n end fraction end root</p>
<p>p equals p o p u l a t i o n space p r o p o r t i o n space o f space s u c c e s s</p>
<p>q equals c o m p l e m e n t space o f space p</p>
<p>n equals s a m p l e space s i z e

Standard Error for Sample Proportions (Population Standard Deviation Is Unknown)

square root of fraction numerator p with hat on top q with hat on top over denominator n end fraction end root</p>
<p>p with hat on top equals s a m p l e space p r o p o r t i o n space o f space s u c c e s s</p>
<p>q with hat on top equals c o m p l e m e n t space o f space p with hat on top</p>
<p>n equals s a m p l e space s i z e