GLogis: Generalized Logistic Distribution

Description Usage Arguments Author(s) See Also Examples

Description

These functions provide information about the generalized logistic distribution with location parameter equal to m, dispersion equal to s, and family parameter equal to f: density, cumulative distribution, quantiles, log hazard, and random generation.

The generalized logistic distribution has density

f(y) = f sqrt(3) exp(-sqrt(3) (y-m)/(s pi))/ (s pi (1+exp(-sqrt(3) (y-m)/(s pi)))^(f+1))

where m is the location parameter of the distribution, s is the dispersion, and f is the family parameter.

f=1 gives a logistic distribution.

Usage

1
2
3
4
dglogis(y, m=0, s=1, f=1, log=FALSE)
pglogis(q, m=0, s=1, f=1)
qglogis(p, m=0, s=1, f=1)
rglogis(n, m=0, s=1, f=1)

Arguments

y

vector of responses.

q

vector of quantiles.

p

vector of probabilities

n

number of values to generate

m

vector of location parameters.

s

vector of dispersion parameters.

f

vector of family parameters.

log

if TRUE, log probabilities are supplied.

Author(s)

J.K. Lindsey

See Also

dlogis for the logistic distribution.

Examples

1
2
3
4
dglogis(5, 5, 1, 2)
pglogis(5, 5, 1, 2)
qglogis(0.25, 5, 1, 2)
rglogis(10, 5, 1, 2)

swihart/rmutil documentation built on May 29, 2018, 9:13 p.m.