Description Usage Arguments Value Examples
Computes the absolute moment of order k of a sample of observations.
1 | compute_absolute_moment(obs, k)
|
obs |
Observations (type: armadillo numeric vector). |
k |
Moment order (type: double) |
Moment value (type: double)
1 2 | rvs <- stabledist::rstable(100000, 1.9, 0.5, 1, 0, pm = 0)
absolute_moment <- compute_absolute_moment(rvs, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.