Description Usage Arguments Value
Estimates the avarage treatment effect (ATE) 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 |
estim.method |
The estimation method to be used for estimating the parameters "ML" (default) or "LS" |
maxit |
The maximum number of iterations to be performed. |
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) |
a list containing the ATE and the estimators of beta
, epsilon
and delta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.