Learn R Programming

event (version 1.1.1)

hglogis: Log Hazard Function for a Generalized Logistic Process

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: log hazard. (See `rmutil` for the d/p/q/r boxcox functions density, cumulative distribution, quantiles, 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

hglogis(y, m, s, f)

Arguments

y

vector of responses.

m

vector of location parameters.

s

vector of dispersion parameters.

f

vector of family parameters.

Author

J.K. Lindsey

See Also

dlogis for the logistic distribution.

Examples

Run this code
hglogis(5, 5, 1, 2)

Run the code above in your browser using DataLab