Moment Estimation
get_moments.Rd
This function estimates raw moments around a certain origin or central moments up to a certain degree (r)
Details
To find the raw moments use the arbitrary origin a
, while, for
central moments, use a = mean(x)
.
Examples
x <- sample(10, 5)
get_moments(x, 2, 3) # test r > 0
#> Order Moment
#> 1 1 4.4
#> 2 2 23.6
#> 3 3 147.2