stxtpsm | R Documentation |
calculate propensity score for panel data
stxtpsm(
data,
treat,
cov,
lag = NULL,
id = NULL,
time = NULL,
method = "logit",
...
)
data |
a data.table labeld as panel data by |
treat |
variable name that indicates whether the unit is treated |
cov |
character vector indicating the set of covarieates |
lag |
an integer vector indicating how to use lags of covarieates |
method |
a string indicating the method used to calcuate propensity
score which will be passed to |
a list with match result, match log and balance check result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.