exp_est: Method of Moments Estimation of Exponential Distribution

View source: R/exp.est.R

exp_estR Documentation

Method of Moments Estimation of Exponential Distribution

Description

function to get the method of moment estimate of exponential distribution

Usage

exp_est(data, plot = TRUE, curvecol = "red", ...)

Arguments

data

An object of numeric vector.

plot

logical which controls whether the histogram of the data along with the density curve of the theoretical exponential distribution with the estimated parameters.

curvecol

color of the theoretical density curve

...

additional plotting parameters

Value

the estimated positive rate parameter by the method of moments of the data assuming the underlying distribution is exponential distribution

Examples

exp_est(rexp(1000,rate=0.1))

MOM documentation built on Aug. 21, 2025, 5:54 p.m.

Related to exp_est in MOM...