perks: Hazard function of the Perks distribution

hperksR Documentation

Hazard function of the Perks distribution

Description

Hazard function of the Perks distribution

Distribution function of the Perks distribution

Density function of the Perks distribution

Quantile function of the Perks distribution

Usage

hperks(x, rate = 1, shape = 1, log = FALSE)

pperks(q, rate = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)

dperks(x, rate = 1, shape = 1, log = FALSE)

qperks(p, rate = 1, shape = 1, lower.tail = TRUE)

Arguments

x

vector of quantiles.

rate

rate parameter (\nu)

shape

shape parameter (\alpha)

log

logical; if FALSE (default), return the density, else the log likelihood of the individual observations.

q

vector of quantiles.

lower.tail

logical; if TRUE (default), the lower tail probability \Pr(X \leq x) is returned.

log.p

logical; if FALSE (default), values are returned on the probability scale.

p

vector of probabilities.

Value

a vector of (log)-hazard.

a vector of (log)-probabilities of the same length as q

a vector of (log)-density.

a vector of quantiles


longevity documentation built on Nov. 12, 2023, 5:07 p.m.