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

Description Usage Arguments Details Value Examples

View source: R/nmmipw.R

Description

summary method for class "NMMIPW".

Usage

1
2
3
4
5
## 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

1
2
3
4
5
6
7
8
9
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)

NMMIPW documentation built on Dec. 20, 2021, 5:07 p.m.