Package: maq 0.5.0

Erik Sverdrup
maq: Multi-Armed Qini
Policy evaluation using generalized Qini curves: Evaluate data-driven treatment targeting rules for one or more treatment arms over different budget constraints in experimental or observational settings under unconfoundedness.
Authors:
maq_0.5.0.tar.gz
maq_0.5.0.tar.gz(r-4.5-noble)maq_0.5.0.tar.gz(r-4.4-noble)
maq_0.5.0.tgz(r-4.4-emscripten)maq_0.5.0.tgz(r-4.3-emscripten)
maq.pdf |maq.html✨
maq/json (API)
# Install 'maq' in R: |
install.packages('maq', repos = 'https://cloud.r-project.org') |
Bug tracker:https://github.com/grf-labs/maq/issues2 issues
Last updated 5 months agofrom:3f742c6420. Checks:2 OK, 1 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 25 2025 |
R-4.5-linux-x86_64 | OK | Mar 25 2025 |
R-4.4-linux-x86_64 | NOTE | Mar 25 2025 |
Exports:average_gaindifference_gainget_aipw_scoresget_ipw_scoresintegrated_differencemaq
Dependencies:Rcpp
Citation
To cite package ‘maq’ in publications use:
Sverdrup E, Wu H, Athey S, Wager S (2024). maq: Multi-Armed Qini. R package version 0.5.0, https://CRAN.R-project.org/package=maq.
Corresponding BibTeX entry:
@Manual{, title = {maq: Multi-Armed Qini}, author = {Erik Sverdrup and Han Wu and Susan Athey and Stefan Wager}, year = {2024}, note = {R package version 0.5.0}, url = {https://CRAN.R-project.org/package=maq}, }
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get estimate of gain given a spend level. | average_gain |
Get estimate of difference in gain given a spend level with paired standard errors. | difference_gain |
Construct evaluation scores via augmented inverse-propensity weighting. | get_aipw_scores |
Construct evaluation scores via inverse-propensity weighting. | get_ipw_scores |
Get estimate of the area between two Qini curves with paired standard errors. | integrated_difference |
Fit a Multi-armed Qini curve. | maq |
Plot the estimated Qini curve. | plot.maq |
Predict treatment allocation. | predict.maq |
Print a maq object. | print.maq |
Qini curve summary. | summary.maq |