View source: R/hsmm_functions.R
gammafit | R Documentation |
Estimates parameters for the Gamma distribution using the Method of Maximum Likelihood, works with weighted data.
gammafit(x, wt = NULL)
x |
A vector of observations |
wt |
Optional set of weights |
shape |
The shape parameter |
scale |
The scale parameter (equal to 1/rate) |
Jared O'Connell jaredoconnell@gmail.com
Choi, S. and Wette, R. (1969), Maximum likelihood estimation of the parameters of the gamma distribution and their bias, Technometrics, 11, 683-96-690.
gammafit(rgamma(1000,shape=10,scale=13))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.