Learn R Programming

NMMIPW (version 0.1.0)

summary.NMMIPW: Summarizing IPW or AIPW Estimators under Nonmonotone Missing at Random Data

Description

summary method for class "NMMIPW".

Usage

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

# S3 method for 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.

Value

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

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.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab