gammaMLE {gofedf}R Documentation

Compute maximum likelihood estimate of shape and scale parameter in Gamma distribution.

Description

Estimate the MLE of shape and scale parameters of the Gamma distribution using the Newton-Raphson method on the profile log-likelihood to estimate the shape parameter.

Usage

gammaMLE(x, ur)

Arguments

x

a numeric vector of length n

ur

logical. If TRUE the rate parameter is returned. Otherwise the scale is returned.

Value

a vector of length two with shape and scale/rate.


[Package gofedf version 0.1.0 Index]