# GLogis: Generalized Logistic Distribution In rmutil: Utilities for Nonlinear Regression and Repeated Measurements Models

 Generalized Logistic 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) = 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

```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

`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)
```

rmutil documentation built on Oct. 29, 2022, 1:08 a.m.