Want SPC box-cox data transformation function


Version: 2026b

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-28289


vector BoxCox(vector vd[, double lambda, int options, double period])
vector jtrans(vector vd)
vector yeojohnson(vector vd[, double lambda])
  • BoxCox() is used to return a dataset transformed by a Box-Cox power transformation.

    • It requires data to be positive values.

    • If lambda is NANUM, its value will be estimated before transformation.

    • options = 0 to get results like Scipy

    • options = 1 to get results like SPC.

    • options = 2 to get results like time series in Minitab.

    • When options = 2, period is the seasonal period of the original time series.

  • jtrans() transforms a continuous univariate vector to a random vector from standard normal distribution.

  • yeojohnson() computes the Yeo-Johnson transformation, which is a normalizing transformation.

    • It handles both positive and negative values, whereas the Box-Cox transformation only handles positive values.

    • If lambda is NANUM, its value will be estimated before transformation.

In Set Column Values, you can find above functions under the Statistics category.