search for: ybart

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

Did you mean: bart
2006 Jul 07
2
Multistage Sampling
...s N=M/m sum(Nl) = 23/3*(100+50+75)=1725. With this, my variance estimator is: y1<-mean(multi3$y[1:4]) # 39.5 y2<-mean(multi3$y[5:7]) # 45.33 y3<-mean(multi3$y[8:9]) # 54.5 yT1<-100*y1 # 3950 total cluster 1 yT2<-50*y2 # 2266.67 total cluster 2 yT3<-75*y3 # 4087.5 total cluster 3 ybarT<-1/3*sum(yT1,yT2,yT3) # 3434.722 s1 <- var(multi3$y[1:4]) # 643.67 var cluster 1 s2 <- var(multi3$y[5:7]) # 632.33 var cluster 2 s3 <- var(multi3$y[8:9]) # 612.5 var cluster 3 var.yT <- 23^2*( 20/23*1/6*sum( (yT1-ybarT)^2,(yT2-ybarT)^2,(yT3-ybarT)^2 ) + 1/69 * sum(100*96*s1, 50*47*...