normalr

Normalisation of Multiple Variables in Large-Scale Datasets

CRAN Package

The robustness of many of the statistical techniques, such as factor analysis, applied in the social sciences rests upon the assumption of item-level normality. However, when dealing with real data, these assumptions are often not met. The Box-Cox transformation (Box & Cox, 1964) provides an optimal transformation for non-normal variables. Yet, for large datasets of continuous variables, its application in current software programs is cumbersome with analysts having to take several steps to normalise each variable. We present an R package 'normalr' that enables researchers to make convenient optimal transformations of multiple variables in datasets. This R package enables users to quickly and accurately: (1) anchor all of their variables at 1.00, (2) select the desired precision with which the optimal lambda is estimated, (3) apply each unique exponent to its variable, (4) rescale resultant values to within their original X1 and X(n) ranges, and (5) provide original and transformed estimates of skewness, kurtosis, and other inferential assessments of normality.


Documentation


Team


Insights

Downloads for...

  • Yesterday4-20%
  • Last 7 days46+12%
  • Last 30 days138-13%
  • Last 90 days445-44%
  • Last 365 days2.597-23%

Data provided by cranlogs


Binaries


Dependencies

  • Depends1 package
  • Imports6 packages
  • Suggests2 packages