Reverse Box-Cox transformation

前端 未结 4 871
自闭症患者
自闭症患者 2021-02-05 05:25

I am using SciPy\'s boxcox function to perform a Box-Cox transformation on a continuous variable.

from scipy.stats import boxcox
import numpy as np
y = np.random         


        
4条回答
  •  攒了一身酷
    2021-02-05 06:05

    Thanks to @Warren Weckesser, I've learned that the current implementation of SciPy does not have a function to reverse a Box-Cox transformation. However, a future SciPy release may have this function. For now, the code I provide in my question may serve others to reverse Box-Cox transformations.

提交回复
热议问题