Description Usage Arguments Value Note
The function computes the first five moments of a distribution among the ones supported.
1 |
dist |
distribution for which you want to compute the moments: c("Binomial","Negbinomial" ,"Geometric", "Poisson", "Pareto", "Gamma", "Exponential", "LogNormal") |
par |
vector of parameters of the chosen distribution. |
type |
the function can return c("central", "raw", "standardized") moments. |
The function returns the first 5 moments of the distribution chosen.
The function returns only the finite moments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.