50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

Distributacalcul (version 0.2.2)

MGF_exp: Moment Generating Function of the Exponential distribution

Description

Moment Generating Function (MGF) of the Exponential distribution with rate parameter β.

Usage

MGF_exp(t, rate = 1/scale, scale = 1/rate)

Arguments

t

t.

rate

β is the rate parameter, must be positive.

scale

alternative parameterization to rate parameter, scale = 1 / rate.

Value

Function :

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

Details

The Exponential distribution with rate parameter β has density: f(x)=1βeβx for xR+, β>0.

See Also

Other Exponential Distribution: E_exp(), Elim_exp(), Etronq_exp(), Mexcess_exp(), SL_exp(), TVaR_exp(), V_exp(), VaR_exp(), kthmoment_exp()

Examples

Run this code
# NOT RUN {
MGF_exp(t = 1, rate = 5)

# }

Run the code above in your browser using DataLab