llogis: log-logistic distribution

llogisR Documentation

log-logistic distribution

Description

Density, distribution function, and quantile function for log-logistic distribution.

Usage

dllogis(x, locationlog = 0, scalelog = 1, log = FALSE)

pllogis(q, locationlog = 0, scalelog = 1, lower.tail = TRUE, log.p = FALSE)

qllogis(p, locationlog = 0, scalelog = 1, lower.tail = TRUE, log.p = FALSE)

rllogis(n, locationlog = 0, scalelog = 1)

Arguments

x, q

A numeric vector of quantiles.

locationlog

A numeric value of location parameter for the logistic distribution.

scalelog

A numeric value of scale parameter for the logistic distribution.

log, log.p

A logical; if TRUE, the probability p is given as log(p).

lower.tail

A logical; if TRUE, the probability is P[X <= x], otherwise, P[X > x].

p

A numeric vector of probabilities.

Details

The log-logistic distribution has the cumulative distribution function F(q) = G(log(q)) where G(q) is the cumulative distribution function of the logistic distribution with location and scale.

Value

'dllogis' gives the desity, 'pllogis' gives the distribution, and 'qllogis' gives the quantile function.


okamumu/Rsrat documentation built on Feb. 10, 2024, 11:07 p.m.