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

Getting started

Package details

AuthorErik Sverdrup [aut, cre], Han Wu [aut], Susan Athey [aut], Stefan Wager [aut]
MaintainerErik Sverdrup <erik.sverdrup@gmail.com>
LicenseMIT + file LICENSE
Version0.6.1
URL https://github.com/grf-labs/maq
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("maq")

Try the maq package in your browser

Any scripts or data that you put into this service are public.

maq documentation built on Aug. 4, 2026, 5:09 p.m.