R: Parameter estimation for the Gamma distribution

gammafit {mhsmm} | R Documentation

## Parameter estimation for the Gamma distribution

### Description

Estimates parameters for the Gamma distribution using the Method of Maximum Likelihood, works with weighted data.

### Usage

    gammafit(x, wt = NULL)

### Arguments

`x` | A vector of observations
`wt` | Optional set of weights

### Value

`shape` | The shape parameter
`scale` | The scale parameter (equal to 1/rate)

### Author(s)

Jared O'Connell jaredoconnell@gmail.com

### References

Choi, S. and Wette, R. (1969), Maximum likelihood estimation of the parameters of the gamma distribution and their bias, Technometrics, 11, 683-96-690.

### Examples

      gammafit(rgamma(1000,shape=10,scale=13))

[Package mhsmm version 0.4.16 Index]