[R] boxcox.fit error

From: Alexys Herleym Rodriguez Avellaneda <alexyshr_at_gmail.com>
Date: Fri, 07 Mar 2008 10:39:34 -0500


Thakns all for your help

I am doing the next in my dataframe tabla, column pend1, because the Lilliefors (Kolmogorov-Smirnov) test give me a pvalue < alfa. (data no normal distribution). I need do a transformation with box-cox or other:

> bc <- boxcox.fit(tabla$pend1)

R send to me:
Error in boxcox.fit(tabla$pend1) : Transformation requires positive data

The summary for my data is:
> summary(tabla$pend1)

   Min. 1st Qu. Median Mean 3rd Qu. Max.     0.0 12.8 19.8 20.2 27.2 57.9
> length(tabla$pend1)

[1] 4408

Someone can help me?. What is the error?


Alexys H

R-help_at_r-project.org 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 Fri 07 Mar 2008 - 15:49:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Mar 2008 - 16:30:20 GMT.

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

list of date sections of archive