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
ENH: penalized variance to prevent degenerate estimates, e.g. RLM #3250
problem: perfect fit in RLM #1439 (and several older issues): MAD is zero of there are too many identical values (or observations in a subspace with resid=0)
In one of the original cases that raised the problem, the user ran RLM on many small samples, in some cases mad was zero. If we assume that the different samples are roughly similar, then an appropriate model could be a Mixture/Random Effects model, and we would use the covariance information to "shrink" the coefficients to each other (as in panel data).
(maybe in the stype of "small area statistics") we could impose the overall information as prior/penalization on an individual sample. In that case, we wouldn't think that the Perfect Fit property of robust estimators should hold.
Since in GLM/LEF or linear model the variance is estimated separately and doesn't affect the asymptotics, we could just have a rough and a bit ad-hoc "improvement" of the scale estimate.
We would want either a user provided (from other samples) informative prior or a weak, not quite diffuse prior to keep us away from scale=0.
(I guess there should be a conjugate prior to simplify the calculations.)
Also: Bayesian language is easier for motivation, implementation will be in classical setting.
The same might be possible with other models where we estimate a variance directly (e.g. in some of the statespace models a stochastic component might become degenerate.)
a bit related estimation of regularize and robust covariance matrices #3197#3221 (although there the focus is on covariance/correlation/off-diagonal parts, with some scale estimation)
Activity