estimate_exp_ol: Estimate the exponential distribution rate parameter by...

View source: R/estimation_functions.R

estimate_exp_olR Documentation

Estimate the exponential distribution rate parameter by method of moments

Description

This function has the right signature to be used in gof_test_sim, and estimates the rate parameter as the reciprocal of the sample mean.

Usage

estimate_exp_ol(x, noverlap = 1)

Arguments

x

The data.

noverlap

The extent to which the data is overlapped. This is not used, but required for compatibility with gof_test_sim.

Value

A list with one item:

rate

the rate parameter, calculated as the reciprocal of the mean of x

See Also

Other Estimation functions: estimate_logis_ol(), estimate_mean_sd_ol()

Examples

estimate_exp_ol(rexp(100))

PaulMTeggin/practechniques documentation built on Aug. 19, 2023, 4:44 p.m.