Last chance! 50% off unlimited learning
Sale ends in
svyglm
objects. The default is a Wald-type confidence
interval, adding and subtracting a multiple of the standard error. The
method="likelihood"
is an interval based on inverting the Rao-Scott
likelihood ratio test. That is, it is an interval where the working
model deviance is lower than the threshold for the Rao-Scott test at the
specified level.
"confint"(object, parm, level = 0.95, method = c("Wald", "likelihood"), ddf = Inf, ...)
svyglm
object"likelihood"
method, to use a t distribution rather than norma. If NULL
,
use object$df.residual
confint
data(api)
dclus2<-svydesign(id=~dnum+snum, fpc=~fpc1+fpc2, data=apiclus2)
m<-svyglm(I(comp.imp=="Yes")~stype*emer+ell, design=dclus2, family=quasibinomial)
confint(m)
confint(m, method="like",ddf=NULL, parm=c("ell","emer"))
Run the code above in your browser using DataLab