In-Class Exercise 12
Shih Chien University
2026-09-16
Confidence Interval for a Proportion
In a survey of 500 commuters, 180 said they use public transportation daily.
prop.test(180, 500)$conf.int.Sample Size for a Proportion
A researcher wants to estimate the proportion of households that recycle, with a margin of error of 3 percentage points at the 95% confidence level.
ceiling(). Explain in one sentence why rounding down is not acceptable.Confidence Interval for a Variance
A sample of 20 batteries has a standard deviation of 6.4 hours of life. The population is normally distributed.
qchisq() and d.f.=n-1.Elementary Statistics: A Step by Step Approach