lambda.box: Fit the lambda which optimize the loglikehood function

Description Usage Arguments Value

View source: R/box_cox_transformation.R

Description

Fit the lambda which optimize the loglikehood function

Usage

1
lambda.box(x = x, interval = c(-20, 20), tol = 1e-05)

Arguments

x

vector or dataframe with data

interval

a vector containing the end-points of the interval to be searched for the minimum., default c(-20,20)

tol

the desired accuracy, default = 0.00001

Value

Return the lambda parameter which minimizes the loglikehood function


dangulod/ECTools documentation built on May 4, 2019, 3:19 p.m.