Re: [R] Function for linear mixed model with gamma-distributed random effects?

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri, 22 Feb 2008 10:30:40 +0000 (UTC)

Christopher Hatherly <Christopher.Hatherly <at> anu.edu.au> writes:

I am trying to fit an ellipse equation to some spatial human factors data, varying the major and minor axes randomly and specifying an exp~ variogram for errors. Using normally-distributed random effects produces some -ve minor/major axes. I am hoping to be able to specify a gamma distribution to overcome this, but have not been able to work out how.

Does anybody know an R function that implements lme with gamma-distributed random effects?


One of the function in DPpackage might give you a starter. Or use RBrugs, but that will required some additional reading. Or better, try to fit you model in some existing statistical context, what you want to do it seem a bit hand-knit to me and resolvable via book-lookup.

Dieter



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 22 Feb 2008 - 10:39:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Feb 2008 - 11:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive