powered by
Generating Non-normal data with specified skewness and kurtosis using Fleishman's Method
rnonnorm(n, mean = 0, sd = 1, skew = 0, kurt = 0)
A list of two objects: non-normal data is `dat`; and the other is the Fleishman Coeffficients used to generate the distributions.
number of observations
mean
standard deviation
skewness
kurtosis
This function can be used to generate non-normal data with specified skewness and kurtosis using Fleishman's Power Method.
fleishman1978methoddetectnorm
set.seed(341031) exdat <- rnonnorm(n = 100, mean = 1, sd = 2, skew = 3, kurt = 2)$dat hist(exdat)
Run the code above in your browser using DataLab