{
  "_id": "6a1ff8ddb401979e73443f4b",
  "Package": "maq",
  "Title": "Multi-Armed Qini",
  "Version": "0.6.0",
  "Authors@R": "c(\nperson(\"Erik\", \"Sverdrup\", email = \"erik.sverdrup@monash.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Han\", \"Wu\", role = \"aut\"),\nperson(\"Susan\", \"Athey\", role = \"aut\"),\nperson(\"Stefan\", \"Wager\", role = \"aut\")\n)",
  "Description": "Policy evaluation using generalized Qini curves: Evaluate\ndata-driven treatment targeting rules for one or more treatment\narms over different budget constraints in experimental or\nobservational settings under unconfoundedness.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GNU make",
  "URL": "https://github.com/grf-labs/maq",
  "BugReports": "https://github.com/grf-labs/maq/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 09:44:45 UTC",
    "User": "root"
  },
  "Author": "Erik Sverdrup [aut, cre], Han Wu [aut], Susan Athey [aut],\nStefan Wager [aut]",
  "Maintainer": "Erik Sverdrup <erik.sverdrup@monash.edu>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://anumbat.r-universe.dev",
  "Date/Publication": "2025-04-14 11:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/maq",
  "RemoteRef": "HEAD",
  "RemoteSha": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
  "MD5sum": "6def6780e6f3ad80f644138f4f536609",
  "_user": "anumbat",
  "_type": "src",
  "_file": "maq_0.6.0.tar.gz",
  "_fileid": "7d8d683609c97105d540d4d9de4808fd512adad3925926432b6810ad7d2eddfe",
  "_filesize": 252409,
  "_sha256": "7d8d683609c97105d540d4d9de4808fd512adad3925926432b6810ad7d2eddfe",
  "_created": "2026-06-03T09:44:45.000Z",
  "_published": "2026-06-03T09:50:21.422Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79266213434,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381163507"
    },
    {
      "job": 79266213462,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381154841"
    },
    {
      "job": 79266213471,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381161152"
    },
    {
      "job": 79266213423,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381165676"
    },
    {
      "job": 79266213576,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381140322"
    },
    {
      "job": 79266213457,
      "time": 191,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381180660"
    },
    {
      "job": 79266213535,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381157131"
    },
    {
      "job": 79266213473,
      "time": 285,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381217667"
    },
    {
      "job": 79265629524,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381106441"
    },
    {
      "job": 79266213417,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381146918"
    },
    {
      "job": 79266213601,
      "time": 226,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381193248"
    },
    {
      "job": 79266213519,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381147462"
    },
    {
      "job": 79266213427,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381155707"
    }
  ],
  "_buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/maq",
  "_commit": {
    "id": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
    "author": "Erik Sverdrup <erik.sverdrup@monash.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.6.0\n",
    "time": 1744630802
  },
  "_maintainer": {
    "name": "Erik Sverdrup",
    "email": "erik.sverdrup@monash.edu",
    "login": "anumbat",
    "description": "",
    "uuid": 228432090
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "grf",
      "version": ">= 2.3.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "grootci",
      "count": 4,
      "uuid": 52466046
    },
    {
      "user": "anumbat",
      "count": 3,
      "uuid": 228432090
    }
  ],
  "_userbio": {
    "uuid": 228432090,
    "type": "user",
    "name": "anumbat"
  },
  "_downloads": {
    "count": 161,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maq"
  },
  "_devurl": "https://github.com/grf-labs/maq",
  "_searchresults": 29,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maq.html",
    "manual.pdf"
  ],
  "_realowner": "anumbat",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-06-27"
    },
    {
      "version": "0.2.0",
      "date": "2023-09-03"
    },
    {
      "version": "0.3.0",
      "date": "2023-09-10"
    },
    {
      "version": "0.3.1",
      "date": "2023-10-08"
    },
    {
      "version": "0.4.0",
      "date": "2024-04-18"
    },
    {
      "version": "0.5.0",
      "date": "2024-11-14"
    },
    {
      "version": "0.6.0",
      "date": "2025-04-14"
    }
  ],
  "_exports": [
    "average_gain",
    "difference_gain",
    "get_aipw_scores",
    "get_ipw_scores",
    "integrated_difference",
    "maq",
    "scale_maq"
  ],
  "_help": [
    {
      "page": "average_gain",
      "title": "Get estimate of gain given a spend level.",
      "topics": [
        "average_gain"
      ]
    },
    {
      "page": "difference_gain",
      "title": "Get estimate of difference in gain given a spend level with paired standard errors.",
      "topics": [
        "difference_gain"
      ]
    },
    {
      "page": "get_aipw_scores",
      "title": "Construct evaluation scores via augmented inverse-propensity weighting.",
      "topics": [
        "get_aipw_scores"
      ]
    },
    {
      "page": "get_ipw_scores",
      "title": "Construct evaluation scores via inverse-propensity weighting.",
      "topics": [
        "get_ipw_scores"
      ]
    },
    {
      "page": "integrated_difference",
      "title": "Get estimate of the area between two Qini curves with paired standard errors.",
      "topics": [
        "integrated_difference"
      ]
    },
    {
      "page": "maq",
      "title": "Fit a multi-armed Qini curve.",
      "topics": [
        "maq"
      ]
    },
    {
      "page": "plot.maq",
      "title": "Plot the estimated Qini curve.",
      "topics": [
        "plot.maq"
      ]
    },
    {
      "page": "predict.maq",
      "title": "Predict treatment allocation.",
      "topics": [
        "predict.maq"
      ]
    },
    {
      "page": "print.maq",
      "title": "Print a maq object.",
      "topics": [
        "print.maq"
      ]
    },
    {
      "page": "scale_maq",
      "title": "Scale a Qini curve.",
      "topics": [
        "scale_maq"
      ]
    },
    {
      "page": "summary.maq",
      "title": "Qini curve summary.",
      "topics": [
        "summary.maq"
      ]
    }
  ],
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.462397997898956,
  "_indexed": true,
  "_nocasepkg": "maq",
  "_universes": [
    "anumbat",
    "grf-labs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-03T09:47:23.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "b6e461eb67a6949d434591e27f4d7db1a2c632254b0140093a9242b4c3442f40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "079810821a1a0bee0e1c419c572f187d6d95e14e284af0888ef63031837a257f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-03T09:47:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "fe28ca281f59881a742952f84b74a642311c6422e5cf165e870f32b5c45f47a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0",
      "date": "2026-06-03T09:47:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "b21fadbae435495ad3305f7cdab339f8552de321f83c24453c9fff4e25f0d7a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:21.000Z",
      "arch": "aarch64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "79bda07028bacff75dbe630029c56fd76e70e2bd23b71c001ad8a88b2d9ed405",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-03T09:47:42.000Z",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "a7021cb29fb49fc4b1924b207ce084ae6dee290ecfe7fc1f8e3a9e021f9c3b3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:53.000Z",
      "arch": "aarch64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "0a2c5218a652f3e466e81e5b92c7dee1ee7ea78de68287a87b51bf7fc35866c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0",
      "date": "2026-06-03T09:48:20.000Z",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "8b25d650202f49cb9415084b72d7622bd61aac8fca13a960e39ebcc7253429c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:51.000Z",
      "arch": "emscripten",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "18ddc818475263611cfe8a194615d48e7d67c950178ac0ce3bcab8a28975a1cf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-03T09:47:24.000Z",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "f98376d8d079d43055e9a3ab0c15387063ba1c62eafe5aa4eb96b43d58878475",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:09.000Z",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "f2fd4e9aa576a12dd36a45447ae96432c9adc2520d44f885cf09f79f4ef32b7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.0",
      "date": "2026-06-03T09:46:08.000Z",
      "arch": "x86_64",
      "commit": "522cba6b1374f6cfea3130a59e2d178ed235a0f7",
      "fileid": "d4e773e1d30283e45ee1703a1629ddbf9974f707a50667dde646f9c99ac3c278",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/anumbat/actions/runs/26876636584"
    }
  ]
}