Skip to content

FAQ/ENH: categorical exog - interpretation of pinv regularization, constraints #4215

Open

Description

@josef-pkt

(random thoughts e.g. age period cohort survival model with Poisson)

comparing pinv/PCA, ridge with tiny penal_weight and constraints if we have several categorical variables and their interaction but we use the full over-parameterized set of dummy variables.

Question: Do pinv and Ridge give the same result as the sum of dummy effects = 0 constraint?

My guess is yes, but it needs to be tried out. And maybe it only holds in the linear model, and maybe only for balanced data.

usage: identification with over-parameterized models, pinv comes for free, ridge is easy, constraints need to know the composition of exog.

related: imposing informative priors on categorical effects, e.g. all effects are close to each other, or are sequentially close if ordered (structured prior covariance in Ridge/Theil), issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions