6. Parameter Estimation and Confidence Intervals: Practical 6
Confidence intervals for proportions
Let's assume the municipality would take a sample of #16# to check for types of green roofs and also the distribution of the roofs over the different city districts. Simulate this situation by taking a simple random sample of size #16# from D, use seed #25# by running the command
Estimate the fraction of green roofs that are of the type 'Solar-sedumdak' and calculate the #55\%# confidence interval around this estimate. Round your answers to three decimal points.
set.seed(25) before taking the sample. Estimate the fraction of green roofs that are of the type 'Solar-sedumdak' and calculate the #55\%# confidence interval around this estimate. Round your answers to three decimal points.
| Fraction of green roofs of type Solar-sedumdak = |
| Lower bound #55\%# confidence interval = |
| Upper bound #55\%# confidence interval = |
Unlock full access