Learn R Programming

Distributacalcul (version 0.2.2)

E_logarithmic: Expected value of the Logarithmic distribution

Description

Expected value of the Logarithmic distribution with probability parameter \(\gamma\).

Usage

E_logarithmic(prob)

Arguments

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: MGF_logarithmic(), PGF_logarithmic(), V_logarithmic()

Examples

Run this code
# NOT RUN {
E_logarithmic(prob = 0.50)

# }

Run the code above in your browser using DataLab