Description Usage Arguments Details Value Author(s) References See Also Examples
Fits a Gamma distribution to a random sample of positive real numbers using Villasenor and Gonzalez-Estrada (2015) parameter estimators.
1 | gamma_fit(x)
|
x |
a numeric data vector containing a random sample of positive real numbers. |
The Gamma distribution with shape and scale parameters is considered. The scale parameter is estimated by the unbiased sample estimator of the covariance of X and log(X). The shape parameter is estimated by the ratio of the sample mean of X and the scale parameter estimator.
Shape and scale parameter estimates.
Elizabeth Gonzalez-Estrada egonzalez@colpos.mx, Jose A. Villasenor-Alva
Villasenor, J.A. and Gonzalez-Estrada, E. (2015). A variance ratio test of fit for Gamma distributions. Statistics and Probability Letters, 96 1, 281-286. http://dx.doi.org/10.1016/j.spl.2014.10.001
gamma_test
for testing the Gamma distribution hypothesis.
1 2 3 4 5 6 7 |
Loading required package: fitdistrplus
Loading required package: MASS
Loading required package: survival
Loading required package: npsurv
Loading required package: lsei
Parameter estimates
shape 1.2114035
scale 0.6529328
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.