| dctp | R Documentation |
Evaluates the probability mass function of the Complex TriParametric Pearson (CTP) distribution for nonnegative integer values.
The pmf is
p(x) = p(0)\frac{(a+ib)_x(a-ib)_x}{(\gamma)_x x!}, \quad x=0,1,\dots
and satisfies the recurrence
\frac{p(x+1)}{p(x)} = \frac{(a+x)^2+b^2}{(\gamma+x)(x+1)}.
dctp(x, a, b, gama, log = FALSE)
x |
Vector of nonnegative integers. |
a |
Parameter a. |
b |
Parameter b (must satisfy b >= 0). |
gama |
Parameter gamma. |
log |
Logical; if TRUE, returns log-probabilities. |
A numeric vector of probabilities.
dctp(0:5, a = 1, b = 0.5, gama = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.