ipwmod: Estimates the mean of an outcome with missing values using...

Description Usage Arguments Value

Description

Estimates the mean of an outcome with missing values using the SPPS model

Usage

1
2
ipwmod(x, a, y, phi = expit, dphi = dexpit, phiinv = expitinv,
  type = 1, estim.method = "ML")

Arguments

x

A matrix of covariates of dimension n x p

a

A vector a of 0s and 1s of dimension n

y

A vector of responses or outcomes

phi

A function that maps the real line onto the interval (0,1)

dphi

The derivative of phi

phiinv

The inverse of phi

type

The type of IPW estimator to be used: type 1 , type 2 and type 3 combine SPPS with, respectively, IPW1, IPW2 and IPW3 in Lunceford and Davidian(2004)

estim.method

The estimation method to be used for estimating the parameters "ML" (default) or "LS"

Value

a list containing the estimate of the mean and the estimators of beta and epsilon


mvaldora/SPPS documentation built on May 7, 2019, 12:53 a.m.