[R] boxcox transformation

From: Torsten Mathies <torsten.mathies_at_matec-gmbh.com>
Date: Sat 29 Jul 2006 - 16:52:14 EST


I've got a vector of data (hours to drive from a to b) y.  

After a qqplot I know, that they don't fit the normal probability.  

I would like to transform these data with the boxcox transformation (MASS), that they fit the model.  

When I try  

ybx<-boxcox(y~1,0)
qqnorm(ybx)  

the plot is different from  

library (TeachingDemos)
ybct<-bct(y,0) //
qqnorm(ybct)  

How can I transform y to fit with the normal probability model?    

Yours
Torsten



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Jul 29 16:59:25 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 01 Aug 2006 - 02:16:49 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.