adds propensity score to a data frame
1 2 3 4 5 6 7 8 9 10 11 |
data |
A data frame to be used. |
object |
A |
formula |
If not, write a formula to be fitted. Remember that you don't have to worry about group variable. .SD do exclude |
method |
Estimating methods
|
var |
The name of the propensity score column. |
mc_col |
Indicator column name for MC simulation if exists |
sc_col |
Indicator column name for various scenarios if exists |
parallel |
parallelize some operation |
... |
Additional arguments of fitting functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.