Re: [R] mu^2(1-mu)^2 variance function for GLM

2005-06-22 Thread Henric Nilsson
Dear Professor Firth, David Firth said the following on 2005-06-16 17:22: I do not have a ready stock of other examples, but I do have my own version of a family function for this, reproduced below. It differs from yours (apart from being a regular family function rather than using a

[R] mu^2(1-mu)^2 variance function for GLM

2005-06-16 Thread Henric Nilsson
Dear list, I'm trying to mimic the analysis of Wedderburn (1974) as cited by McCullagh and Nelder (1989) on p.328-332. This is the leaf-blotch on barley example, and the data is available in the `faraway' package. Wedderburn suggested using the variance function mu^2(1-mu)^2. This variance

Re: [R] mu^2(1-mu)^2 variance function for GLM

2005-06-16 Thread David Firth
Dear Henric I do not have a ready stock of other examples, but I do have my own version of a family function for this, reproduced below. It differs from yours (apart from being a regular family function rather than using a modified quasi) in the definition of deviance residuals. These