pois_est: Method of Moments Estimation of Poisson distribution

View source: R/pois.est.R

pois_estR Documentation

Method of Moments Estimation of Poisson distribution

Description

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

Usage

pois_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 poisson 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 poisson distribution

Examples

pois_est(data=rpois(1000,lambda=2),plot=TRUE)
pois_est(data=rpois(1000,lambda=0.2),plot=FALSE)#will not give the plot

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

Related to pois_est in MOM...