Re: [R] Syntax for lme function to model random factors and interactions

2012-05-23 Thread i_like_macs
Hi Joshua, Thank you again for your very-generous help. I think I could follow most of your explanations. To give you some background about myself, I'm doing a PhD at the Institute of Sound Recording (IoSR) at the University of Surrey in the UK. As I have no statistics background, I've been te

Re: [R] Syntax for lme function to model random factors and interactions

2012-05-21 Thread i_like_macs
Hello Joshua, Many thanks for your help, especially from a fellow Bruin (I went there as an undergrad!). I understand that there is another forum for mixed models. If my problem can't be solved within this thread, I'll have to go there. I do understand some theory about mixed models, but obvious

[R] Syntax for lme function to model random factors and interactions

2012-05-21 Thread i_like_macs
Hello, I have a question regarding the syntax of the lme function in the nlme package. What I'm trying to do is to calculate an estimate of R^2 based on the likelihood ratio test. For this calculation, I need to determine the maximum log-likelihood of the intercept-only model and the model of inte