Skip to content
Prev 66951 / 398506 Next

'skewing' a normal random variable

I think the box.cox function in package car can do this.

x <- rnorm(1000)
hist(x)
library(car)
hist(box.cox(x, p=0.5))

Play around with different powers.

Best,
Matthias