Description Usage Arguments Value
View source: R/fit_first_stage_elasticity.R
Bootstrap SE Percentage Change Models
1 | bootstrap_fs_perc_change(DT, form, y, x_main, x_int, B, quiet)
|
DT |
a data.table |
form |
fomula, first stage formula |
y |
character vector, name of response variable(s) without months suffix |
x_main |
character (default = "first_mo"), name of instrument |
x_int |
character vector, names of variables to interact instrument with |
B |
integer, number of bootstrap samples to use when calculating standard errors |
quiet |
logical (default = FALSE), if TRUE then does not print progress |
data.table with standard errors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.