The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

dmai: Divisia Monetary Aggregates Index

Builds monetary aggregates from their components by the methods of index number theory. The Divisia index of Barnett (1980) <doi:10.1016/0304-4076(80)90070-6> weights every component (currency, demand deposits, savings and time deposits, ...) by its share in the expenditure on monetary services, priced by its user cost (Barnett 1978) <doi:10.1016/0165-1765(78)90051-4>. Also gives the Fisher ideal index, a variant with simple growth rates, the simple-sum aggregate, the currency equivalent index of Rotemberg, Driscoll and Poterba (1995), the dual user-cost price index and the Divisia second moments of Barnett and Serletis (1990) <doi:10.1016/0304-4076(90)90104-2>; benchmark rates given or taken from the components (upper envelope); 'ggplot2' graphics, a plain-language interpretation of every result and a built-in 'shiny' application.

Version: 1.0.0
Depends: R (≥ 4.2)
Imports: data.table, ggplot2, grDevices, scales, stats, utils
Suggests: bslib, DT, knitr, magick, pkgload, quarto, ragg, R.rsp, shiny, svglite, testthat (≥ 3.0.0), withr
Published: 2026-11-09
DOI: 10.32614/CRAN.package.dmai
Author: Muhammad Yaseen ORCID iD [aut, cre, cph], Ahmad Nadeem [aut, ctb]
Maintainer: Muhammad Yaseen <myaseen208 at gmail.com>
BugReports: https://github.com/myaseen208/dmai/issues
License: GPL-2
URL: https://myaseen208.com/dmai/, https://github.com/myaseen208/dmai
NeedsCompilation: no
Language: en-US
Citation: dmai citation info
Materials: README, NEWS
CRAN checks: dmai results

Documentation:

Reference manual: dmai.html , dmai.pdf
Vignettes: Getting started with dmai (source, R code)
Theory and notation (source, R code)
Benchmark rate and index formula (source, R code)
The application (source, R code)
Validation and speed (source, R code)
Getting started with dmai (PDF) (source)
Theory and notation (PDF) (source)
Benchmark rate and index formula (PDF) (source)
The application (PDF) (source)
Validation and speed (PDF) (source)

Downloads:

Package source: dmai_1.0.0.tar.gz
Windows binaries: r-devel: dmai_1.0.0.zip, r-release: dmai_1.0.0.zip, r-oldrel: dmai_1.0.0.zip
macOS binaries: r-release (arm64): dmai_1.0.0.tgz, r-oldrel (arm64): dmai_1.0.0.tgz, r-release (x86_64): dmai_1.0.0.tgz, r-oldrel (x86_64): dmai_1.0.0.tgz
Old sources: dmai archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dmai to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.