The function are adapted from online support of the SAS system,
URL: support.sas.com/publishing/authors/extras/65378_Appendix_D_Functions_for_Simulating_Data_by_Using_Fleishmans_Transformation.pdf
FleishmanIC produce an initial guess of the Fleishman coefficients from given skewness and kurtosis. It is to use for Newton's algorithm.
This guess is produced by a polynomial regression.
FleishmanIC(skew, kurt)desired skewness
desired kurtosis
par vector with coefficients b,c,d
# NOT RUN {
out <- FleishmanIC(1,2)
# }
Run the code above in your browser using DataLab