6. Parameter Estimation and Confidence Intervals: Practical 6
Confidence Interval
The municipality of Amsterdam wants to estimate the average water retention capacity of the green roofs, by taking a simple random sample of size from the population. Simulate what happens in this case by taking a simple random sample from the variable capaciteit in the dataset V (groene daken). Use the seed: by applying the command
What is the average of your sample?
set.seed(99)
before running the sample()
command.What is the average of your sample?
Unlock full access