Description Usage Arguments Value
This function allows the user to calculate the t-test statistics adjusted for the Generalized Propensity Score. It follows the development of Hirano and Imbens (2004).
1 |
dt |
Data.frame object in R. This data frame must have quant and covs as variable names |
quant |
Character value identifying the categorical values for the treatment variables |
block_size |
Scalar value that defines the number of blocks to create based on the GPS values evaluated at the median of the quantile. The default is five blocks. |
gps_mat |
Matrix with the generalized propensity score values for each individual evaluated at the median of each treatment interval |
covs |
Character value or vector that contains the covariate to check for balance |
List of objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.