Displaying 3 results from an estimated 3 matches for "svrepstat".
2012 Feb 13
1
survey package svystat objects from predict()
...rom the survey package:
as.data.frame.svystat<-function(x,...){
rval<-data.frame(statistic=coef(x),SE=SE(x))
names(rval)[1]<-attr(x,"statistic")
if (!is.null(attr(x,"deff")))
rval<-cbind(rval,deff=deff(x))
rval
}
The relevant SE method seems to be:
SE.svrepstat<-function(object,...){
if (is.list(object)){
object<-object[[1]]
}
vv<-as.matrix(attr(object,"var"))
if (!is.null(dim(object)) && length(object)==length(vv))
sqrt(vv)
else
sqrt(diag(vv))
}
Instead of returning sqrt(vv) on each element, it calculates...
2010 May 21
1
viewing function code
Hi,
I want to view the code for the function confint in the stats package.
Typing just confint doesn't work. How can I view the code?
Thanks,
Walt
________________________
Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
walt at dataanalyticscorp.com
www.dataanalyticscorp.com
2006 Apr 11
4
Bootstrap and Jackknife Bias using Survey Package
Dear R users,
I?m student of Master in Statistic and Data analysis, in New University of Lisbon. And now i?m writting my dissertation in variance estimation.So i?m using Survey Package to compute the principal estimators and theirs variances.
My data is from Incoming and Expendire Survey. This is stratified Multi-stage Survey care out by National Statistic Institute of Mozambique. My domain of