BoxCox: Box-Cox function

Description Usage Arguments Value Author(s) Examples

Description

Computes the Box-Cox function evaluated in a real number z.

Usage

1
BoxCox(z,lambda)

Arguments

z

Real number - can also be a list of real numbers

lambda

Box-Cox parameter - real number

Value

Returns the value of the function evaluated in z with the parameter lambda chosen.

Author(s)

Marion

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
BoxCox(56,1)

## The function is currently defined as
function (x)
{
  if (lambda != 0)
    return((z^lambda - 1)/lambda)
  else
    return(log(z))
  }

genostats/tail.modeling documentation built on May 12, 2019, 7:42 a.m.