Skip to content

Haw I get best lambda in box-cox

1 message · Liaw, Andy

#
1.  Look up boxcox() in the package "MASS".

2.  Assume "bc" is an object returned by boxcox(...), you can do

  with(bc, x[which.max(y)])

    to find the best lambda.

HTH,
Andy
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, cont... {{dropped}}