Description Usage Arguments Value Author(s) References Examples
These functions provide information about the Generalized Odd Gamma Uniform distribution. dGOGaU gives the density, pGOGaU gives the distribution function, qGOGaU gives the quantile function, rGOGaU generates random deviates, mGOGaU gives the mean function, vGOGaU gives the variance function, sGOGaU gives the skewness function, kGOGaU gives the kurtosis function, and entGOGaU gives the Rrnyi or Shannon entropy function due to Hosseini et al. (2018) specified by the pdf
f(x;α ,β ,a,b) =\frac{β (b-a)^{β}(x-a)^{αβ-1}}{Γ(α) ≤ft[ (b-a)^{β}-(x-a)^{β} \right]^{α+1}} e^{\frac{-(x-a)^{β}}{(b-a)^{β}-(x-a)^{β}}} ,a ≤ x ≤ b\,.
where α, β > 0 and a<b.
1 2 3 4 5 6 7 8 9 | dGOGaU(x, alpha, beta, a = 0, b = 1, log = FALSE)
pGOGaU(x, alpha, beta, a = 0, b = 1)
qGOGaU(p, alpha, beta, a = 0, b = 1)
rGOGaU(n, alpha, beta, a = 0, b = 1)
mGOGaU(alpha, beta, a = 0, b = 1)
vGOGaU(alpha, beta, a = 0, b = 1)
sGOGaU(alpha, beta, a = 0, b = 1)
kGOGaU(alpha, beta, a = 0, b = 1)
entGOGaU(gamma, alpha, beta, a = 0, b = 1, explain = FALSE)
|
x |
Scaler or vector of values at which the pdf or cdf needs to be computed |
p |
Scaler or vector of probabilities at which the quantile needs to be computed |
n |
Number of random numbers to be generated |
alpha |
The value of the first shape parameter. Must be finite. |
beta |
The value of the second shape parameter. Must be finite. |
a, b |
Lower and upper limits of the distribution. Must be finite. |
log |
Logical; if TRUE, probabilities p are given as log(p). |
gamma |
The gamma in Rrnyi entropy. if gamma = 1, the Shannon entropy is returned. |
explain |
Logical; if TRUE, explain Rrnyi or Shannon entropy is returned. |
An object of the same length as x
, giving the pdf or cdf values computed at x
or
an object of the same length as p
, giving the quantile values computed at p
or
an object of the same length as n
, giving the random numbers generated or
an object of the same length as gamma
, giving the entropy (Rrnyi or Shannon) or
an object giving the values of mean, variance, skewness, or kurtosis.
Bistoon Hosseini, Mahmoud Afshari
Hosseini, Bistoon, Mahmoud Afshari, and Morad Alizadeh. "The Generalized Odd Gamma-G Family of Distributions: Properties and Applications." Austrian Journal of Statistics 47.2 (2018): 69-89.
1 2 3 4 5 6 7 8 9 10 | x=runif(10,min=0,max=1)
dGOGaU(x, alpha = 0.5, beta = 1.2, a = 0, b = 1, log = FALSE)
pGOGaU(x, alpha = 0.5, beta = 1.2, a = 0, b = 1)
qGOGaU(x, alpha = 0.5, beta = 1.2, a = 0, b = 1)
rGOGaU(n = 10, alpha = 0.5, beta = 1.2, a = 0, b = 1)
mGOGaU(alpha = 0.5, beta = 1.2, a = 0, b = 1)
vGOGaU(alpha = 0.5, beta = 1.2, a = 0, b = 1)
sGOGaU(alpha = 0.5, beta = 1.2, a = 0, b = 1)
kGOGaU(alpha = 0.5, beta = 1.2, a = 0, b = 1)
entGOGaU(gamma = c(.5, 1, 1.5), alpha = 0.5, beta = 1.2, a = 0, b = 1, explain = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.