3. Relative Frequency histogram
y =0:1:20 Relative Frequency Histogram
f = binornd (20,.7,1,200) freqs=hist(f,y)
hist(f,y) props=(freqs/200)
plot(props)
5. The Law of Large says that the proportion of
realizations attaining a particular value will
converge to the true probability of that realization.
where f is the probability mass function of Y
y = binornd (20,.7,1,1000)
freq= hist(y,0:1:20)
plot(freq/1000)