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

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

 ```1 2 3 4``` ```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

 ```1 2 3 4``` ```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 May 27, 2018, 5:03 p.m.