Package: mlmodels
Title: Maximum Likelihood Models and Tools for Estimation, Prediction,
        and Testing
Version: 0.1.2
Authors@R: 
    person(given = "Alfonso",
           family = "Sanchez-Penalver",
           email = "oneiros_spain@yahoo.com",
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-8491-4632"))
Description: Provides a collection of maximum likelihood estimators with a consistent S3 interface. Supported models include Gaussian (linear and log-normal), logit, probit, Poisson, negative binomial (NB1 and NB2), gamma, and beta regression. A distinctive feature is flexible modeling of the scale parameter (variance, dispersion, precision, or shape) alongside the location/mean parameters. The package offers unified predict() methods, multiple variance-covariance estimators (observed information, outer product of gradients, robust/Huber-White, cluster-robust, bootstrap, jackknife), and a full suite of hypothesis tests (Wald, likelihood ratio, information matrix, Vuong, overdispersion, and goodness-of-fit). It is fully compatible with 'marginaleffects' for post-estimation analysis. Methods implemented include Cameron and Trivedi (1990) <doi:10.1016/0304-4076(90)90014-K>, for Poisson overdispersion testing, Manjon and Martinez (2014) <doi:10.1177/1536867X1401400406>, for goodness-of-fit testing of count data models, Vuong (1989) <doi:10.2307/1912557>, for non-nested likelihood ratio testing, and White (1982) <doi:10.2307/1912526>, for information matrix tests.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
Imports: cli, hardhat, insight, marginaleffects, MASS, matrixcalc,
        maxLik, rlang, tibble
Suggests: boot, dplyr, e1071, ggplot2, knitr, patchwork, pkgdown,
        rmarkdown, testthat (>= 3.0.0), wooldridge
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/pkgdown/logo: man/figures/logo.png
URL: https://alfisankipan.github.io/mlmodels/
BugReports: https://github.com/alfisankipan/mlmodels/issues
Depends: R (>= 4.1.0)
NeedsCompilation: no
Packaged: 2026-05-05 16:18:02 UTC; alfonso
Author: Alfonso Sanchez-Penalver [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-8491-4632>)
Maintainer: Alfonso Sanchez-Penalver <oneiros_spain@yahoo.com>
Repository: CRAN
Date/Publication: 2026-05-08 15:40:02 UTC
Built: R 4.7.0; ; 2026-06-05 04:21:04 UTC; windows
