Maximum Likelihood Estimation and Related Tools
Overview
Functions for Maximum Likelihood (ML) estimation, non-linear optimization, and related tools. It includes a unified way to call different optimizers, and classes and methods to handle the results from the Maximum Likelihood viewpoint. It also includes a number of convenience tools for testing and developing your own models.
- 'tidy' and 'glance' methods for 'maxim' objects
- 'print' and 'show' methods for 'maxim' objects
- stdEr returns NA-vector when Hessian missing
- the preferred way to query number of obs is 'stats4::nobs', not 'miscTools::nObs'
- maxBFGS and other optim-based methods: documentation mentions that the function value output is negative when requesting with printLevel
- missings in the initial value results in error, not the special return code.
- fixed some documentation issues Versions 1.6-0 to 1.6-8 did not pass CRAN checks
From NEWS in the release
Install
Health
NOTEtestsr-patched-linux-x86_64
Running ‘BFGSR.R’ [2s/2s] Comparing ‘BFGSR.Rout’ to ‘BFGSR.Rout.save’ ... OK Running ‘constraints.R’ [5s/6s] Comparing ‘constraints.Rout’ to ‘constraints.Rout.save’ ... OK Running ‘libs.R’ [0s/0s] Running ‘numericGradient.R’ [0s/1s] Comparing ‘numericGradient.Rout’ to ‘numericGradient.Rout.save’ ... 23,24c23 < In numericGradient(f, c(0.01, 1), eps = 0.1) : < Function value at --- > In numericGradient(f, c(0.01, 1), eps = 0.1) : Function value at Running ‘tinytest.R’ [1s/1s]
- NOTE12 OK, 1 NOTE2026-07-24
- ERROR11 OK, 1 NOTE, 1 ERROR2026-07-23
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 32 (2 internal)includes a package overview page
- Examples that run
- 100%30 run in a plain check
- Exported functions with examples
- 95%
- Documented parameters
- 99%
- Return-value docs
- 95%
- Help pages citing references
- 22%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 21
- Median days to close, 50 most recently updated closed PRs
- 411
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/arne-henningsen/maxlik on 2026-10-11.
Dependencies
Installing maxLik adds 5 packages (2 with compiled code, 2.4 MB of source tarballs). Heaviest: sandwich 1.4 MB, zoo 675 KB, digest 231 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 14 more dependents and 12 packages that suggest it on CRAN ↗
Code & Tests
People & History
Previously maintained by Arne Henningsen (0.5-2 to 1.2-4).
Pick two releases to compare their code metrics.
- 1.6-10Latest
- RR 4.6.0 released · 2026-04-24
- 1.5-2.22025-12-29 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.5-2.12024-03-24 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.5-2
- RR 4.1.0 released · 2021-05-18
- 1.4-82021-03-22 · diff ↗
- 1.4-62020-11-24 · diff ↗
- 1.4-42020-09-04 · diff ↗
- 1.4-0
- RR 4.0.0 released · 2020-04-24
- 1.3-82020-01-10 · diff ↗
Show 38 earlier eventsHide 38 earlier events
- 1.3-6
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.3-42015-11-09 · diff ↗
- 1.3-22015-10-29 · diff ↗
- 1.3-0
- RR 3.2.0 released · 2015-04-16
- 1.2-42014-12-31 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.2-02013-10-22 · diff ↗
- 1.1-82013-09-18 · diff ↗
- 1.1-42013-09-16 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 1.1-22012-03-05 · diff ↗
- 1.1-0
- RR 2.14.0 released · 2011-10-31
- 1.0-2
- RR 2.13.0 released · 2011-04-13
- 1.0-0
- RR 2.12.0 released · 2010-10-15
- 0.8-0
- 0.7-22010-05-05 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 0.7-0
- RR 2.10.0 released · 2009-10-26
- 0.6-0
- 0.5-122009-07-18 · diff ↗ ·
added 20 exports
activePar, compareDerivatives, condiNumber, fnSubset, hessian, maxBFGS, maxBHHH, maximType, maxLik, maxNM, maxNR, maxSANN, nIter, nObs, nParam, numericGradient, numericHessian, numericNHessian, returnCode, returnMessage - RR 2.9.0 released · 2009-04-17
- 0.5-102009-01-26 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 0.5-82008-09-18 · diff ↗
- 0.5-62008-09-17 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 0.5-22008-02-27
- RR 2.6.0 released · 2007-10-03
Package metadata
- First published
- 2008-02-27
- Total releases
- 30 / 18 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.4.0
- Download size
- 791 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("maxLik")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s00180-010-0217-1.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.