cran / bestNormalize

:exclamation: This is a read-only mirror of the CRAN R package repository. bestNormalize — Normalizing Transformation Functions. Homepage: https://petersonr.github.io/bestNormalize/, https://github.com/petersonR/bestNormalize
1 stars 1 forks source link

Replicate pearson.test results returned by bestNormalize #2

Open sciabolazza opened 3 years ago

sciabolazza commented 3 years ago

I find it difficult to understand how the function bestNormalize calculates the pearson.test to transformations and chooses the best normalized vector. Please consider the following code: ` # create data set.seed(123) library(bestNormalize) library(nortest) x <- rgamma(100, 1, 1)

apply bestNormalize

res <- bestNormalize(x)

chosen transformation is box cox

res$chosen_transform Standardized Box Cox Transformation with 100 nonmissing obs.: Estimated statistics:

gaborcsardi commented 3 years ago

Hi, this is a read only mirror of CRAN, please see the package authors and potentially URLs in the DESCRIPTION file. Thanks!