Description Usage Arguments Value Note Author(s) Examples
Compute the probability density and quantile functions for the truncated gamma distribution with shape and scale parameters, restricted to the interval (a,b).
1 2 |
x |
vector of quantiles |
p |
vector of probabilities |
shape |
shape parameter |
scale |
scale parameter |
a |
lower limit of range |
b |
upper limit of range |
dtgamma gives the density function for the truncated gamma distribution. qtgamma gives the quantile function for the truncated gamma distribution.
Auxiliary function to compute the E step for the Slash and Skew-slash models.
Clecio Ferreira, Diego Gallardo and Camila Zeller
1 2 3 4 5 6 7 8 | ##probability density and quantile function of the truncated gamma
##model with shape and scale parameters equal to 1
##evaluated in 2 and 0.75, respectively
dtgamma(2, shape=1, a=1)
qtgamma(0.75, shape=1, a=1)
##standard gamma distribution with shape parameter 2 evaluated in 1
dtgamma(1, shape=2)
dgamma(1, shape=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.