Skip to content

faster fixed effects (or simply any regression) #7

@laszlosandor

Description

@laszlosandor

-areg- is fast on Stata 12 and above (three times faster than -xtreg-), but -_regress, absorb()- is even faster. Maybe it is less able to parse some factor/time-series variable lists or there are other pitfalls, but it seems worth investigating. If the usual use case is perfectly fine with _regress, and esp. if the problematic cases are easy to identify and the user can be asked or expected to set a flag for these cases herself, _regress could be used by default.

Btw, for multiple FEs, and interactions, and group-specific trends, a speedy option seems to come from -reghdfe- on SSC.

Note though that -_regress- only allows conventional standard errors, but it can be fine for many applications/exploration. Three times faster than -regress- or -areg-.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions