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
norms.estimate_location: M-estimator for mean with fixed scale using weighted mean iteration, optional norm
scale.HuberScale M-scale estimate (mean assumed to be zero), hardcoded TrimmedMean.rho,
scale.Huber: M-estimator for mean with option for norm simultaneously estimated scale with hard coded TrimmedMean.rho norm
iterates estimate_location to maxiter, before updating scale in "outer" iteration loop.
HuberScale is used by RLM.
Huber and estimate_location have no internal use, AFAIR.
I have added similar functions for the multivariate case in robust.covariance.
This should be restructured or replaced to allow for more general norms in scale estimet #9171.
Also, I would like to get S-estimator for mean and scale as a prototype for S-estimator methods. Deterministic starting points for global S-estimator search could be quantiles of the endog.
As pattern, I guess we can use HuberScale class structure for generic MScale, and scale.Huber for generic mean-scale estimators.
I guess what I will do is write new classes following that patter, and then replace HuberScale and Huber once I can replicate it by the general classes.
A helper function estimate_scale similar to norms.estimate_location would allow to outsource all computations inside the "outer iteration".
If we include mean estimate, then we could include inferential statistics like standard errors for mean.
Otherwise, we leave this as simple estimator and wait with inference until we have the regression/RLM/... versions for it.
The text was updated successfully, but these errors were encountered:
current (old) code in statsmodels robust
norms.estimate_location
: M-estimator for mean with fixed scale using weighted mean iteration, optionalnorm
scale.HuberScale
M-scale estimate (mean assumed to be zero), hardcoded TrimmedMean.rho,scale.Huber
: M-estimator for mean with option for norm simultaneously estimated scale with hard coded TrimmedMean.rho normHuberScale is used by RLM.
Huber and estimate_location have no internal use, AFAIR.
I have added similar functions for the multivariate case in robust.covariance.
This should be restructured or replaced to allow for more general norms in scale estimet #9171.
Also, I would like to get S-estimator for mean and scale as a prototype for S-estimator methods. Deterministic starting points for global S-estimator search could be quantiles of the
endog
.As pattern, I guess we can use HuberScale class structure for generic MScale, and scale.Huber for generic mean-scale estimators.
I guess what I will do is write new classes following that patter, and then replace HuberScale and Huber once I can replicate it by the general classes.
A helper function estimate_scale similar to
norms.estimate_location
would allow to outsource all computations inside the "outer iteration".If we include mean estimate, then we could include inferential statistics like standard errors for mean.
Otherwise, we leave this as simple estimator and wait with inference until we have the regression/RLM/... versions for it.
The text was updated successfully, but these errors were encountered: