MEstimation.jl
Authors
Ioannis Kosmidis | (author, maintainer) |
---|---|
Nicola Lunardon | (author) |
Licence
Package description
MEstimation is a Julia package that implements M-estimation for statistical models (see, e.g. Stefanski and Boos, 2002, for an accessible review) either by solving estimating equations or by maximizing inference objectives, like likelihoods and composite likelihoods (see, Varin et al, 2011, for a review), using user-specified templates of just
- the estimating function or the objective functions contributions
- a function to compute the number of independent contributions in a given data set
A key feature is the use of those templates along with forward mode automatic differentiation (as implemented in ForwardDiff) to provide methods for reduced-bias M-estimation (RBM-estimation; see, Kosmidis & Lunardon, 2020).
See the documentation for more information, and the examples for a showcase of the functionality MEstimation provides.
See NEWS.md for changes, bug fixes and enhancements.
MEstimation templates
MEstimation has been designed so that the only requirements from the user are to:
- implement a Julia composite type for the data;
- implement a function for computing the number of observations from the data object;
- implement a function for calculating the contribution to the estimating function or to the objective function from a single observation that has arguments the parameter vector, the data object, and the observation index;
- specify a MEstimation template (using
estimating_function_template
for estimating functions andobjective_function_template
for objective function) that has fields the functions for computing the contributions to the estimating functions or to the objective, and the number of observations.
MEstimation, then, can estimate the unknown parameters by either $M$-estimation or RB$M$-estimation.
Examples
Documentation
Index
MEstimation.estimating_function_template
MEstimation.objective_function_template
MEstimation.estimating_function
MEstimation.get_estimating_function
MEstimation.objective_function
MEstimation.slice
MEstimation.tic
StatsBase.aic
StatsBase.coef
StatsBase.coeftable
StatsBase.fit
StatsBase.fit
StatsBase.stderror
StatsBase.vcov
MEstimation.MEstimation_results
Base.show
References
- Varin C, Reid N, and Firth D (2011). An overview of composite likelihood methods. Statistica Sinica 21(1), 5-42. Link
- Kosmidis I, Lunardon N (2020). Empirical bias-reducing adjustments to estimating functions. ArXiv:2001.03786. Link
- Stefanski L A and Boos D D (2002). The calculus of M-estimation. The American Statistician(56), 29-38. Link