Hello,
I would like to perform a Box-Cox (“bcPower”) transformation on my data. For
this, I am determining lambda using the “powerTransform” function. However, with
one of my variables I get the following Warning Message:
In estimateTransform(x, y, NULL, ...) :
Convergence failure: return code = 52
My variable is: > x
[1] 0.0001031130 0.0001029480 0.0001040010 0.0001037940 0.0001046280
0.0000927650 0.0000942960
[8] 0.0000950250 0.0000949780 0.0000988210 0.0000975860 0.0000962850
0.0001015800 0.0001009190
[15] 0.0001035350 0.0001033210 0.0001028420 0.0001023150 0.0001033000
0.0001036910 0.0001026890
[22] 0.0001032480 0.0001012160 0.0001031270 0.0001034390 0.0001028180
0.0001034820 0.0001022700
[29] 0.0001042640 0.0001046720 0.0001045860 0.0001045160 0.0001045850
0.0001038040 0.0001037020
[36] 0.0001034050 0.0001048150 0.0001017180 0.0001017920 0.0001032730
0.0001029420 0.0001025220
[43] 0.0001031490 0.0001036995 0.0001039735 0.0001014877 0.0001027960 And my
code is:dlambda <- powerTransform(x) #It is here where I get the
warning message
x_BCx <- bcPower(x, lambda= dlambda$lambda, jacobian.adjusted= FALSE)
Does anyone have an idea of why I could be getting this Warning Message? If
you require more details please get in touch.
Thanks a lot!
Bea
[[alternative HTML version deleted]]