fit_treatment_models | R Documentation |
Fit treatment models for IPTW
fit_treatment_models(data, rhs_formula, Tt, freq_w)
data |
Wide format data frame with one row per individual, and columns Lt, At, Yt for t = 0,1,...,Tt. |
rhs_formula |
chr. Formulas to use Format: '~L{t}+L{t-1}' etc. |
Tt |
int. Final period in dataset (t=0,1,...,Tt) |
... |
Parameters passed to |
list of models for period t=0,1,...,Tt, in that order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.