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:

mean

the mean of x

sd

the standard deviation of x adjusted for overlapping data bias, if any

See Also

Other Estimation functions: estimate_logis_ol(), estimate_mean_sd_ol()

Examples

estimate_exp_ol(rexp(100))

PaulMTeggin/practechniques documentation built on June 2, 2022, 12:29 p.m.