Description Usage Arguments Value
Single iteration of weight demean w.r.t. fixed effect.
1 | computeWeightFe(dt, w_i, denom, fe)
|
dt |
data.table. |
w_i |
Character. Weight to demean. |
denom |
Numeric. Relative size of untreated population. |
fe |
Character. Name of the fixed effect to demean on. |
Void. Mutate the weight vector in the original data.table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.