Learn R Programming

Distributacalcul (version 0.2.2)

MGF_logarithmic: Moment Generating Function of the Logarithmic distribution

Description

Moment Generating Function (MGF) of the Logarithmic distribution with probability parameter \(\gamma\).

Usage

MGF_logarithmic(t, prob)

Arguments

t

t.

prob

probability parameter \(\gamma\).

Value

Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Logarithmic distribution with probability parameter \(\gamma\) has probability mass function $$Pr(X = k) = \frac{-\gamma^{k}}{\ln(1 - \gamma)k}$$, for \(k = 0, 1, 2, \dots\), and \(\gamma \in (0, 1)\)]

See Also

Other Logarithmic Distribution: E_logarithmic(), PGF_logarithmic(), V_logarithmic()

Examples

Run this code
# NOT RUN {
MGF_logarithmic(t = .2, prob = 0.50)

# }

Run the code above in your browser using DataLab