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: GMM with observation weights, heteroscedasticity #2646
followup to my comments here and related comments #2640 (comment)
GMMW would be an analog to WLS. It is a relatively trivial extension, since weights can already be incorporated into the moment conditions, and it is implicitly used for example in GMMGLM.
This makes it also possible to write a unit test directly against WLS and GMM.
extensions for this would be pre- or simultaneously calculating the weights like in GLSHet given a model for the variances, or as in GLM as a function of the mean.
Calculating variances as additional moment condition would go into the direction of 2-parameter GLM/LEF and further for the GEE usecase into QIF (quadratic inference function)
And it would be a simple case to work towards more general whitening of correlation from the moments.
One possible complication is that we might want to use nonrobust GMM-weight matrix and cov_params as special case.
Some of this might only work for GMM with IV structure (models with elementary zero function in Davidson, MacKinnon, which are generalization of residuals in least squares models and GLM)
main direct applications
IV with heteroscedasticity
generic observation weights to use in robust RLM equivalents (downweight outliers or influential observations, just a possible connection: truncated regression for heavy tailed distributions or infinite variance distributions Eric Renault ?)
With weights we can cover several different use cases directly like IPW (#2455), outlier down weighting (#2873) and general variance functions. (from duplicat #2874
Activity
josef-pkt commentedon Mar 29, 2016
With weights we can cover several different use cases directly like IPW (#2455), outlier down weighting (#2873) and general variance functions. (from duplicat #2874