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
To get started with weights for MLE, I suggest we just add them, but don't support initially any official interpretation. I'm thinking mainly of discrete models and GLM. The same applies to quantile regression, which can also add "user weights".
Specifically, I'm currently not interested in adding nobs correction or similar for frequency weights. Those require more work and a definition what different weights actually mean.
use cases: robust estimation to downweight outliers, and (I'm currently looking at) inverse probability weights, IPW, for treatment effect estimation. Weights in QuantReg are needed for Quantile treatment effects estimated using IPW (Firpo 2007).
difference and similarity to WLS:
Weights in WLS have the interpretation of heteroscedasticity and reweight the residuals. In contrast, in MLE we put directly a weight in front of the individual log likelihood contribution.
IRLS in both RLM and GLM use WLS just for weighted parameter estimation which is similar to the MLE weights suggested here.
Official support for weights can come as soon someone writes the unit tests and clarifies different weight options.
edit
Actually, in one parameter LEF/GLM models, the inverse weights correspond to rescaling the residuals and have directly the interpretation of a multiplicative heteroscedasticity as in WLS.
This should be equivalent to the variance function manipulation that I did for GLM to use a "foreign" variance function (example: Poisson with approximate Bernoulli/Binomial variance function for risk ratio estimation). A difference is in that changing the variance function directly is more flexible because it is not restricted to a multiplicative factor.)
Activity