Description Usage Arguments Details Value References Examples
Density, distribution function, quantile function and random generation function for the Prenctice distribution.
1 2 3 4 |
x, q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. |
m |
vector of size two with shape parameters. |
The Prentice distribution with parameter m has density given by
f(x) = exp(x*m[1])*((1+exp(x))^(-(m[1]+m[2])))/B(m[1],m[2])
for m[1] > 0 and m[2] > 0, where B(a,b) is the Beta function.
'dprentice' gives the density, 'pprentice' gives the distribution function, 'qprentice' gives the quantile function, and 'rprentice' generates random deviates.
Prentice, R. L. (1975) Discrimination among some parametric models. Biometrika, 62(3):607-614.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.