Description Usage Arguments Value
Estimates the mean of an outcome with missing values using the SPPS model
1 2 |
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 |
phiinv |
The inverse of |
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" |
a list containing the estimate of the mean and the estimators of beta
and epsilon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.