meanexp.quantile: Estimates the parameter of an exponentially distributed 'X'...

View source: R/meanexp.quantile.R

meanexp.quantileR Documentation

Estimates the parameter of an exponentially distributed 'X' based on the quantile of values. F(x) = 1 - exp(-x/beta) = p => betahat = quantile(x,p) / log(1/(1-p)). Arrays up to 3 dimensions are accepted.

Description

Estimates the parameter of an exponentially distributed 'X' based on the quantile of values. F(x) = 1 - exp(-x/beta) = p => betahat = quantile(x,p) / log(1/(1-p)). Arrays up to 3 dimensions are accepted.

Usage

meanexp.quantile(x, prob = 0.5, type = 6, MARGIN = NULL)

Arguments

x

is the data.

prob

is the probability.

type

is the type of the quantile calculation (see quantile()).

MARGIN

is used in the same way as in apply().


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.