The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

maq: Multi-Armed Qini

Fits generalized Qini curves for evaluating treatment allocation policies with one or more mutually exclusive treatment arms. Given estimated conditional treatment effects and treatment costs, 'maq' computes the optimal treatment allocation over a range of budget levels and estimates the resulting policy value using doubly robust or inverse-propensity weighted scores. The underlying optimization exploits the linear multiple-choice knapsack structure of the allocation problem to compute the full solution path efficiently. For details see Sverdrup, Wu, Athey, and Wager (2025) <doi:10.1080/10618600.2024.2418820>.

Version: 0.6.1
Depends: R (≥ 3.5.0)
Imports: Rcpp
LinkingTo: Rcpp
Suggests: grf (≥ 2.3.0), ggplot2, testthat (≥ 3.0.0)
Published: 2026-08-04
DOI: 10.32614/CRAN.package.maq
Author: Erik Sverdrup [aut, cre], Han Wu [aut], Susan Athey [aut], Stefan Wager [aut]
Maintainer: Erik Sverdrup <erik.sverdrup at gmail.com>
BugReports: https://github.com/grf-labs/maq/issues
License: MIT + file LICENSE
URL: https://github.com/grf-labs/maq
NeedsCompilation: yes
SystemRequirements: GNU make
CRAN checks: maq results

Documentation:

Reference manual: maq.html , maq.pdf

Downloads:

Package source: maq_0.6.1.tar.gz
Windows binaries: r-devel: maq_0.6.0.zip, r-release: maq_0.6.1.zip, r-oldrel: maq_0.6.1.zip
macOS binaries: r-release (arm64): maq_0.6.1.tgz, r-oldrel (arm64): maq_0.6.1.tgz, r-release (x86_64): maq_0.6.1.tgz, r-oldrel (x86_64): maq_0.6.1.tgz
Old sources: maq archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=maq 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.
Health stats visible at Monitor.