[S] Box Cox transformations

SusieMM@aol.com
Tue, 15 Sep 1998 02:13:53 EDT


My professor says that there is a library called MASS which will identify the
lambda in Box Cox transformations.

He gave us the command

library(MASS)
out <- lm(y~x)
temp <- boxcox(out)
tem$x[temp$y==max(temp$y)]

When I type library(MASS) at the prompt in S+ Professional, version 4.5, I get
an error message. Is this library resident in S+ or do I have to load it and
if so, from where?

Thanks.
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news