Learn R Programming

QuantPsyc (version 1.6)

Normalize: Normalize Data

Description

Convert data to Normal Scores with the same Mean and SD. This reshapes data to conform to a Normal Distribution. It is not converting to z-scores (i.e., it is not standardizing data)

Usage

Normalize(x)

Arguments

x

Data to be normalized. Should be vector of scores

Value

A numeric with the same Mean and SD as x, but without skew or kurtosis

Warning

This is a primative function. I have a long to do list. For example, it is not yet written to handle missing observations.

References

Joreskog, K., Sorbom, D., du Toit, S., & du Toit, M. (2000). LISREL 8: New Statistical Features. SSI.

Snippets of code were borrowed and modified from: http://zoonek2.free.fr/UNIX/48_R/03.html

See Also

norm

Examples

Run this code
# NOT RUN {
summary(USJudgeRatings$CONT)
plot(density(USJudgeRatings$CONT))

ContN <- Normalize(USJudgeRatings$CONT)
summary(ContN)
lines(density(ContN), col=2)
# }

Run the code above in your browser using DataLab