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