[R] Checking for linearity by ploting residuals against predicted values (lme)?

2008-02-08 Thread Falco tinnunculus
Hello, Is there a easy way to get p-values when testing linearity of a model by ploting residuals against predicted values? Regards Kes, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] How to calculate normality of the residuals from a test in R?

2008-02-07 Thread Falco tinnunculus
Hi, How do I calculate normality distribution of the residuals from a test in R? I have tried plot(mod1), and I get a nice plot, but no p-value... is there some other ways to calculate this? Regards Kes, [[alternative HTML version deleted]]

[R] Basic questions about lme()

2008-02-05 Thread Falco tinnunculus
Hi, I have some basic questions about lme(), I have run following: Mod1-lme summary (Mod1) anova (Mod1) 1. What is the differece between the summary result and the anova result? 2. Is it sufficient to only report the anova result in an article? 3. How is the most proper way to

[R] Is it possible with two random effects in lme()?

2008-02-01 Thread Falco tinnunculus
Dear all, Is it possible with two random effects in lme()? lmefit1- lme(Handling ~ Mass + factor(Prey)+ Mass*factor(Prey), random = ~ 1 |Place+Age) Here I use Place as random effect, but I also want to add Age as a random effect. Since there could be an effect of Age (continous variable), but

[R] How to run interaction between to categoric variables in lme()?

2008-01-30 Thread Falco tinnunculus
Hello, How do I run interaction between to categoric variables in lme()? I tried this: lmefit1- lme(Handling ~Mass+factor(Prey)+factor (Decap)+ factor(Prey)*factor(Decap), random = ~ 1 |Place, data=nestling1) Error in MEEM(object, conLin, control$niterEM) : Singularity in backsolve at level