{
  "_id": "6ae5ec1295ca2370cc8d2167",
  "Package": "BSET",
  "Type": "Package",
  "Title": "A Bayesian Surrogate Evaluation Test",
  "Version": "1.0",
  "Date": "2026-05-15",
  "Authors@R": "c(\nperson(\"Pietro\", \"Carlotti\", role = c(\"aut\", \"cre\"),\nemail = \"pietro.carlotti@utexas.edu\"),\nperson(\"Layla\", \"Parast\", role = \"aut\",\nemail = \"parast@austin.utexas.edu\"))",
  "Description": "An implementation of the Bayesian Surrogate Evaluation\nTest (BSET) for assessing the validity of surrogate markers in\nclinical trials. Provides hypothesis testing tools to evaluate\nwhether a surrogate can reliably estimate the causal effect of\na treatment on a primary outcome. Implements the\nimputation-based Bayesian methodology of Carlotti and Parast\n(2026) <doi:10.48550/arXiv.2603.14381>, extending the\nfrequentist rank-based approach of Parast et al. (2024)\n<doi:10.1093/biomtc/ujad035>. Addresses key limitations of the\nfrequentist method, including the lack of causal\ninterpretability and the inability to adjust for covariates in\nthe estimation process.",
  "License": "GPL-3",
  "URL": "https://pietrocarlotti.github.io/BSET/,\nhttps://github.com/PietroCarlotti/BSET",
  "BugReports": "https://github.com/PietroCarlotti/BSET/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "RdMacros": "Rdpack",
  "VignetteBuilder": "knitr, bookdown",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://pietrocarlotti.r-universe.dev",
  "Date/Publication": "2026-10-01 20:03:43 UTC",
  "RemoteUrl": "https://github.com/pietrocarlotti/bset",
  "RemoteRef": "HEAD",
  "RemoteSha": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-31 12:20:43 UTC",
    "User": "root"
  },
  "Author": "Pietro Carlotti [aut, cre],\nLayla Parast [aut]",
  "Maintainer": "Pietro Carlotti <pietro.carlotti@utexas.edu>",
  "_user": "pietrocarlotti",
  "_type": "src",
  "_file": "BSET_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3adbdf057583a4d5298ad477eaf5bff625ee6aa87a0ede45227c31b6eeaa2716",
  "_filesize": 870318,
  "_sha256": "3adbdf057583a4d5298ad477eaf5bff625ee6aa87a0ede45227c31b6eeaa2716",
  "_expires": "2027-02-08T13:24:32.000Z",
  "_created": "2026-10-31T12:20:43.000Z",
  "_published": "2026-10-31T13:24:33.965Z",
  "_upstream": "https://github.com/pietrocarlotti/bset",
  "_status": "success",
  "_maintainer": {
    "name": "Pietro Carlotti",
    "email": "pietro.carlotti@utexas.edu"
  },
  "_jobs": [
    {
      "job": 124535762696,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13042387396"
    },
    {
      "job": 124535762740,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13042169132"
    },
    {
      "job": 124535762744,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13044501736"
    },
    {
      "job": 124535762716,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13043953459"
    },
    {
      "job": 124535013888,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13042054062"
    },
    {
      "job": 124535762692,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13043040404"
    },
    {
      "job": 124535762838,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13043005438"
    },
    {
      "job": 124535762759,
      "time": 142,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13042437169"
    },
    {
      "job": 124535762769,
      "time": 107,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13043030349"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714",
  "_commit": {
    "id": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
    "author": "PietroCarlotti <91976479+PietroCarlotti@users.noreply.github.com>",
    "committer": "PietroCarlotti <91976479+PietroCarlotti@users.noreply.github.com>",
    "message": "Rebuild manuscript PDFs with resolved cross-references\n\nCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\n",
    "time": 1790885023
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "SurrogateRank",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    }
  ],
  "_owner": "pietrocarlotti",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 51
    },
    {
      "week": "2026-16",
      "n": 22
    },
    {
      "week": "2026-17",
      "n": 58
    },
    {
      "week": "2026-18",
      "n": 24
    },
    {
      "week": "2026-19",
      "n": 40
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "pietrocarlotti",
      "count": 213,
      "uuid": 91976479
    }
  ],
  "_userbio": {
    "uuid": 91976479,
    "type": "user",
    "name": "PietroCarlotti",
    "followers": 0
  },
  "_downloads": {
    "count": 294,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BSET"
  },
  "_devurl": "https://github.com/pietrocarlotti/bset",
  "_pkgdown": "https://pietrocarlotti.github.io/BSET/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BSET.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/pietrocarlotti/bset",
  "_realowner": "pietrocarlotti",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-05-22"
    }
  ],
  "_exports": [
    "Bayesian_test",
    "BSET",
    "compute_BF_distribution",
    "compute_delta",
    "compute_estimands_Carlotti_and_Parast_2026",
    "compute_estimands_Parast_et_al_2024",
    "compute_theta",
    "compute_V_S_star",
    "DGP_no_X",
    "DGP_X_binary",
    "DGP_X_Gaussian",
    "frequentist_test"
  ],
  "_datasets": [
    {
      "name": "Carlotti_and_Parast_2026_simulations_grid",
      "title": "Simulation grid for Carlotti and Parast (2026)",
      "object": "Carlotti_and_Parast_2026_simulations_grid",
      "class": [
        "data.frame"
      ],
      "fields": [
        "setting",
        "simulation",
        "Bayesian_epsilon",
        "Bayesian_CI_upper",
        "Bayesian_coverage",
        "Bayesian_power",
        "frequentist_epsilon",
        "frequentist_CI_upper",
        "frequentist_coverage",
        "frequentist_power",
        "n_sample",
        "n_chains",
        "n_iterations",
        "n_simulations",
        "BF_alternative",
        "timestamp",
        "seed"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "estimands_Carlotti_and_Parast_2026",
      "title": "True estimands for Carlotti and Parast (2026)",
      "object": "estimands_Carlotti_and_Parast_2026",
      "class": [
        "data.frame"
      ],
      "fields": [
        "setting",
        "U_Y_MC",
        "U_S_MC",
        "delta_MC",
        "V_Y_MC",
        "V_S_MC",
        "theta_MC"
      ],
      "rows": 2,
      "table": true,
      "tojson": true
    },
    {
      "name": "estimands_Parast_et_al_2024",
      "title": "True estimands for Parast et al. (2024)",
      "object": "estimands_Parast_et_al_2024",
      "class": [
        "data.frame"
      ],
      "fields": [
        "setting",
        "U_Y_MC",
        "U_S_MC",
        "delta_MC",
        "V_Y_MC",
        "V_S_MC",
        "theta_MC"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "Parast_et_al_2024_simulations_grid",
      "title": "Simulation grid for Parast et al. (2024)",
      "object": "Parast_et_al_2024_simulations_grid",
      "class": [
        "data.frame"
      ],
      "fields": [
        "setting",
        "simulation",
        "Bayesian_epsilon",
        "Bayesian_CI_upper",
        "Bayesian_coverage",
        "Bayesian_power",
        "frequentist_epsilon",
        "frequentist_CI_upper",
        "frequentist_coverage",
        "frequentist_power",
        "n_sample",
        "n_chains",
        "n_iterations",
        "n_simulations",
        "BF_alternative",
        "timestamp",
        "seed"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Bayesian_test",
      "title": "Bayesian Test from Carlotti and Parast (2026)",
      "topics": [
        "Bayesian_test"
      ]
    },
    {
      "page": "BSET",
      "title": "Bayesian Surrogate Evaluation Test from Carlotti and Parast (2026)",
      "topics": [
        "BSET"
      ]
    },
    {
      "page": "Carlotti_and_Parast_2026_simulations_grid",
      "title": "Simulation grid for Carlotti and Parast (2026)",
      "topics": [
        "Carlotti_and_Parast_2026_simulations_grid"
      ]
    },
    {
      "page": "compute_BF_distribution",
      "title": "Compute the Distribution of the Bayes Factor from Carlotti and Parast (2026)",
      "topics": [
        "compute_BF_distribution"
      ]
    },
    {
      "page": "compute_delta",
      "title": "Monte Carlo Computation of the Parameter delta from Parast et al. (2024)",
      "topics": [
        "compute_delta"
      ]
    },
    {
      "page": "compute_estimands_Carlotti_and_Parast_2026",
      "title": "Monte Carlo Computation of the Estimands for the Simulation Study in Carlotti and Parast (2026)",
      "topics": [
        "compute_estimands_Carlotti_and_Parast_2026"
      ]
    },
    {
      "page": "compute_estimands_Parast_et_al_2024",
      "title": "Monte Carlo Computation of the Estimands for the Simulation Study in Parast et al. (2024)",
      "topics": [
        "compute_estimands_Parast_et_al_2024"
      ]
    },
    {
      "page": "compute_theta",
      "title": "Monte Carlo Computation of the Parameter theta from Carlotti and Parast (2026)",
      "topics": [
        "compute_theta"
      ]
    },
    {
      "page": "compute_V_S_star",
      "title": "Compute v_S from Carlotti and Parast (2026)",
      "topics": [
        "compute_V_S_star"
      ]
    },
    {
      "page": "DGP_no_X",
      "title": "Data Generating Process without Baseline Covariates",
      "topics": [
        "DGP_no_X"
      ]
    },
    {
      "page": "DGP_X_binary",
      "title": "Data Generating Process with a Binary Covariate",
      "topics": [
        "DGP_X_binary"
      ]
    },
    {
      "page": "DGP_X_Gaussian",
      "title": "Data Generating Process with a Gaussian Covariate",
      "topics": [
        "DGP_X_Gaussian"
      ]
    },
    {
      "page": "estimands_Carlotti_and_Parast_2026",
      "title": "True estimands for Carlotti and Parast (2026)",
      "topics": [
        "estimands_Carlotti_and_Parast_2026"
      ]
    },
    {
      "page": "estimands_Parast_et_al_2024",
      "title": "True estimands for Parast et al. (2024)",
      "topics": [
        "estimands_Parast_et_al_2024"
      ]
    },
    {
      "page": "frequentist_test",
      "title": "Frequentist Test from Parast et al. (2024)",
      "topics": [
        "frequentist_test"
      ]
    },
    {
      "page": "Parast_et_al_2024_simulations_grid",
      "title": "Simulation grid for Parast et al. (2024)",
      "topics": [
        "Parast_et_al_2024_simulations_grid"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pietrocarlotti/bset/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pietrocarlotti/bset/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "admisc",
    "aplot",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "codetools",
    "colorspace",
    "ComplexUpset",
    "cowplot",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "forcats",
    "fs",
    "future",
    "generics",
    "ggfun",
    "ggplot2",
    "ggplotify",
    "ggVennDiagram",
    "globals",
    "glue",
    "gridExtra",
    "gridGraphics",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "MASS",
    "matrixStats",
    "mvtnorm",
    "numDeriv",
    "otel",
    "parallelly",
    "patchwork",
    "pbmcapply",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "rlang",
    "rstan",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "SurrogateRank",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "venn",
    "viridisLite",
    "withr",
    "yulab.utils"
  ],
  "_vignettes": [
    {
      "source": "BSET_tutorial.Rmd",
      "filename": "BSET_tutorial.html",
      "title": "BSET Tutorial",
      "author": "Pietro Carlotti",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Quick Start",
        "Computing the true values of the discrepancy parameters",
        "Computing the validation threshold",
        "Running the BSET procedure",
        "BSET with no covariates",
        "BSET with covariates",
        "References"
      ],
      "created": "2026-04-09 15:09:37",
      "modified": "2026-05-04 19:46:52",
      "commits": 22
    }
  ],
  "_score": 4.698970004336019,
  "_indexed": true,
  "_nocasepkg": "bset",
  "_universes": [
    "pietrocarlotti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-31T12:23:10.000Z",
      "distro": "resolute",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/e08be0d8db2c22251d2a9e40d96bc98c1181d754873e756b419c371468c75762",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-31T12:22:54.000Z",
      "distro": "resolute",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/6011fcb645c3126af43e71e6bc0d59b409bd9a8e7097bf09795a598a4e9b70e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-31T13:23:04.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/774e38216e5b7974f563affd88e0f0f511144a6d86d8bb6c097d168061afd134",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-31T13:22:00.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/75b48f8c374a84aa5c6cb62bc905faf11952cb8a783fe231a92af64b473bcbca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-31T12:23:34.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/6f935dd203f6b05304f02435bd8d8c9472b307aabc60620db9e60bd21d355c86",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-31T12:22:16.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/7a7b9b124bb65cd6bbd74cc7891d8b0e907feca5f087d07010973eda093b956b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-31T12:22:51.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/7e3f0202febe0b4f86fb91ff7d761c38a62d10188d1c327d632fe3fb78d8500e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-31T12:22:13.000Z",
      "commit": "4d026834db1e5af52d125ca5bc0d719315ad06d3",
      "fileid": "https://r2.ropensci.org/40a707a896efed6ca7f040e144470e9f5a64ec3b60ad7b1f054be18d8ffa15ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietrocarlotti/actions/runs/41200413714"
    }
  ]
}