6. Parameter Estimation and Confidence Intervals: Practical 6
Confidence intervals for proportions
Let's assume the municipality would take a sample of #19# 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 #19# from D, use seed #90# by running the command set.seed(90) before taking the sample.
Estimate the fraction of green roofs that are of the type 'Sedumdak' and calculate the #55\%# confidence interval around this estimate. Round your answers to three decimal points.