Re: [R] Mixed effects model with binomial errors - problem

2008-09-19 Thread ONKELINX, Thierry
AIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens RFTW Verzonden: vrijdag 19 september 2008 8:16 Aan: r-help@r-project.org Onderwerp: Re: [R] Mixed effects model with binomial errors - problem anyone? RFTW wrote: > > ok... the model now runs properly (say, without errors). Now about the >

Re: [R] Mixed effects model with binomial errors - problem

2008-09-18 Thread RFTW
anyone? RFTW wrote: > > ok... the model now runs properly (say, without errors). Now about the > result. > These are the averages per treatments > > tapply(VecesArbolCo.VecesCo.C1,T2,mean) > a b c d > 0.49 0.56 0.45 0.58 > > > I run this very simple model > >> summary(model

Re: [R] Mixed effects model with binomial errors - problem

2008-09-11 Thread RFTW
ok... the model now runs properly (say, without errors). Now about the result. These are the averages per treatments tapply(VecesArbolCo.VecesCo.C1,T2,mean) a b c d 0.49 0.56 0.45 0.58 I run this very simple model > summary(model1<-lmer(cbind(VisitsExpTree,TotalVisits-VisitsEx

Re: [R] Mixed effects model with binomial errors - problem

2008-09-10 Thread Ben Bolker
RFTW nioo.knaw.nl> writes: > > > ok, the model does run now! > > but, dont i need the method="ML" when i want to compare this model with a > reduced model using anova(model1, model2)? The R-Book tells me that REML is > not good for that (p.635) maximum likelihood ("ML") is the default [an

Re: [R] Mixed effects model with binomial errors - problem

2008-09-10 Thread RFTW
ok, the model does run now! but, dont i need the method="ML" when i want to compare this model with a reduced model using anova(model1, model2)? The R-Book tells me that REML is not good for that (p.635) So, besides that... how do i now do a sort of posthoc test to see 1) estimates of all trea

Re: [R] Mixed effects model with binomial errors - problem

2008-09-10 Thread Ben Bolker
RFTW nioo.knaw.nl> writes: > Our question is if the proportion of visits to the experimental tree, in > relation to the total number of visits to both trees differs between > treatments. > > We have made treatment and individual into a factor > All individuals were subjected to a maximum of 4

[R] Mixed effects model with binomial errors - problem

2008-09-10 Thread RFTW
Hi, We released individual birds into a room with 2 trees. We counted the number of visits to each of the 2 tree. One of the trees is always a control tree and the other tree is either treatment 1, treatment 2 or treatment3 or treatment 4. Ind Treat ContrTree ExpTree Total visits 1