Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "math/base/special/boxcox1pinv/docs/types/index.d"

Index

Functions

Functions

Export assignment boxcox1pinv

  • boxcox1pinv(y: number, lambda: number): number
  • Computes the inverse of a one-parameter Box-Cox transformation for 1+x.

    Parameters

    • y: number

      input value

    • lambda: number

      power parameter

    Returns number

    inverse of the Box-Cox transformation

    Example

    var v = boxcox1pinv( 1.0, 2.5 );
    // returns ~0.6505

    Example

    var v = boxcox1pinv( 4.0, 2.5 );
    // returns ~1.6095

    Example

    var v = boxcox1pinv( 10.0, 2.5 );
    // returns ~2.6812

    Example

    var v = boxcox1pinv( 2.0, 0.0 );
    // returns ~6.3891

    Example

    var v = boxcox1pinv( -1.0, 2.5 );
    // returns NaN

    Example

    var v = boxcox1pinv( 0.0, -1.0 );
    // returns 0.0

    Example

    var v = boxcox1pinv( 1.0, NaN );
    // returns NaN

    Example

    var v = boxcox1pinv( NaN, 3.1 );
    // returns NaN