search for: xbark

Displaying 1 result from an estimated 1 matches for "xbark".

Did you mean: xbar
2009 Jan 17
2
Confidence Interval
I am new to R and Im some trouble with the following question... Generate 100 standard normal N(0,1) samples of size 100, X1(k),...,X100(k) where k=1,...,100 (The k is and indicie in brackets) Calculate the sample mean for each sample. For each sample mean Xbark the 0.95-confidence interval for the mean mew=0 is given by... Ik= ( Xbark plus or minus 1.96/10) Find the number of intervals such that 0 does not belong to Ik. How many of them do you expect to see? Well so far I have come up with... N<-100; Nsamp<-100 A<-matrix(rnorm(N*Nsamp,0,1),n...