Repository navigation
Description
see also #3270
Dropping outliers or hard rejection weights is one of the easiest way to get high efficiency after using a high breakdown estimator in an initial stage. We can do the reweighting for robust estimation of covariances, in regression or MLE through trimming outliers. see #3256
One problem is that the distribution of the estimator and inference depend on the initial estimator, at least in some cases.
conclusion based on below:
- use fully iterated final stage (possibly with fixed scale), then standard error will not depend on initial conditions (as in MM and tau-estimators). For the special case of trimming we can use iterated ELTS or iterated EMTLE (efficient least trimmed squares or efficient maximum trimmed likelihood) part of it is in my LTS/ELTS PR based on Doornik, more theory and different trimming criteria are Cizek and references.
- If we want one-step or without convergence in the final stage, then we need to account for the initial estimator and the data dependence of the weights. One idea would be to use GMM similar to the IPW treatment effects case if the first stage as a estimating equation/moment condition representation.
- don't recommend that users drop outliers (warning by Ruppert and Carrol) if they want valid inference, unless they use a fully iterated estimator.
There are several references that mention it, but I never went through the details
Cizek ?
two older ones that show some of the details (I didn't read them)
Dollinger, Michael B., and Robert G. Staudte. 1991. “Influence Functions of Iteratively Reweighted Least Squares Estimators.” Journal of the American Statistical Association 86 (415): 709–16. doi:10.2307/2290402.
Ruppert, David, and Raymond J. Carroll. 1980. “Trimmed Least Squares Estimation in the Linear Model.” Journal of the American Statistical Association 75 (372): 828–38. doi:10.2307/2287169.
However, AFAIK, this does not affect all two-stage estimator, for example MM or tau estimators. In MM estimator we only use a scale/variance estimate from the initial stage and locally the asymptotic behavior is equivalent to an M-estimator. Tau estimator is equivalent to a data adaptive M-estimator.
(Also, we still have some orthogonality in the information matrix in LEF and elliptically symmetric models between first and second moment parameters.)
I'm not sure how this fits together. We need a warning at least for the mix-and-match reweighting results, when or if we add cov_params.
related: influence in WLS
http://stackoverflow.com/questions/40621686/does-statsmodels-wls-have-get-influence-function/40644521#40644521
So far I have seen mainly influence measures that take weights as given, however, Dollinger and Staudte (1991), point out the influence that comes through endogenous or data dependent weights.
update
Ruppert and Carroll above only use trimming by a fixed fraction of observations, or dropping the tails of an initial quantile regression.
Dollinger and Staudte is a good read (pretty self contained and not too heavy in the influence function)
a piece of the above puzzle:
The dependence of the reweighting estimator on the initial estimator is only if we use a few IRLS steps. The effect goes away if we iteratively update the weights until convergence, if convergence condition is satisfied. A Gauss-Newton step (GNR) Newton-Raphson has even in one step the standard asymptotic result and does not depend on the initial estimator. GNR and IRLS differ in this.
They use M-estimator with smooth rho/norm functions in the theorems but say it extends to hard thresholding/trimming functions. Initially they assume scale is known, but it also extends to using a fixed scale estimate from the initial estimator. They don't have a result if the scale estimate is updated during IRLS as in Huber proposal 2.
maybe that corresponds to what Cizek (*) is arguing that including the trimming in the main estimator removes the dependence of an initial estimator on the cov_params. (I read a bit of his but did not try to understand any details)
(*) correct spelling has two accents, (without those Zotero only has working papers)
(IIRC I looked at the 2013 article for this point, i.e. similar to ELTS)
———. 2013. “Reweighted Least Trimmed Squares: An Alternative to One-Step Estimators.” TEST 22 (3): 514–33. doi:10.1007/s11749-013-0335-5.
Čížek, Pavel. 2006. “Least Trimmed Squares in Nonlinear Regression under Dependence.” Journal of Statistical Planning and Inference 136 (11): 3967–88. doi:10.1016/j.jspi.2005.05.004.
———. 2008a. “Robust and Efficient Adaptive Estimation of Binary-Choice Regression Models.” Journal of the American Statistical Association 103 (482): 687–96.
———. 2008b. “GENERAL TRIMMED ESTIMATION: ROBUST APPROACH TO NONLINEAR AND LIMITED DEPENDENT VARIABLE MODELS.” Econometric Theory 24 (6): 1500–1529. doi:10.1017/S0266466608080596.
———. 2016a. “Generalized Method of Trimmed Moments.” Journal of Statistical Planning and Inference 171 (April): 63–78. doi:10.1016/j.jspi.2015.11.004.
———. 2016b. “Trimmed Likelihood-Based Estimation in Binary Regression Models.” Austrian Journal of Statistics 35 (2&3): 223–32.
Neykov, N. M., P. Čížek, P. Filzmoser, and P. N. Neytchev. 2012. “The Least Trimmed Quantile Regression.” Computational Statistics & Data Analysis 56 (6): 1757–70. doi:10.1016/j.csda.2011.10.023.
update 2
Simpson, Douglas G., and Yuan-Chin Ivan Chang. 1997. “Reweighting Approximate GM Estimators: Asymptotics and Residual-Based Graphics.” Journal of Statistical Planning and Inference, Robust Statistics and Data Analysis, Part II, 57 (2): 273–93. doi:10.1016/S0378-3758(96)00049-3.
has some interesting details
I'm not sure whether their main result is very useful (if the initial estimator is approximately a GM estimator, then reweighting with GM produces an estimator that is approximately GM IIUC?)
However they have some interesting details on GM estimators:
the three parameterization for the exog weights, some comments about relative performance in the simulation,
asymptotic distribution including score and Hessian for the HC sandwich,
diagnostic plots for weighted and unweighted residuals and fitted values, see also #808
Newton-Raphson (which AFAIU looks the same as Gauss-Newton GNR) one-step approximate GM estimator is asymptotically equivalent to full iteration.
(aside: I think I'm mixing up Newton-Raphson one-step and Gauss-Newton on-step
Davidson and MacKinnon use Gauss-Newton regression which I thought is equivalent to an extra WLS step, but there might be conditions like information matrix equality holds that might be required for this.
)
one-step NR: From what I know previously, the asymptotic equivalence between one-step and fully iterated Newton-Raphson requires that we start at a sqrt(nobs) consistent estimator. Dollinger and Staudte assume this throughout. So the NR one-step result would not apply to some high breakdown estimators that are converging slower than sqrt(nobs) like MVE and LMS. We need full iteration even with NR in those cases.
related aside: In some (?) article, they showed Monte Carlo results where one-step reweighting was doing surprisingly well based on an initial estimator with slower convergence rate (MVE, IIRC). This would be the case if the first step in an iterative reweighting estimator brings us already close to the fully iterated estimate in a small sample.
(to add a bit more to the one-step soup)
one-step fisher scoring versus newton-raphson
both have asymptotics in one-step equivalent to fully iterated under homoscedasticity and symmetric distribution (with M/GM estimators)
However, starting with a less that sqrt(n) initial estimator
- fisher scoring one-step get sqrt(n) asymptotics under asymmetry but not under heteroscedasticity
- newton-raphson one-step get sqrt(n) asymptotics under heteroscedasticity but not under asymmetry
i.e. robustness in different directions of distributional misspecification
Simpson, D. G., D. Ruppert, and R. J. Carroll. 1992. “On One-Step GM Estimates and Stability of Inferences in Linear Regression.” Journal of the American Statistical Association 87 (418): 439–50. doi:10.2307/2290275.
another related aside: Huber sandwiches are not HC White sandwiches.
My impression while reading early 1980's articles on robust estimators and M-estimators:
The sandwiches usually don't take possible unspecified heteroscedasticity into account,
i.e. E(x u u X) = E(u u) * E(x x). (similar to AC versus HAC).
They end up with an inv(X'X), which in itself is not robust.
(roughly: the general form is H^{-1} V H^{-1}, but then the actual formulas in the theorems are simplified using additional assumptions which are specified but may not be needed.)
Activity
josef-pkt commentedon Nov 18, 2016
I think I'm done here, the rest are implementation details :) i.e. convert one-step reweighting to iterated reweighting and emphasize iterative efficient trimming, MM, CM and tau estimators (with S-estimators as initial stage).
josef-pkt commentedon Mar 28, 2020
cross link: fixed percent trimming for descriptive statistics and k-sample tests #6526
Can we get similar methods using RLM? i.e. what are close analogues of standalone hypothesis tests and RLM models?
In RLM, trimming depends on the estimated scale, so we don't have a fixed trimming fraction. But we do have norms that are close to trimming.
related questions:
which norm is close to winsorizing?
old article that I haven't looked at
Yale, Coralee, and Alan B. Forsythe. 1976. “Winsorized Regression.” Technometrics 18 (3): 291–300. https://doi.org/10.2307/1268738.
aside: We still don't have HC cov_types for RLM, so we cannot replicate a robust HC2 Welch oneway anova with RLM. or Yuen-Welch for trimmed and heteroscedasticity robust tests. #1379
josef-pkt commentedon Dec 13, 2022
parking a reference, I don't find a better issue
Du, Zhiyi, and Douglas P. Wiens. “Jackknifing, Weighting, Diagnostics and Variance Estimation in Generalized M-Estimation.” Statistics & Probability Letters 46, no. 3 (February 1, 2000): 287–99. https://doi.org/10.1016/S0167-7152(99)00117-0.
very few citations, but first part looks interesting (based on very brief skimming)