Last data update: 2014.03.03
|
R: gammaMLE: get the MLE of a gamma distribution via fast...
gammaMLE: get the MLE of a gamma distribution via fast conditional likelihood
Description
Maximum likelihood estimator for the parameters of a gamma distribution
Usage
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
foo <- rgamma(100, 12, 10)
gammaMLE(foo, w=NULL, niter=100, tol=0.1, minx=1)
Results
|