# NOT RUN {
##Calculate 5-th order moment of normal random variable which
##mean equals to 3 and standard deviation is 5.
#5-th moment
normalMoment(k = 5, mean = 3, sd = 5)
#(0-5)-th moments
normalMoment(k = 5, mean = 3, sd = 5, return_all_moments = TRUE)
# }
Run the code above in your browser using DataLab