Description Usage Arguments Value Examples
Create a formula based on lists of variables. All independent variables will be interacted with the moderator if the latter is specified. Controls are not.
1 2 3 |
dependent |
Character string. Dependent variable. |
independent |
Character string. Variables of interest. |
moderator |
Character vector. Moderating variable. |
control |
Character vector. Control variables. |
fixed_effect |
Character vector. Fixed effects. |
instrument |
Character vector. Instruments. |
cluster |
Character vector. Clusterings for errors. |
A formula to run in regressions. Interactions are introduced under the form "independent_x_moderator" and therefore the corresponding variable must be created in the dataset.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.