In this exrecise , I absolutely didn’t understand the instruction below . It is totally confusing.
I have not seen Point 3 in the previous missions of sampling . This seems a totally new concept.
- Set the seed to 4 to make your result reproducible.
- Compute the mean of the
SalePrice
variable. Save the result asparameter
. We’ll assume that the data we have is a population relative to the question “What’s the mean sale price of a house in Ames, Iowa for the period 2006-2010?”. - Before we can generate samples of several sizes, let’s generate a vector of different sample sizes.
- The minimum size will be 5.
- The maximum size will be 2,876.
- The sizes between the minimum and maximum are separated by 29 (so that we will have a vector of 100 sizes).
- To achieve that, you’ll need to generate a sequence from 5 by 29 of size 100.
- Save this sequence as
sample_sizes
.
I have not seen Point 3 in the previous missions of sampling . This seems a totally new concept.