% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binomial.regression.R
\name{IC.binreg}
\alias{IC.binreg}
\title{Influence curve components for binomial regression ATE}
\usage{
\method{IC}{binreg}(x, type = c("coef", "DR", "G"), ...)
}
\arguments{
\item{x}{An object of class \code{ATE}, or an object containing an
\code{iid} component.}

\item{type}{Character vector specifying which influence curve components
to return. Possible values are:
\describe{
  \item{coef}{Influence curve for regression coefficients}
  \item{DR}{Doubly robust ATE influence curve}
  \item{G}{G-computation ATE influence curve}
}
If \code{x} inherits from \code{ATE} and \code{type} is missing,
the default is \code{c("DR", "G")}.}

\item{...}{Currently unused.}
}
\value{
A numeric matrix obtained by column-binding the selected
influence curve components. Each column corresponds to one element
of \code{type}, with column names preserved.
}
\description{
Extracts and scales influence function (IC) components from a fitted
binomial regression ATE object or raw IC matrix. Depending on the object
class and requested `type`, returns one or more components combined by
column-binding.
}
\details{
For objects of class \code{ATE}, the function extracts and rescales
the stored influence curve components:

\itemize{
  \item \code{x$iid} for coefficient ICs
  \item \code{x$riskDR.iid} for doubly robust ATE ICs
  \item \code{x$riskG.iid} for G-computation ICs
}

Each component is multiplied by its sample size (\code{NROW(.)}).

For non-\code{ATE} objects, the function returns
\code{NROW(x$iid) * x$iid}.
}
\examples{
\dontrun{
# default ATE behavior (DR + G)
IC.binreg(fit)

# only DR component
IC.binreg(fit, "DR")

# multiple components
IC.binreg(fit, c("coef", "DR"))
}

}
