Please me out! I appreciate any helps ! Thanks!
I have trouble on repeat doing re-sampling for 1000 times. I tried using replicate() to do that but it\'s not working
This is more of an extended comment where I demonstrate that replicate should work. Here's an example of a CLT. Just replace your lines what's between the curly braces.
replicate
x <- replicate(1000, { mm <- runif(10) mean(mm) }) hist(x)