Skip to content
Prev 9998 / 20628 Next

GLMM or GLM?

On 4/23/2013 10:14 PM, joana martelo wrote:
Are density and velocity fish characteristics ? see below.
1. Fitting ungrouped or grouped (proportions) data should give the same 
results if
done correctly. You should not loose any information.

For glm, a typical response is a two-column matrix with the columns 
giving the numbers of successes and failures. If
you use proportions, you should also use the weights argument to 
indicate the number of cases.

2. To me, the first model seems more correct if  the model includes 
within-subject/fish
factors (density or velocity ?)

3. If you have only between-subject variables, then the GLM model is 
correct
(see 10.3 in Zuur et al., 2009, Mixed Effects Models and Extensions in 
Ecology with R).

My 2 cents.

Gabriel