RankInverseNormalTransform: Rank-based Inverse Normal Transform Function

Description Usage Arguments Details Value Author(s) Examples

Description

This function transforms a vector of inputs using the rank-based inverse normal transform, also known as the $z$ transform

Usage

1
RINT(v, c = 3/8, ...)

Arguments

v

the vector of values to be transformed

c

a parameter of the transformation.

...

additional parameters passed to qnorm

Details

There is quite a bit of literature discussing what is the best value of c, none of which the author of this function understands in an detail. The author of this function set the default to 3/8 because that seems to be the most popular amond statisticians. Other values that seem popular are 1/3, 1/2, and 0. The author of this function recommends "Rank-Based Inverse Normal Transformations are Increasingly Used, But are They Merited?" by Beasley, Ericson, and Allison in Behavioral Genetics in 2008 as a reference for learning more about this type of transform.

Value

a vector of transformed values

Author(s)

Robert Corty

Examples

1
2
RINT(runif(n = 100))
RINT(rnorm(n = 100))

rcorty/CortyKit documentation built on May 27, 2019, 3:03 a.m.