identifyExpPars: Determine the parameters of the best-fit exponential...

Description Usage Arguments Value See Also

View source: R/internalFunctions.R

Description

Finds the best-fit exponential distribution parameter for a given confidence interval and returns the rate parameter.

Usage

1
identifyExpPars(qLow, qUpp, alpha = 0.05, initPars = 1, maxiter = 1000)

Arguments

qLow

The observed lower quantile.

qUpp

The observed upper quantile.

alpha

The confidence level; i.e. the desired coverage is 1-alpha. Defaults to 0.05.

initPars

A single number giving the initial parameter value to start the optimisation; defaults to 1.

maxiter

Maximum number of iterations for optim. Defaults to 1e3. Set to higher values if convergence problems are reported.

Value

A single number giving the rate parameter for use with rexp/dexp/pexp/qexp.

See Also

ssExpPars, optim, dexp


bootComb documentation built on Jan. 31, 2022, 1:07 a.m.