I've been using the nlme library to construct lme models and I'd like to extract an r-sq value for the model - how do I do this? With glm I just used the reported (null deviance-deviance)/(null deviance). Deviance is not reported directly for lme nor can it be extracted using the deviance() function. How do I work out the deviance or can I work out R-sq in some other way? Thanks, Yvonne Yvonne Buckley Department of Biology Imperial College, Silwood Park Ascot, Berkshire SL5 7PY -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Buckley, Yvonne M" <y.buckley at ic.ac.uk> writes:> I've been using the nlme library to construct lme models and I'd like to > extract an r-sq value for the model - how do I do this? > > With glm I just used the reported (null deviance-deviance)/(null deviance). > Deviance is not reported directly for lme nor can it be extracted using the > deviance() function. How do I work out the deviance or can I work out R-sq > in some other way?I'm not sure that there is a definition of an r-sq for linear mixed-effects models. If you can give me a formula I can perhaps tell you how to calculate the required quantities from a fitted lme model. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Where is more information/example on using the configure file for installing packages? As part of a package I would like to compile a standalone FORTRAN program. I think it should (eventually) go in the subdirectory exec but am not sure what to read and can not find any examples. Thanks in advance, Doug -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._