Skip to main content
3 of 4
deleted 6 characters in body; edited title
chl
  • 54.4k
  • 23
  • 227
  • 388

Regression modelling with unequal variance

I would like to fit a linear model (lm) where the residuals variance is clearly dependent on the explanatory variable.

The way I know to do this is by using glm with the Gamma family to model the variance, and then put its inverse into the weights in the lm function (example: http://nitro.biosci.arizona.edu/r/chapter31.pdf)

I was wondering:

  • Is this the only technique?
  • What other approaches are relevant?
  • What R packages/functions relevant to this type of modelling? (other then glm, lm)
Tal Galili
  • 21.9k
  • 36
  • 147
  • 208