reghdfe_pois: High dimension fixed effects regression (Poisson) with fixest...

View source: R/reghdfe_pois.R

reghdfe_poisR Documentation

High dimension fixed effects regression (Poisson) with fixest package.

Description

reghdfe_pois returns the fixest object consisting of the regression equation.

Usage

reghdfe_pois(data, outcome, explanatory_vars, fixed_effects = NULL, cluster)

Arguments

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.

Details

This function calls the fixest::fepois() function, but simiplifies the typing.

Examples

reghdfe_pois(mtcars, "mpg", "hp", "am", "am")


michaeltopper1/ifc documentation built on Jan. 30, 2023, 10:08 a.m.