5) R Code:
Overlap a histogram of 10000 random values from Z ∼ N(0,1) with the
histogram below. Include your code
X = hist(replicate(10000, (mean(rbinom(50, 1, 0.1))))
R-Code;
X = hist(replicate(10000, (mean(rbinom(50, 1, 0.1)))))
X
Histogram:
Now We Overlap a histogram of 10000 random values from Z ∼ N(0,1) with the histogram
R-code:
X = hist(rnorm(10000, mean=0, sd=1))
X
Get Answers For Free
Most questions answered within 1 hours.