Re: [R] glht with a glm using a Gamma distribution

2008-04-15 Thread Charles C. Berry
On Mon, 14 Apr 2008, Jarrett Byrnes wrote: Quick question about the usage of glht. I'm working with a data set from an experiment where the response is bounded at 0 whose variance increases with the mean, and is continuous. A Gamma error distribution with a log link seemed like the logical

Re: [R] glht with a glm using a Gamma distribution

2008-04-15 Thread jebyrnes
To reply, in case anyone reads this, the problem was of course in the setup of the matrix, and there are two possible solutions. The first, for a model with only a single set of groupings, is to use mcp. So, even with this contrast matrix contra-rbind(A v. B = c(-1,1,0,0),

[R] glht with a glm using a Gamma distribution

2008-04-14 Thread Jarrett Byrnes
Quick question about the usage of glht. I'm working with a data set from an experiment where the response is bounded at 0 whose variance increases with the mean, and is continuous. A Gamma error distribution with a log link seemed like the logical choice, and so I've modeled it as such.