Skip to content

'skewing' a normal random variable

1 message · TEMPL Matthias

#
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