geom_est: Method of Moments Estimation of Negative Binomial...

View source: R/geom.est.R

geom_estR Documentation

Method of Moments Estimation of Negative Binomial distribution

Description

function to get the method of moment estimate(s) of negative binomial distribution

Usage

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

Arguments

data

A numeric vector.

plot

logical which controls whether the barplot of the data along with the probability curve of the theoretical negative binomial distribution with the estimated parameters.

curvecol

color of the theoretical probability curve

...

additional plotting parameters

Value

the estimated parameters by the method of moments of the data assuming the underlying distribution is geometric distribution

Examples

geom_est(rgeom(1000,prob=0.2))

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

Related to geom_est in MOM...