Skip to content

Singleton dropping preprocessing in solve() #47

Description

@schroedk

Motivation

Long-tailed FE designs have most factor levels appearing in one observation,
contributing no identifying information. On directors.csv (525K obs), iteratively
dropping singletons reduces the solve from ~1.4s to ~50ms (≥20×). pyfixest does
this automatically inside feols(); within currently has no equivalent.

Goal

Implement iterative singleton dropping as default preprocessing inside solve(),
with an opt-out. Return β̂ aligned with original factor-level indexing.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions