Skip to content

Marginal Effects, Odds Ratios and Incidence Rate Ratios for GLMs

0packages dependsuggested by 4
132.3Kdownloads / year
47.7%test coverage
11/13flavors OK

Overview

About

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.

Changes in 1.2-4
  • 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

CRAN checks
2NOTE11OK
Check messages
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

CRAN check page ↗

Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2-4
READMENoVignettesYes · 1 · staticNEWSYes · 0% structured · mentions 1.2-4Citation fileNoWebsitenot declared in DESCRIPTION
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

132.3K
CRAN downloads in the past year
Rank #1,234 · ~363/day · ~11K/mo
Daily download trend is not available in this view yet.
8.6K30 days
25.8K90 days
132.3K1 year
Compare downloads with other packages →
Also on140 r2u7 autocran141 c2d4u

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

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.

Depends (5)
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 4
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 1.0 (2013)
Contributor · added in 1.2-2
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2-4Latest
    record
    2025-05-30 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • unarchivedReturned to CRAN
    2019-02-06
  • 1.2-2
    record
    2019-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 CRAN
    2019-01-26
    check problems were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • 1.1
    record
    2014-01-19 · diff ↗ ·
    added 10 exports
    betamfx, print.betamfx, logitor, negbinirr, poissonirr, betaor, print.logitor, print.negbinirr, print.poissonirr, print.betaor
  • 1.0
    record
    2013-12-13
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2013-12-13
Total releases
4 / 13 yrs
License
GPL-2 | GPL-3 OSI
Download size
168 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mfx")
Fernihough, A., & Henningsen, A. (2025). mfx: Marginal Effects, Odds Ratios and Incidence Rate Ratios for GLMs (Version 1.2-4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mfx version 1.2-4 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy