2. Approximating the normal distribution. A draw from the normal distribution can be approximated by summing draws from
uniform distributions and then subtracting the expected value. Using the function runif(n, min, max)
, draw 25 observations
from a uniform distribution with a minimum of 0 and a maximum of 1. Repeat this three times and then subtract the expectation, which is 1.5.
Plot a histogram of your draws using hist()
.