getVar | R Documentation |
Given a data set and vector of indices for treated units, computes the variance of the propensity score fitted via logistic regression.
getVar(covs, tIndex)
covs |
A data frame of baseline covariates. |
tIndex |
A vector indicating which units are to receive treatment. |
Returns the variance of the fitted propensity scores.
Travis M. Loux
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.