Description Usage Arguments Details Value References Examples
View source: R/Discrete_HT_models.R
Random sample generating function for the family of discrete distributions with gamma hidden truncation: parameters α,β,λ,δ, μ ≥ 0 and p,θ\in (0,1). p in (0,1).
1 2 3 4 5 6 7 8 9 10 11 |
n |
size of sample. |
x |
numeric truncation value which must be greater than or equal to 0. |
alpha |
numeric gamma shape parameter which must be greater than 0. |
beta |
numeric gamma rate parameter which must be greater than 0. |
distr |
a description of the discrete distribution which is truncated by gamma: "Poisson", "Geometric", "DPareto"(for discrete Pareto) and "nbinom" (for Negative binomial). |
lambda |
numeric Poisson parameter which must be greater than 0. |
prob |
numeric parameter between 0 and 1. Must be specified when distribution is either geometric or discrete Pareto or negative binomial. |
delta |
numeric discrete Pareto shape parameter which must be greater than or equal to 0. |
size |
numeric negative binomial parameter which must be greater than 0. |
rdHTgamma generates random sample from discrete Pareto distribution.
vector of samples generate from discrete Pareto distribution.
Amponsah, C. K. and Kozubowski, T. J. (2021). Discrete Hidden Truncation models. In preparation. https://doi.org/not-done
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.