Sometimes I hear about people talk about how this or that covariate or feature is "weighted" in a predictive model, but I can't find an easy mechanism to do that in glm
. The weights
there refer to weighting individuals, not covariates.
Seems like regressions are designed to be fit and left alone. You either put a feature in the model or you don't.
The purpose of these weights may be to reflect an existing prior or simply to explore changing the relative contribution of the covariates in a model. I can imagine several reasons why you would apply weights but no evidence anyone actually does it in a regression.
Am I missing something? Is it normal to change the coefficients of a regression to match some preconceived notion regardless of fit? How do I do it?