{
  "_id": "6a1ea4dbb25058d4daad8419",
  "Package": "aihuman",
  "Type": "Package",
  "Title": "Experimental Evaluation of Algorithm-Assisted Human\nDecision-Making",
  "Version": "1.0.1",
  "Date": "2025-5-2",
  "Authors@R": "c(\nperson(\"Sooahn\", \"Shin\", , \"sooahnshin@g.harvard.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6213-2197\")),\nperson(\"Zhichao\", \"Jiang\", email = \"jiangzhch7@mail.sysu.edu.cn\", role = c(\"aut\")),\nperson(\"Kosuke\", \"Imai\", email = \"imai@harvard.edu\", role = c(\"aut\")))",
  "Description": "Provides statistical methods for analyzing experimental\nevaluation of the causal impacts of algorithmic recommendations\non human decisions developed by Imai, Jiang, Greiner, Halen,\nand Shin (2023) <doi:10.1093/jrsssa/qnad010> and Ben-Michael,\nGreiner, Huang, Imai, Jiang, and Shin (2024)\n<doi:10.48550/arXiv.2403.12108>. The data used for this paper,\nand made available here, are interim, based on only half of the\nobservations in the study and (for those observations) only\nhalf of the study follow-up period. We use them only to\nillustrate methods, not to draw substantive conclusions.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/sooahnshin/aihuman",
  "BugReports": "https://github.com/sooahnshin/aihuman/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://sooahnshin.r-universe.dev",
  "Date/Publication": "2025-05-07 14:58:46 UTC",
  "RemoteUrl": "https://github.com/sooahnshin/aihuman",
  "RemoteRef": "HEAD",
  "RemoteSha": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 09:32:23 UTC",
    "User": "root"
  },
  "Author": "Sooahn Shin [aut, cre] (ORCID: <https://orcid.org/0000-0001-6213-2197>),\nZhichao Jiang [aut],\nKosuke Imai [aut]",
  "Maintainer": "Sooahn Shin <sooahnshin@g.harvard.edu>",
  "MD5sum": "a4dc73a2b15c3d90de6f364018b55f02",
  "_user": "sooahnshin",
  "_type": "src",
  "_file": "aihuman_1.0.1.tar.gz",
  "_fileid": "cf20045def4175dde0a2a29b14122a971f1bfda0952598718b90c32e190adf40",
  "_filesize": 2072505,
  "_sha256": "cf20045def4175dde0a2a29b14122a971f1bfda0952598718b90c32e190adf40",
  "_created": "2026-06-02T09:32:23.000Z",
  "_published": "2026-06-02T09:39:39.495Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79041399384,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354138074"
    },
    {
      "job": 79041399258,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354148870"
    },
    {
      "job": 79041399482,
      "time": 228,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354149391"
    },
    {
      "job": 79041399289,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354141434"
    },
    {
      "job": 79041399404,
      "time": 251,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354143531"
    },
    {
      "job": 79041399292,
      "time": 361,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354189001"
    },
    {
      "job": 79041399254,
      "time": 204,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354129345"
    },
    {
      "job": 79041399226,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354161700"
    },
    {
      "job": 79040418762,
      "time": 327,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354064708"
    },
    {
      "job": 79041399174,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354120372"
    },
    {
      "job": 79041399355,
      "time": 233,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354149120"
    },
    {
      "job": 79041399252,
      "time": 205,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354139223"
    },
    {
      "job": 79041399544,
      "time": 334,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354187507"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sooahnshin/aihuman",
  "_commit": {
    "id": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
    "author": "Sooahn Shin <sooahnshin@g.harvard.edu>",
    "committer": "Sooahn Shin <sooahnshin@g.harvard.edu>",
    "message": "update comments\n",
    "time": 1746629926
  },
  "_maintainer": {
    "name": "Sooahn Shin",
    "email": "sooahnshin@g.harvard.edu",
    "login": "sooahnshin",
    "description": "",
    "uuid": 13074920,
    "orcid": "0000-0001-6213-2197"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "metR",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "GLMMadaptive",
      "role": "Imports"
    },
    {
      "package": "gbm",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "sooahnshin",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "sooahnshin",
      "count": 46,
      "uuid": 13074920
    }
  ],
  "_userbio": {
    "uuid": 13074920,
    "type": "user",
    "name": "Sooahn Shin"
  },
  "_downloads": {
    "count": 605,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/aihuman"
  },
  "_devurl": "https://github.com/sooahnshin/aihuman",
  "_searchresults": 12,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/aihuman.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sooahnshin/aihuman",
  "_realowner": "sooahnshin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-03-02"
    },
    {
      "version": "1.0.0",
      "date": "2025-01-09"
    },
    {
      "version": "1.0.1",
      "date": "2025-05-07"
    }
  ],
  "_exports": [
    "A_llama",
    "AiEvalmcmc",
    "APCEsummary",
    "APCEsummaryipw",
    "BootstrapAPCEipw",
    "BootstrapAPCEipwRE",
    "BootstrapAPCEipwREparallel",
    "CalAPCE",
    "CalAPCEipw",
    "CalAPCEipwRE",
    "CalAPCEparallel",
    "CalDelta",
    "CalDIM",
    "CalDIMsubgroup",
    "CalFairness",
    "CalOptimalDecision",
    "CalPS",
    "compute_bounds_aipw",
    "compute_nuisance_functions",
    "compute_nuisance_functions_ai",
    "compute_stats",
    "compute_stats_agreement",
    "compute_stats_aipw",
    "compute_stats_subgroup",
    "crossfit",
    "g_legend",
    "nca_follow_policy",
    "nca_follow_policy_dec",
    "nca_provide_policy",
    "nca_provide_policy_dec",
    "nuis_func",
    "nuis_func_ai",
    "plot_agreement",
    "plot_diff_ai_aipw",
    "plot_diff_human",
    "plot_diff_human_aipw",
    "plot_diff_subgroup",
    "plot_preference",
    "PlotAPCE",
    "PlotDIMdecisions",
    "PlotDIMoutcomes",
    "PlotFairness",
    "PlotOptimalDecision",
    "PlotPS",
    "PlotSpilloverCRT",
    "PlotSpilloverCRTpower",
    "PlotStackedBar",
    "PlotStackedBarDMF",
    "PlotUtilityDiff",
    "PlotUtilityDiffCI",
    "SpilloverCRT",
    "SpilloverCRTpower",
    "table_agreement",
    "TestMonotonicity",
    "TestMonotonicityRE",
    "vis_agreement",
    "vis_diff_ai",
    "vis_diff_human",
    "vis_diff_subgroup",
    "vis_preference"
  ],
  "_datasets": [
    {
      "name": "FTAdata",
      "title": "Interim Dane data with failure to appear (FTA) as an outcome",
      "object": "FTAdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sex",
        "White",
        "SexWhite",
        "Age",
        "PendingChargeAtTimeOfOffense",
        "NCorNonViolentMisdemeanorCharge",
        "ViolentMisdemeanorCharge",
        "ViolentFelonyCharge",
        "NonViolentFelonyCharge",
        "PriorMisdemeanorConviction",
        "PriorFelonyConviction",
        "PriorViolentConviction",
        "PriorSentenceToIncarceration",
        "PriorFTAInPast2Years",
        "PriorFTAOlderThan2Years",
        "Staff_ReleaseRecommendation",
        "Z",
        "D",
        "Y"
      ],
      "rows": 1891,
      "table": true,
      "tojson": true
    },
    {
      "name": "HearingDate",
      "title": "Interim court event hearing date",
      "object": "HearingDate",
      "class": [
        "factor"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "hearingdate_synth",
      "title": "Synthetic court event hearing date",
      "object": "hearingdate_synth",
      "class": [
        "Date"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "NCAdata",
      "title": "Interim Dane data with new criminal activity (NCA) as an outcome",
      "object": "NCAdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sex",
        "White",
        "SexWhite",
        "Age",
        "PendingChargeAtTimeOfOffense",
        "NCorNonViolentMisdemeanorCharge",
        "ViolentMisdemeanorCharge",
        "ViolentFelonyCharge",
        "NonViolentFelonyCharge",
        "PriorMisdemeanorConviction",
        "PriorFelonyConviction",
        "PriorViolentConviction",
        "PriorSentenceToIncarceration",
        "PriorFTAInPast2Years",
        "PriorFTAOlderThan2Years",
        "Staff_ReleaseRecommendation",
        "Z",
        "D",
        "Y"
      ],
      "rows": 1891,
      "table": true,
      "tojson": true
    },
    {
      "name": "NVCAdata",
      "title": "Interim Dane data with new violent criminal activity (NVCA) as an outcome",
      "object": "NVCAdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Sex",
        "White",
        "SexWhite",
        "Age",
        "PendingChargeAtTimeOfOffense",
        "NCorNonViolentMisdemeanorCharge",
        "ViolentMisdemeanorCharge",
        "ViolentFelonyCharge",
        "NonViolentFelonyCharge",
        "PriorMisdemeanorConviction",
        "PriorFelonyConviction",
        "PriorViolentConviction",
        "PriorSentenceToIncarceration",
        "PriorFTAInPast2Years",
        "PriorFTAOlderThan2Years",
        "Staff_ReleaseRecommendation",
        "Z",
        "D",
        "Y"
      ],
      "rows": 1891,
      "table": true,
      "tojson": true
    },
    {
      "name": "psa_synth",
      "title": "Synthetic PSA data",
      "object": "psa_synth",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Z",
        "D",
        "FTAScore",
        "NCAScore",
        "NVCAFlag",
        "DMF"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "PSAdata",
      "title": "Interim Dane PSA data",
      "object": "PSAdata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Z",
        "D",
        "FTAScore",
        "NCAScore",
        "NVCAFlag",
        "DMF",
        "Sex",
        "White"
      ],
      "rows": 1891,
      "table": true,
      "tojson": true
    },
    {
      "name": "synth",
      "title": "Synthetic data",
      "object": "synth",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "D",
        "Z",
        "Sex",
        "White",
        "Age",
        "CurrentViolentOffense",
        "PendingChargeAtTimeOfOffense",
        "PriorMisdemeanorConviction",
        "PriorFelonyConviction",
        "PriorViolentConviction"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aihuman-package",
      "title": "Experimental Evaluation of Algorithm-Assisted Human Decision-Making",
      "topics": [
        "aihuman-package",
        "aihuman"
      ]
    },
    {
      "page": "AiEvalmcmc",
      "title": "Gibbs sampler for the main analysis",
      "topics": [
        "AiEvalmcmc"
      ]
    },
    {
      "page": "APCEsummary",
      "title": "Summary of APCE",
      "topics": [
        "APCEsummary"
      ]
    },
    {
      "page": "APCEsummaryipw",
      "title": "Summary of APCE for frequentist analysis",
      "topics": [
        "APCEsummaryipw"
      ]
    },
    {
      "page": "BootstrapAPCEipw",
      "title": "Bootstrap for estimating variance of APCE",
      "topics": [
        "BootstrapAPCEipw"
      ]
    },
    {
      "page": "BootstrapAPCEipwRE",
      "title": "Bootstrap for estimating variance of APCE with random effects",
      "topics": [
        "BootstrapAPCEipwRE"
      ]
    },
    {
      "page": "BootstrapAPCEipwREparallel",
      "title": "Bootstrap for estimating variance of APCE with random effects",
      "topics": [
        "BootstrapAPCEipwREparallel"
      ]
    },
    {
      "page": "CalAPCE",
      "title": "Calculate APCE",
      "topics": [
        "CalAPCE"
      ]
    },
    {
      "page": "CalAPCEipw",
      "title": "Compute APCE using frequentist analysis",
      "topics": [
        "CalAPCEipw"
      ]
    },
    {
      "page": "CalAPCEipwRE",
      "title": "Compute APCE using frequentist analysis with random effects",
      "topics": [
        "CalAPCEipwRE"
      ]
    },
    {
      "page": "CalAPCEparallel",
      "title": "Calculate APCE using parallel computing",
      "topics": [
        "CalAPCEparallel"
      ]
    },
    {
      "page": "CalDelta",
      "title": "Calculate the delta given the principal stratum",
      "topics": [
        "CalDelta"
      ]
    },
    {
      "page": "CalDIM",
      "title": "Calculate diff-in-means estimates",
      "topics": [
        "CalDIM"
      ]
    },
    {
      "page": "CalDIMsubgroup",
      "title": "Calculate diff-in-means estimates",
      "topics": [
        "CalDIMsubgroup"
      ]
    },
    {
      "page": "CalFairness",
      "title": "Calculate the principal fairness",
      "topics": [
        "CalFairness"
      ]
    },
    {
      "page": "CalOptimalDecision",
      "title": "Calculate optimal decision & utility",
      "topics": [
        "CalOptimalDecision"
      ]
    },
    {
      "page": "CalPS",
      "title": "Calculate the proportion of principal strata (R)",
      "topics": [
        "CalPS"
      ]
    },
    {
      "page": "compute_bounds_aipw",
      "title": "Compute Risk (AI v. Human)",
      "topics": [
        "compute_bounds_aipw"
      ]
    },
    {
      "page": "compute_nuisance_functions",
      "title": "Fit outcome/decision and propensity score models",
      "topics": [
        "compute_nuisance_functions"
      ]
    },
    {
      "page": "compute_nuisance_functions_ai",
      "title": "Fit outcome/decision and propensity score models conditioning on the AI recommendation",
      "topics": [
        "compute_nuisance_functions_ai"
      ]
    },
    {
      "page": "compute_stats",
      "title": "Compute Risk (Human+AI v. Human)",
      "topics": [
        "compute_stats"
      ]
    },
    {
      "page": "compute_stats_agreement",
      "title": "Agreement of Human and AI Decision Makers",
      "topics": [
        "compute_stats_agreement"
      ]
    },
    {
      "page": "compute_stats_aipw",
      "title": "Compute Risk (Human+AI v. Human)",
      "topics": [
        "compute_stats_aipw"
      ]
    },
    {
      "page": "compute_stats_subgroup",
      "title": "Compute Risk (Human+AI v. Human) for a Subgroup Defined by AI Recommendation",
      "topics": [
        "compute_stats_subgroup"
      ]
    },
    {
      "page": "crossfit",
      "title": "Crossfitting for nuisance functions",
      "topics": [
        "crossfit",
        "gbm"
      ]
    },
    {
      "page": "FTAdata",
      "title": "Interim Dane data with failure to appear (FTA) as an outcome",
      "topics": [
        "FTAdata"
      ]
    },
    {
      "page": "g_legend",
      "title": "Pulling ggplot legend",
      "topics": [
        "g_legend"
      ]
    },
    {
      "page": "HearingDate",
      "title": "Interim court event hearing date",
      "topics": [
        "HearingDate"
      ]
    },
    {
      "page": "hearingdate_synth",
      "title": "Synthetic court event hearing date",
      "topics": [
        "hearingdate_synth"
      ]
    },
    {
      "page": "NCAdata",
      "title": "Interim Dane data with new criminal activity (NCA) as an outcome",
      "topics": [
        "NCAdata"
      ]
    },
    {
      "page": "NVCAdata",
      "title": "Interim Dane data with new violent criminal activity (NVCA) as an outcome",
      "topics": [
        "NVCAdata"
      ]
    },
    {
      "page": "plot_agreement",
      "title": "Visualize Agreement",
      "topics": [
        "plot_agreement"
      ]
    },
    {
      "page": "plot_diff_ai_aipw",
      "title": "Visualize Difference in Risk (AI v. Human)",
      "topics": [
        "plot_diff_ai_aipw"
      ]
    },
    {
      "page": "plot_diff_human",
      "title": "Visualize Difference in Risk (Human+AI v. Human)",
      "topics": [
        "plot_diff_human"
      ]
    },
    {
      "page": "plot_diff_human_aipw",
      "title": "Visualize Difference in Risk (Human+AI v. Human)",
      "topics": [
        "plot_diff_human_aipw"
      ]
    },
    {
      "page": "plot_diff_subgroup",
      "title": "Visualize Difference in Risk (Human+AI v. Human) for a Subgroup Defined by AI Recommendation",
      "topics": [
        "plot_diff_subgroup"
      ]
    },
    {
      "page": "plot_preference",
      "title": "Visualize Preference",
      "topics": [
        "plot_preference"
      ]
    },
    {
      "page": "PlotAPCE",
      "title": "Plot APCE",
      "topics": [
        "PlotAPCE"
      ]
    },
    {
      "page": "PlotDIMdecisions",
      "title": "Plot diff-in-means estimates",
      "topics": [
        "PlotDIMdecisions"
      ]
    },
    {
      "page": "PlotDIMoutcomes",
      "title": "Plot diff-in-means estimates",
      "topics": [
        "PlotDIMoutcomes"
      ]
    },
    {
      "page": "PlotFairness",
      "title": "Plot the principal fairness",
      "topics": [
        "PlotFairness"
      ]
    },
    {
      "page": "PlotOptimalDecision",
      "title": "Plot optimal decision",
      "topics": [
        "PlotOptimalDecision"
      ]
    },
    {
      "page": "PlotPS",
      "title": "Plot the proportion of principal strata (R)",
      "topics": [
        "PlotPS"
      ]
    },
    {
      "page": "PlotSpilloverCRT",
      "title": "Plot conditional randomization test",
      "topics": [
        "PlotSpilloverCRT"
      ]
    },
    {
      "page": "PlotSpilloverCRTpower",
      "title": "Plot power analysis of conditional randomization test",
      "topics": [
        "PlotSpilloverCRTpower"
      ]
    },
    {
      "page": "PlotStackedBar",
      "title": "Stacked barplot for the distribution of the decision given psa",
      "topics": [
        "PlotStackedBar"
      ]
    },
    {
      "page": "PlotStackedBarDMF",
      "title": "Stacked barplot for the distribution of the decision given DMF recommendation",
      "topics": [
        "PlotStackedBarDMF"
      ]
    },
    {
      "page": "PlotUtilityDiff",
      "title": "Plot utility difference",
      "topics": [
        "PlotUtilityDiff"
      ]
    },
    {
      "page": "PlotUtilityDiffCI",
      "title": "Plot utility difference with 95% confidence interval",
      "topics": [
        "PlotUtilityDiffCI"
      ]
    },
    {
      "page": "psa_synth",
      "title": "Synthetic PSA data",
      "topics": [
        "psa_synth"
      ]
    },
    {
      "page": "PSAdata",
      "title": "Interim Dane PSA data",
      "topics": [
        "PSAdata"
      ]
    },
    {
      "page": "SpilloverCRT",
      "title": "Conduct conditional randomization test",
      "topics": [
        "SpilloverCRT"
      ]
    },
    {
      "page": "SpilloverCRTpower",
      "title": "Conduct power analysis of conditional randomization test",
      "topics": [
        "SpilloverCRTpower"
      ]
    },
    {
      "page": "synth",
      "title": "Synthetic data",
      "topics": [
        "synth"
      ]
    },
    {
      "page": "table_agreement",
      "title": "Table of Agreement",
      "topics": [
        "table_agreement"
      ]
    },
    {
      "page": "TestMonotonicity",
      "title": "Test monotonicity",
      "topics": [
        "TestMonotonicity"
      ]
    },
    {
      "page": "TestMonotonicityRE",
      "title": "Test monotonicity with random effects",
      "topics": [
        "TestMonotonicityRE"
      ]
    }
  ],
  "_readme": "https://github.com/sooahnshin/aihuman/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "cachem",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "data.table",
    "DBI",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "farver",
    "fastmap",
    "forcats",
    "foreach",
    "Formula",
    "formula.tools",
    "gbm",
    "generics",
    "ggplot2",
    "GLMMadaptive",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "metR",
    "nlme",
    "operator.tools",
    "pillar",
    "pkgconfig",
    "plyr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "ability.Rmd",
      "filename": "ability.html",
      "title": "Replication Codes for Does AI help humans make better decisions?",
      "author": "Sooahn Shin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data Preparation & Descriptive Analysis",
        "Nuisance functions",
        "Contingency table of human decisions and PSA recommendations",
        "Agreement between human decisions and PSA recommendations",
        "Human+AI v. Human comparison",
        "How the human overrides the AI recommendation?",
        "AI v. Human comparison",
        "Alternative AI Recommendations",
        "Different loss functions",
        "Policy Learning",
        "Helper functions",
        "Whether to provide PSA",
        "Whether to follow PSA"
      ],
      "created": "2024-12-05 23:30:49",
      "modified": "2024-12-23 10:40:01",
      "commits": 3
    },
    {
      "source": "aihuman.Rmd",
      "filename": "aihuman.html",
      "title": "Replication Codes for Experimental Evaluation of Algorithm-Assisted Human Decision-Making: Application to Pretrial Public Safety Assessment",
      "author": "Sooahn Shin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Synthetic data",
        "Data 1: synth",
        "Data 2: psa_synth",
        "Data 3: hearingdate_synth",
        "Interim data",
        "Descriptive statistics",
        "Distribution of the judge's decisions (Figure 1)",
        "Replication codes",
        "Intention to treat effects of PSA Provision (Figure 2)",
        "Main analysis: Average Principal Causal Effects (APCE)",
        "AiEvalmcmc()",
        "CalAPCE() or CalAPCEparallel()",
        "APCEsummary()",
        "PlotAPCE() (Figure 4)",
        "Principal strata (Figure 3)",
        "Principal fairness (Figure 5)",
        "Optimal decision (Figure 6)",
        "Comparison between the judge's decisions and DMF recommendations (Figure 7)",
        "Test of spillover effects: Conditional Randomization Test (CRT)",
        "Frequentist analysis",
        "Sensitivity analysis"
      ],
      "created": "2023-02-25 04:47:37",
      "modified": "2024-12-05 23:30:49",
      "commits": 2
    }
  ],
  "_score": 4.380211241711606,
  "_indexed": true,
  "_nocasepkg": "aihuman",
  "_universes": [
    "sooahnshin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "7266d73e94adcb831ab8bf4512554d1e15f691ed5a87e0313642416ecc8bb9b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "bf599027e9a68235dd2d1c60a9decc2e0856c445d63350798cd7c6ec3dc1638a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "38a590dc83beaf34a2516b8276ba9b1f4cf3832125c4dcdd87469de587ef8c46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "0feb122990337c4dda21444ab4ef69590245eddb644679f38a9f015e74ca9063",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:31.000Z",
      "arch": "aarch64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "519a21c69196d9acb599363739090749fbfcf00d2fc7d2d17cec9f2bf47983ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T09:36:55.000Z",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "870b5b01eceb25c8dfde18d2115c478b20f663549f4958861a951b6ee624de2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:09.000Z",
      "arch": "aarch64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "d93904671e4fbeab982a8e40c6b37de21c5900e99fe578d799f859846d65cf9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:47.000Z",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "101dbd8b0a6c5aa5d3441637ac1cb8b7e4b142a14199f5fd45efa8e8166c4ae9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-02T09:35:25.000Z",
      "arch": "emscripten",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "80fc3019a4d9bb3395ed8b0f04d74c2eddcab8c1a90c7fd91e973c4ceef772fb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T09:34:38.000Z",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "af6245e167c32c985177e7a7627afa3491724f341ecdc5f57f7a4ad06a893d4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T09:34:19.000Z",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "755057ac52797bd2509048b7c0ea5d799a8fb0e31bddbc1b57469ae144117ed0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T09:36:01.000Z",
      "arch": "x86_64",
      "commit": "9d7857b12052ca90c7e37b95a364c1a9807a6a39",
      "fileid": "e5e9c912f6572019c7c1c67f6a61bae6ba69cfc0f9ae051daf5bc634a0b48aab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sooahnshin/actions/runs/26810919747"
    }
  ]
}