You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FAQ/ENH: categorical exog - interpretation of pinv regularization, constraints #4215
(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 ?
Activity