Exercise

# Exercise 2 - Sample the population of heights

Call the population average computed above \(\mu\) and the standard deviation \(\sigma\). Now take a sample of size 50, with replacement, and construct an estimate for \(\mu\) and \(\sigma\).

Instructions

**100 XP**

- Use the
`sample`

function to sample`N`

values from`x`

. - Calculate the mean of the sampled heights.
- Calculate the standard deviation of the sampled heights.