summary.NMMIPW {NMMIPW}R Documentation

Summarizing IPW or AIPW Estimators under Nonmonotone Missing at Random Data

Description

summary method for class "NMMIPW".

Usage

## S3 method for class 'NMMIPW'
summary(object, ...)

## S3 method for class 'summary.NMMIPW'
print(x, ...)

Arguments

object

an object of class "NMMIPW", usually, a result of a call to NMMIPW.

...

further arguments passed to or from other methods.

x

an object of class "summary.NMMIPW", usually, a result of a call to summary.NMMIPW.

Details

print.summary.NMMIPW tries to be smart about formatting coefficients, an estimated variance covariance matrix of the coefficients, Z-values and the corresponding P-values.

Value

The function summary.NMMIPW computes and returns a list of summary statistics of the fitted model given in object.

Examples

n = 100
X = rnorm(n, 0, 1)
Y = rnorm(n, 1 * X, 1)
O1 = rbinom(n, 1, 1/(1 + exp(-1 - 0.5 * X)))
O2 = rbinom(n, 1, 1/(1 + exp(+0.5 + 1 * Y)))
O = cbind(O1, O2)
df <- data.frame(Y = Y, X = X)
fit <- nmm_fit(data = df, O = O, formula = Y ~ X, funct = lm)
summary(fit)

[Package NMMIPW version 0.1.0 Index]