geoR_boxcoxfit {reportRmd} | R Documentation |
Parameter Estimation for the Box-Cox Transformation
Description
This function is copied from the geoR package which has been removed from the CRAN repository.
Usage
geoR_boxcoxfit(object, xmat, lambda, lambda2 = NULL, add.to.data = 0)
Arguments
object |
a vector with the data |
xmat |
a matrix with covariates values. Defaults to rep(1, length(y)). |
lambda |
numerical value(s) for the transformation parameter lambda. Used as the initial value in the function for parameter estimation. If not provided default values are assumed. If multiple values are passed the one with highest likelihood is used as initial value. |
lambda2 |
ogical or numerical value(s) of the additional transformation (see DETAILS below). Defaults to NULL. If TRUE this parameter is also estimated and the initial value is set to the absolute value of the minimum data. A numerical value is provided it is used as the initial value. Multiple values are allowed as for lambda. |
add.to.data |
a constant value to be added to the data. |
Details
For more information see: https://cran.r-project.org/web/packages/geoR/index.html