File: IC.Rd

package info (click to toggle)
r-cran-lava 1.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,816 kB
  • sloc: sh: 13; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 895 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/IC.R
\name{IC}
\alias{IC}
\alias{IC.default}
\alias{var_ic}
\title{Extract i.i.d. decomposition (influence function) from model object}
\usage{
IC(x,...)

\method{IC}{default}(x, bread, id=NULL, folds=0, maxsize=(folds>0)*1e6,...)
}
\arguments{
\item{x}{model object}

\item{...}{additional arguments}

\item{id}{(optional) id/cluster variable}

\item{bread}{(optional) Inverse of derivative of mean score function}

\item{folds}{(optional) Calculate aggregated iid decomposition (0:=disabled)}

\item{maxsize}{(optional) Data is split in groups of size up to 'maxsize'
(0:=disabled)}
}
\description{
Extract i.i.d. decomposition (influence function) from model object
}
\examples{
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)
var_ic(IC(g))

}