Package: maq 0.6.1

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>.

Authors:Erik Sverdrup [aut, cre], Han Wu [aut], Susan Athey [aut], Stefan Wager [aut]

maq_0.6.1.tar.gz
maq_0.6.1.zip(r-4.7-x86_64)maq_0.6.1.zip(r-4.7-arm64)maq_0.6.1.zip(r-4.6-x86_64)maq_0.6.1.zip(r-4.6-arm64)maq_0.6.1.zip(r-4.5-x86_64)
maq_0.6.1.tgz(r-4.6-x86_64)maq_0.6.1.tgz(r-4.6-arm64)maq_0.6.1.tgz(r-4.5-x86_64)maq_0.6.1.tgz(r-4.5-arm64)
maq_0.6.1.tar.gz(r-4.7-arm64)maq_0.6.1.tar.gz(r-4.7-x86_64)maq_0.6.1.tar.gz(r-4.6-arm64)maq_0.6.1.tar.gz(r-4.6-x86_64)
maq_0.6.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
maq/json (API)

# Install 'maq' in R:
install.packages('maq', repos = c('https://erikcs.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/grf-labs/maq/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

1.83 score 34 scripts 335 downloads 7 exports 1 dependencies

Last updated from:5d2d5b8f0c. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK107
linux-devel-x86_64OK131
source / vignettesOK196
linux-release-arm64OK93
linux-release-x86_64OK112
macos-release-arm64OK203
macos-release-x86_64OK249
macos-oldrel-arm64OK218
macos-oldrel-x86_64OK415
windows-devel-arm64OK329
windows-devel-x86_64OK125
windows-release-arm64OK335
windows-release-x86_64OK96
windows-oldrel-x86_64OK110
wasm-releaseOK107

Exports:average_gaindifference_gainget_aipw_scoresget_ipw_scoresintegrated_differencemaqscale_maq

Dependencies:Rcpp