Marginal Effects, Odds Ratios and Incidence Rate Ratios for GLMs
Overview
Estimates probit, logit, Poisson, negative binomial, and beta regression models, returning their marginal effects, odds ratios, or incidence rate ratios as an output. Greene (2008, pp. 780-7) provides a textbook introduction to this topic.
- Removed file 'R/mfx-internal.R' which set the '.Random.seed' as this is not needed and may have unwanted effects.
From NEWS in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Alan Fernihough <alan.fernihough@gmail.com>’
Found the following (possibly) invalid URLs:
URL: http: //CRAN.R-project.org/package=mfx
From: inst/doc/mfxarticle.pdf
Message: Invalid URL: missing authority part- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 44%
Downloads
Dependencies
Installing mfx adds 7 packages (3 with compiled code, 4.8 MB of source tarballs). Heaviest: betareg 1.4 MB, sandwich 1.4 MB, flexmix 1.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2-4Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- unarchivedReturned to CRAN2019-02-06
- 1.2-22019-02-06 · diff ↗ ·
removed 9 exports
print.logitmfx, print.negbinmfx, print.poissonmfx, print.probitmfx, print.betamfx, print.logitor, print.negbinirr, print.poissonirr, print.betaor - archivedRemoved from CRAN2019-01-26check problems were not corrected despite reminders
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2013-12-13
- Total releases
- 4 / 13 yrs
- License
- GPL-2 | GPL-3 OSI
- Download size
- 168 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mfx")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.