Description Usage Arguments Value References
Integrated Propensity Score estimator based on exponential weighting function
1 2 3 4 5 6 7 8 9 10 11 12 |
d |
An n x 1 vector of binary treatment adoption indicators. |
x |
An n x k matrix of covariates to be used in the propensity score. First element must be a vector of 1's. |
xbal |
An n x l, l≤q k, matrix of “raw” covariares to be balanced (does not need to include interaction terms). Default is |
X.trans |
description of which transformation of covariates is used to enforce compactness. The alternatives are 'normal' (default), and 'arctan'. |
Treated |
Default is FALSE, which aims to achieve covariate distribution balance among treated, untreated and overall subpopulations. If TRUE, then the estimator aims to achieve covariate distribution balance for the treated subpopulation. |
beta.initial |
An optional k x 1 vector of initial values for the parameters to be optimized over. |
lin.rep |
Logical argument to whether an estimator for the asymptotic linear representation of the IPS parameters should be provided. Deafault is TRUE. |
whs |
An optional n x 1 vector of weights to be used. If NULL, then every observation has the same weights. |
x_keep |
Default is FALSE. If TRUE, we return covariate matrix in the output. |
maxit |
The maximum number of iterations. Defaults to 50000. = FALSE). Default is 999 if boot = TRUE |
A list containing the following components:
coefficients |
The estimated IPS_exp coefficients |
fitted.values |
The IPS_exp fitted probabilities |
linear.predictors |
The IPS_exp estimated index (X'beta) |
lin.rep |
An estimator of the IPS_exp coefficients' asymptotic linear representation |
converged |
An integer code. 0 indicates successful completion |
x |
The model matrix (i.e. the matrix of covariates used to estimate the IPS_exp parameters). Only returned if |
Sant'Anna, Pedro H. C, Song, Xiaojun, and Xu, Qi (2019), Covariate Distribution Balance via Propensity Scores, Working Paper <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3258551>.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.