[R] covariance matrix structure for random effect in glmmPQL

2010-09-10 Thread Qiu, Weiyu
Dear all, I'm using R function glmmPQL in MASS package for generalized linear mixed model considering the temporal correlations in random effect. There are 1825 observations in my data, in which the random effect is called Date, and there are five levels in Date, each repeats 365 times. When

[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

[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