Re: [R] tweedie and lmer

2009-08-27 Thread Simon Wood
If you don't have too many groups then you could get mgcv:gam to fit this using the Tweedie family from mgcv. It's a bit fiddly, but there's an example at the end of ?gam.models with exactly your RE structure. On Wednesday 26 August 2009 17:30, Mohammad AlMarzouq wrote: > Hello all, > > I have

Re: [R] tweedie and lmer

2009-08-27 Thread Ben Bolker
kbs wrote: > > This is the link that gave me the indication: > > https://stat.ethz.ch/pipermail/r-help/2007-March/127261.html > > Are there alternative ways to deal with a high count of zeros for > count data with lmer? > Fair enough. I think the problem is that lme4 has changed quite

Re: [R] tweedie and lmer

2009-08-26 Thread Mohammad AlMarzouq
This is the link that gave me the indication: https://stat.ethz.ch/pipermail/r-help/2007-March/127261.html Are there alternative ways to deal with a high count of zeros for count data with lmer? __ R-help@r-project.org mailing list https://stat.eth

Re: [R] tweedie and lmer

2009-08-26 Thread Ben Bolker
Mohammad AlMarzouq gmail.com> writes: > > Hello all, > > I have count data with about 36% of observations being zeros. I found > in some of the examples of the r-help mail archives that a tweedie > family of distributions could be used to fit a model with random > effects. Upon installing

[R] tweedie and lmer

2009-08-26 Thread Mohammad AlMarzouq
Hello all, I have count data with about 36% of observations being zeros. I found in some of the examples of the r-help mail archives that a tweedie family of distributions could be used to fit a model with random effects. Upon installing the tweedie package and attempting to fit the follo