# Hjorth: Hjorth Distribution In rmutil: Utilities for Nonlinear Regression and Repeated Measurements Models

 Hjorth R Documentation

## Hjorth Distribution

### Description

These functions provide information about the Hjorth 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 Hjorth distribution has density

f(y) = (1+s y)^(-f/s) exp(-(y/m)^2/2) (y/m^2+f/(1+s y))

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

### Usage

```dhjorth(y, m, s, f, log=FALSE)
phjorth(q, m, s, f)
qhjorth(p, m, s, f)
rhjorth(n, m, s, f)
```

### 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.

J.K. Lindsey

### Examples

```dhjorth(5, 5, 5, 2)
phjorth(5, 5, 5, 2)
qhjorth(0.8, 5, 5, 2)
rhjorth(10, 5, 5, 2)
```

rmutil documentation built on March 18, 2022, 6:55 p.m.