gammaMLE: get the MLE of a gamma distribution via fast conditional likelihood

Share:

Description

Maximum likelihood estimator for the parameters of a gamma distribution

Usage

1
  gammaMLE(x, w=NULL, niter=100, tol=0.1, minx=1)

Arguments

x

A vector

w

Weights

niter

Maximum number of iterations

tol

Maximum difference in parameters at convergence

minx

Minimum permissible value for x (smaller values will be bumped to this)

Details

Not yet.

Value

The MLE of the parameters.

Author(s)

Tim Triche, Jr..

Examples

1
2
3
  
  foo <- rgamma(100, 12, 10)
  gammaMLE(foo, w=NULL, niter=100, tol=0.1, minx=1)