Description Usage Arguments Value
Density, distribution function, quantile function and random generation for the double-hurdle
Poisson distribution with parameters theta
, lambda
, theta_1
, mu
,
scale
, shape
, and threshold
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ddhpoisdgp(
x,
theta = 0.5,
threshold = 3,
lambda = 1,
theta_1 = 0.1,
scale = 1,
shape = 1
)
pdhpoisdgp(
q,
theta = 0.5,
lambda = 1,
threshold = 3,
theta_1 = 0.1,
scale = 1,
shape = 1,
lower.tail = TRUE,
log.p = FALSE
)
rdhpoisdgp(
n,
theta = 0.5,
lambda = 1,
theta_1 = 0.1,
scale = 1,
shape = 1,
threshold = 3
)
|
x, q |
vector of quantiles |
theta |
zero-generating parameter (probability of zeros) |
threshold |
second hurdle |
lambda |
expected Poisson count |
theta_1 |
probability of a count at or above |
scale |
scale parameter |
shape |
shape parameter |
lower.tail |
logical; if TRUE (default), probabilities are |
n |
number of observations |
p |
vector of probabilities |
log, log.p |
logical; if TRUE, probabilities |
ddhpoisdgp
gives the density, pdhpoisdgp
gives the distribution function,
qdhpoisdgp
gives the quantile function, and rdhpoisdgp
generates random deviates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.