llogis: log-logistic distribution

Description Usage Arguments Details Value

Description

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

Usage

1
2
3
4
5
6
7
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)

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 April 2, 2018, 7:33 p.m.