search for: 78999

Displaying 2 results from an estimated 2 matches for "78999".

Did you mean: 8999
2005 Mar 29
6
Aggregating data (with more than one function)
...Salary 1 Johnson IT 56000 2 James HR 54223 3 Howe Finance 80000 4 Jones Finance 82000 5 Norwood IT 67000 6 Benson Sales 76000 7 Smith Sales 65778 8 Baker HR 56778 9 Dempsey HR 78999 10 Nolan Sales 45667 11 Garth Finance 89777 12 Jameson IT 56786 I want to calculate both the mean salary broken down by Department and also the total amount paid out per department i.e. I want both sum(Salary) and mean(Salary) for each Department. Right now, I a...
2006 Jul 07
2
Multistage Sampling
...c(1,2,3,4, 1,2,3, 1,2), nl=c(4,4,4,4, 3,3,3, 2,2), Nl=c(100,100,100,100, 50,50,50, 75,75), M=rep(23,9), y=c(23,33,77,25, 35,74,27, 37,72) ) dmulti3 <- svydesign(id=~cluster+id, fpc=~M+Nl, data=multi3) svymean (~y, dmulti3) mean SE y 45.796 5.5483 svytotal(~y, dmulti3) total SE y 78999 13643 and I estimate the population total as 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 clus...