Wasn't sure if this was the best place to post this. I have this question to do in R but i'm not sure on the code to use in order to get an answer. Anyone use R?
Use R to generate a number of values(say 1000) from a binomial distribution with parameters 660 and 378/660. Hence identify an interval that covers 95% of your generated values. (excluding 2.5% from each end of the distribution)
Is there some code I can use to find the 95% interval?
Thanks!