**From:** Deepayan Sarkar (*deepayan@stat.wisc.edu*)

**Date:** Sat 22 May 2004 - 12:58:52 EST

**Next message:**Uwe Ligges: "Re: [R] RQuantlib ?Windows Binary?"**Previous message:**Gabor Grothendieck: "Re: [R] Is there a "symbolic" package in R?"**In reply to:**Federico Calboli: "[R] Sum of Squares in a lme model"**Next in thread:**Federico Calboli: "Re: [R] Sum of Squares in a lme model"**Reply:**Federico Calboli: "Re: [R] Sum of Squares in a lme model"

Message-id: <200405212158.52996.deepayan@stat.wisc.edu>

On Friday 21 May 2004 09:41, Federico Calboli wrote:

*> Dear All,
*

*>
*

*> I would like to ask how to get the Sum of Squares from fitted lme
*

*> model. I appreciate that lme maximises the likelihood (or REML) and
*

*> uses likelihood ratio tests, but I just fail why I could not get the
*

*> SS if I want them. I could use lm to calculate them, but it looks
*

*> quite pointless to fit a second (and wrong in a way) model for
*

*> something so trivial.
*

Exactly what do you wish to square and sum ? If it's the 'errors' (which

in this context is ambiguous), extract them (see ?residuals.lme),

square them and sum them. But what are you planning to do with this

after you get it ?

Deepayan

______________________________________________

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help

PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

**Next message:**Uwe Ligges: "Re: [R] RQuantlib ?Windows Binary?"**Previous message:**Gabor Grothendieck: "Re: [R] Is there a "symbolic" package in R?"**In reply to:**Federico Calboli: "[R] Sum of Squares in a lme model"**Next in thread:**Federico Calboli: "Re: [R] Sum of Squares in a lme model"**Reply:**Federico Calboli: "Re: [R] Sum of Squares in a lme model"

*
This archive was generated by hypermail 2.1.3
: Mon 31 May 2004 - 23:05:12 EST
*