cgf: Cumulant Generating Function.

Description Usage Arguments Value Examples

View source: R/Funksies.R

Description

cgf returns the cumulant generating function of the specified distribution the derivatives of the cgf correspond to the centralized moments of the distribution centered about the mean.

Usage

1

Arguments

distribution

One of the following distributions as a string: "Bernoulli", "Binomial", "Geometric", "Negative Binomial", "Poisson", "Exponential", "Gamma", "Normal", "Chi-Square".

Value

The Cumulant Generating Function of the specified distribution.

Examples

1
2
3
cgf("Bernoulli")
cgf("Binomial")
cgf("Normal")

alexandernel14/MGF documentation built on Aug. 30, 2020, 2:11 a.m.