dglogis(y, m, s, f) pglogis(q, m, s, f) hglogis(y, m, s, f)
y
| vector of responses. |
q
| vector of quantiles. |
m
| vector of location parameters. |
s
| vector of dispersion parameters. |
f
| vector of family parameters. |
m
, dispersion equal
to s
, and family parameter equal to f
.
dglogis
gives the density, pglogis
gives the distribution
function, hglogis
gives the hazard function.
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.
dlogis
for the logistic distribution.dglogis(5, 5, 1, 2) pglogis(5, 5, 1, 2)