Description Usage Arguments Details Value See Also
Probability mass function, cumulative distribution function, quantile function, and random generation for the Discretized Pareto Type-II distribution with shape parameter k>0 and scale parameter s>0.
[TO DO: rewrite in C, add NA handling, add working qdpareto2()]
1 2 3 4 5 6 7 |
n |
integer; number of observations |
k |
vector of shape parameters, k>0 |
s |
vector of scale parameters, s>0 |
lower.tail |
logical; if |
p |
vector of probabilities |
x, q |
vector of quantiles |
If X~DP2(k,s),
then floor(Y)=X,
where Y has ordinary Pareto Type-II
distribution, see ppareto2
.
numeric vector;
ddpareto2
gives the probability mass function,
pdpareto2
gives the cumulative distribution function,
qdpareto2
calculates the quantile function,
and rdpareto2
generates random deviates.
Other distributions: rpareto2
Other DiscretizedPareto2: dpareto2_estimate_mle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.