Re: [R] specify the covariance matrix for random effect

2010-09-03 Thread Ben Bolker
Ben Bolker bbolker at gmail.com writes: Qiu, Weiyu weiyu at ualberta.ca writes: Hi, I'm doing a generalized linear mixed model, and I currently use an R function called glmm. If you could get by with an AR or ARMA structure then you could use lme() with the 'correlation'

[R] specify the covariance matrix for random effect

2010-09-02 Thread Qiu, Weiyu
Hi, I'm doing a generalized linear mixed model, and I currently use an R function called glmm. However, in this function they use a standard normal distribution for the random effect, which doesn't satisfy my case, i.e. my random effect also follows a normal distribution, but observations

Re: [R] specify the covariance matrix for random effect

2010-09-02 Thread Ben Bolker
Qiu, Weiyu weiyu at ualberta.ca writes: Hi, I'm doing a generalized linear mixed model, and I currently use an R function called glmm. However, in this function they use a standard normal distribution for the random effect, which doesn't satisfy my case, i.e. my random effect also

[R] specify the covariance matrix for random effect

2010-09-02 Thread Qiu, Weiyu
Hi, I'm doing a generalized linear mixed model, and I currently use an R function called glmm. However, in this function they use a standard normal distribution for the random effect, which doesn't satisfy my case, i.e. my random effect also follows a normal distribution, but observations