Description Usage Arguments Value
View source: R/create_stability_plot.R
create_felm_formulas
is the second step of a starbility
plot, following
create_grid
. It is generally called directly by stability_plot
, but the user
can also call it manually.
1 | create_felm_formulas(grid., perm., lhs., rhs., ...)
|
grid |
A dataframe generated by |
lhs |
A string indicating the name of the outcome variable in |
rhs |
A string indicating the name of the explanatory variable for which coefficient estimates will be plotted. |
perm |
A named dictionary in which values correspond to the sets of variables that should be iterated upon to produce the stability plot and names correspond to the names of these sets of variables that should be displayed in the plot. |
base |
Optional. A named dictionary in which values correspond to the sets of variables that should always be included in the model in all specifications and names correspond to the names of these sets of variables that should be displayed in the plot. |
perm_fe |
Optional. A named dictionary in which values correspond to the sets of fixed effects
that should be iterated upon to produce the stability plot and names correspond to the names
of these sets of variables that should be displayed in the plot. Functionally, these operate
identically to |
nonperm_fe |
Optional. A named dictionary in which values correspond to fixed effects that should be
iterated upon to produce the stability plot and names correspond to the names of these
sets of fixed effects that should be displayed in the plot. These fixed effects are included
sequentially in the plot, one at a time – i.e. combinations of |
fe_always |
Optional. A logical scalar. If one or more sets of fixed effects are
specified in |
iv |
Optional. A string indicating the variables which should be used to instrument |
cluster |
Optional. A string indicating the name of the variable by which standard errors should be clustered. Defaults to no clustering. |
A data.frame containing all possible permutations of controls and a column with
felm
expressions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.