reghdfe_pois | R Documentation |
reghdfe_pois
returns the fixest object consisting of the regression equation.
reghdfe_pois(data, outcome, explanatory_vars, fixed_effects = NULL, cluster)
data |
tibble or dataframe. |
outcome |
outcome of interest. Must be a string. |
explanatory_vars |
vector of explanatory variables. Must be a string. |
fixed_effects |
a vector of fixed effects. Must be a string. Default to NULL. |
cluster |
column to cluster by. Must be a string. |
This function calls the fixest::fepois() function, but simiplifies the typing.
reghdfe_pois(mtcars, "mpg", "hp", "am", "am")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.