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 #35# by running the command
Estimate the fraction of green roofs that are of the type 'Daktuin' and calculate the #60\%# confidence interval around this estimate. Round your answers to three decimal points.
set.seed(35)
before taking the sample. Estimate the fraction of green roofs that are of the type 'Daktuin' and calculate the #60\%# confidence interval around this estimate. Round your answers to three decimal points.
Fraction of green roofs of type Daktuin = |
Lower bound #60\%# confidence interval = |
Upper bound #60\%# confidence interval = |
Unlock full access