Learn R Programming

rGammaGamma (version 1.0.12)

gammaMLE: 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)

Value

The MLE of the parameters.

Details

Not yet.

Examples

Run this code
  
  foo <- rgamma(100, 12, 10)
  gammaMLE(foo, w=NULL, niter=100, tol=0.1, minx=1)

Run the code above in your browser using DataLab