Skip to content

Let Fepois inherit from Feglm? #1097

@leostimpfle

Description

@leostimpfle

Feglm implements the iterative weighted least squares algorithm by Stammann (2018) in Feglm.get_fit. While this method also works for Poisson regressions, there is currently a separate Fepois.get_fit.

I guess this is historically grown because we first had Poisson regressions and only recently implemented GLMs, but I had two questions:

  • Are Feglm.get_fit and Fepois.get_fit in fact equivalent?
  • Would it make sense to make Fepois inherit from Feglm (similarly to Felogit etc)?

I believe that in fixest Poisson is just another GLM "family" but follows the same structure and uses the same methods as other GLM families.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions