powered by
Extract i.i.d. decomposition (influence function) from model object
iid(x,...)# S3 method for default iid(x,bread,id=NULL,folds=0,maxsize=(folds>0)*1e6,...)
# S3 method for default iid(x,bread,id=NULL,folds=0,maxsize=(folds>0)*1e6,...)
model object
additional arguments
(optional) id/cluster variable
(optional) Inverse of derivative of mean score function
(optional) Calculate aggregated iid decomposition (0:=disabled)
(optional) Data is split in groups of size up to 'maxsize' (0:=disabled)
# NOT RUN { m <- lvm(y~x+z) distribution(m, ~y+z) <- binomial.lvm("logit") d <- sim(m,1e3) g <- glm(y~x+z,data=d,family=binomial) crossprod(iid(g)) # }
Run the code above in your browser using DataLab