extweibull: Distribution function of the extended Weibull distribution

pextweibullR Documentation

Distribution function of the extended Weibull distribution

Description

Distribution function of the extended Weibull distribution

Density function of the extended Weibull distribution

Hazard function of the extended Weibull distribution

Quantile function of the extended Weibull distribution

Usage

pextweibull(
  q,
  scale = 1,
  shape1 = 0,
  shape2 = 1,
  lower.tail = TRUE,
  log.p = FALSE
)

dextweibull(x, scale = 1, shape1 = 0, shape2 = 1, log = FALSE)

hextweibull(x, scale = 1, shape1 = 0, shape2 = 1, log = FALSE)

qextweibull(p, scale = 1, shape1 = 0, shape2 = 1, lower.tail = TRUE)

Arguments

q

vector of quantiles.

scale

scale parameter, strictly positive.

shape1

shape parameter of the generalized Pareto component.

shape2

shape parameter of the Weibull component.

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.

x

vector of quantiles.

log

logical; if FALSE (default), return the hazard, else the log hazard.

p

vector of probabilities.

Value

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

a vector of (log)-density.

a vector of (log)-hazard

vector of quantiles

a vector of quantiles


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