boxcox_trans functions not always valid #103
In boxcox_trans, trans and inv functions include sign() and abs() (maybe for preserving order of values when 0<x<1 ?), but this then passes not totally correct functions to the transformer.
Using this form, for data 0 < x < 1, inv(trans(x)) != x
Eliminating those and using the basic formula for Box-Cox Power transformations:
I've confirmed this works for all of my data x>0, and that inv(trans(x)) == x. I've also used this to scale my axes successfully.
The text was updated successfully, but these errors were encountered: