logitMyerson: Density function for logit Myerson distribution (Myerson...

logitMyersonR Documentation

Density function for logit Myerson distribution (Myerson distribution with logit base function).

Description

Density function for logit Myerson distribution (Myerson distribution with logit base function).

Usage

qlogitMyerson(p, q1, q2, q3, alpha = 0.25, lower.tail = TRUE, log.p = FALSE)

flogitMyerson(
  p,
  q1,
  q2,
  q3,
  alpha = 0.25,
  log = FALSE,
  lower.tail = TRUE,
  log.p = FALSE
)

dqlogitMyerson(
  p,
  q1,
  q2,
  q3,
  alpha = 0.25,
  log = FALSE,
  lower.tail = TRUE,
  log.p = FALSE
)

rlogitMyerson(n, q1, q2, q3, alpha = 0.25, lower.tail = TRUE, log.p = FALSE)

plogitMyerson(q, q1, q2, q3, alpha = 0.25, lower.tail = TRUE, log.p = FALSE)

dlogitMyerson(x, q1, q2, q3, alpha = 0.25, log = FALSE)

Arguments

p

vector of probabilities

q1, q2, q3

numeric values representing bottom quantile, middle quantile (50th percentile) and top quantile. Quantiles are assumed to be symmetrical.

alpha

numerical fixed proportion of distribution below the bottom quantile. Default value is 0.25

lower.tail

logical; if TRUE (default), probabilities are P[X\leq x], otherwise, P[X > x]

log, log.p

logical; if TRUE, probabilities p are given as log(p)

n

number of observations. If 'length(n)>1“, the length is taken to be the number required.

x, q

vector of quantiles.

Value

a vector of probabilities of length equal to length(x)

a vector of exceedance probabilities of length equal to length(x).

Examples

qlogitMyerson(0.25, 10, 20, 40)
flogitMyerson(0.25, 10, 20, 40)
dqlogitMyerson(0.25, 10, 20, 40)
rlogitMyerson(1, 10, 20, 40)
plogitMyerson(0.25, 10, 20, 40)
dlogitMyerson(15, 10, 20, 40)

dmi3kno/qpd documentation built on Sept. 29, 2024, 6:39 p.m.