Generalized Logistic {rmutil} | R Documentation |
Generalized Logistic Distribution
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) =
\frac{\nu \sqrt{3} \exp(-\sqrt{3} (y-\mu)/(\sigma \pi))}{
\sigma \pi (1+\exp(-\sqrt{3} (y-\mu)/(\sigma \pi)))^{\nu+1}}
where \mu
is the location parameter of the distribution,
\sigma
is the dispersion, and \nu
is the family
parameter.
\nu=1
gives a logistic distribution.
Usage
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
dglogis(5, 5, 1, 2)
pglogis(5, 5, 1, 2)
qglogis(0.25, 5, 1, 2)
rglogis(10, 5, 1, 2)