[R] boxcox.fit error
Alexys Herleym Rodriguez Avellaneda
alexyshr at gmail.com
Fri Mar 7 16:39:34 CET 2008
Hi,
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?
Thanks
Alexys H
More information about the R-help
mailing list