GammaMLEParameterEstimator

Estimates the parameters of the Gamma distribution based on a MLE algorithm. See page 285-286 of Law (2007) Simulation Modeling and Analysis. Uses bi-section search seeded by initial estimates based on MOM estimates. Convergence is not guaranteed and will be indicated in the EstimatedParameters success property and the message. Requires that the data be strictly positive and that there are at least two observations. Also, requires that all the supplied data are not equal. The user may vary some of the search control parameters to assist with convergence.

Constructors

Link copied to clipboard
constructor(name: String? = "GammaMLEParameterEstimator")

Properties

Link copied to clipboard
open override val checkRange: Boolean = true

Indicates if the estimator requires that the range of the data be checked for a shift before the estimation process.

Link copied to clipboard

How close we consider a double is to 0.0 to consider it 0.0 Default is 0.001

Link copied to clipboard

Desired precision. The default is 0.0001.

Link copied to clipboard
open override val id: Int
Link copied to clipboard

The factor used to form initial search interval around initial MOM estimate of the shape. The default is 3.0, as in a 3-sigma range.

Link copied to clipboard
open override var label: String?
Link copied to clipboard

Maximum allowed number of iterations. The default is 100.

Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val names: List<String>

The name to associate with each dimension of the array that is returned by estimate(). The names should be unique. The order of the list of names should match the order of elements in the returned array.

Link copied to clipboard
open override val rvType: RVParametersTypeIfc

The type of random variable for which this estimator estimates parameters.

Functions

Link copied to clipboard
open override fun estimate(data: DoubleArray): DoubleArray

If the estimation process is not successful, then an empty array is returned.

Link copied to clipboard
open override fun estimateParameters(data: DoubleArray, statistics: StatisticIfc): EstimationResult

Estimates the parameters associated with some distribution. The returned EstimationResult needs to be consistent with the intent of the desired distribution. Note the meaning of the fields associated with EstimationResult