Moments: Raw Moments of common distribution functions

Description Usage Arguments Value Note

View source: R/Moments.R

Description

The function computes the first five moments of a distribution among the ones supported.

Usage

1

Arguments

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.

Value

The function returns the first 5 moments of the distribution chosen.

Note

The function returns only the finite moments.


lucazama/CollectiveRisk documentation built on July 25, 2020, 7:22 a.m.