genben.ml.objf: Objective function for numerically finding MLE under...

Description Usage Arguments Details References See Also

Description

genben.ml.objf contains the (negative) objective function of the nonlinear programming problem used to compute the MLE in LR.genben.

Usage

1
genben.ml.objf(alpha, freq, digits)

Arguments

alpha

A real number.

freq

Vector of multinomial frequencies.

digits

A significant digits vector.

Details

LR.genben computes the MLE for α numerically under the generalized Benford alternative by maximizing a log-likelihood objective function, or equivalently minimizing the negative of said function. See Lesperance et. al for further details.

References

Lesperance M, Reed WJ, Stephens MA, Tsao C, Wilton B (2016) Assessing conformance with Benford's Law: goodness-of-fit tests and simultaneous confidence intervals. PLoS one; 11(3). Wong, S. (2010) Testing Benford's Law with the first two significant digits. University of Victoria, Master's thesis.

See Also

LR.genben

genben.ps


mlespera/BenGood documentation built on May 18, 2019, 3:43 p.m.