The safety inspector in a large city wants to estimate the proportion of buildings in the city that are in violation of fire cod
es. A random sample of 40 buildings is chosen for inspection, and 4 of them are found to have fire code violations. Estimate the proportion of buildings in the city that have fire code violations, and find the uncertainty in the estimate.
Proportion of buildings in the city that have fire code violations: 10%
Uncertainty 0.3 = 30%
Step-by-step explanation:
This situation complies with a binomial model where p is the probability of finding a building having fire code violations and q=1-p
Since in random sample of 40 buildings chosen for inspection 4 of them are found to have fire code violations, the proportion is 4/40 = 0.1 or 10% and p=0.1 as well.
<em>In a</em> <em>binomial model the standard deviation s is:
</em>