compute_absolute_moment | R Documentation |
Computes the absolute moment of order k of a sample of observations.
compute_absolute_moment(obs, k)
obs |
Observations (type: armadillo numeric vector). |
k |
Moment order (type: double) |
Moment value (type: double)
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.