{
  "_id": "6ae6f260818c9e3ef6dbb483",
  "Package": "PSPI",
  "Type": "Package",
  "Title": "Propensity Score Predictive Inference for Generalizability and\nTransportability",
  "Version": "1.4",
  "Date": "2026-09-30",
  "Author": "Jungang Zou [aut, cre], Qixuan Chen [aut], Joseph Schwartz\n[aut], Nathalie Moise [aut], Roderick Little [aut], Robert\nMcCulloch [ctb], Rodney Sparapani [ctb], Charles Spanbauer\n[ctb], Robert Gramacy [ctb], Jean-Sebastien Roy [ctb]",
  "Authors@R": "c(person(\"Jungang\", \"Zou\", role = c(\"aut\", \"cre\"), email = \"jungang.zou@gmail.com\"), person(\"Qixuan\", \"Chen\", role = \"aut\"), person(\"Joseph\", \"Schwartz\", role = \"aut\"), person(\"Nathalie\", \"Moise\", role = \"aut\"), person(\"Roderick\", \"Little\", role = \"aut\"), person(\"Robert\", \"McCulloch\", role = \"ctb\"), person(\"Rodney\", \"Sparapani\", role = \"ctb\"), person(\"Charles\", \"Spanbauer\", role = \"ctb\"), person(\"Robert\", \"Gramacy\", role = \"ctb\"), person(\"Jean-Sebastien\", \"Roy\", role = \"ctb\"))",
  "Maintainer": "Jungang Zou <jungang.zou@gmail.com>",
  "Description": "Provides a suite of Propensity Score Predictive Inference\n(PSPI) methods to generalize treatment effects in trials to\ntarget populations. The package includes an existing model\nBayesian Causal Forest (BCF) and four PSPI models (BCF-PS,\nFullBART, SplineBART, DSplineBART). These methods leverage\nBayesian Additive Regression Trees (BART) to adjust for\nhigh-dimensional covariates and nonlinear associations, while\nSplineBART and DSplineBART further use propensity score based\nsplines to address covariate shift between trial data and\ntarget population.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "GNU make",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-01 07:58:32 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-01 23:58:11 UTC",
  "RemoteUrl": "https://github.com/cran/PSPI",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
  "_user": "cran",
  "_type": "src",
  "_file": "PSPI_1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/a75f4e6cacecb4e36d6f8ee38ee2909946368fdffeb2e7abe33501c122fd6778",
  "_filesize": 279663,
  "_sha256": "a75f4e6cacecb4e36d6f8ee38ee2909946368fdffeb2e7abe33501c122fd6778",
  "_expires": "2027-02-09T08:03:42.000Z",
  "_created": "2026-11-01T07:58:32.000Z",
  "_published": "2026-11-01T08:03:44.673Z",
  "_upstream": "https://github.com/cran/PSPI",
  "_status": "success",
  "_maintainer": {
    "name": "Jungang Zou",
    "email": "jungang.zou@gmail.com",
    "login": "zjg540066169",
    "description": "I am a Ph.D. student of Biostatistics at Columbia University. ",
    "uuid": 18543895
  },
  "_jobs": [
    {
      "job": 124790042237,
      "time": 3751,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13075582237"
    },
    {
      "job": 124790042287,
      "time": 3775,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13075842578"
    },
    {
      "job": 124790042270,
      "time": 3748,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13075738131"
    },
    {
      "job": 124790042290,
      "time": 3766,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13076055048"
    },
    {
      "job": 124789348759,
      "time": 227,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13075762772"
    },
    {
      "job": 124790042224,
      "time": 3734,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13075398865"
    },
    {
      "job": 124790042241,
      "time": 3835,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13075508781"
    },
    {
      "job": 124790042239,
      "time": 3814,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13075254351"
    },
    {
      "job": 124790042227,
      "time": 3841,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13075597274"
    },
    {
      "job": 124790042222,
      "time": 3770,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13075711984"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764",
  "_commit": {
    "id": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
    "author": "Jungang Zou <jungang.zou@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.4\n",
    "time": 1790899091
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppDist",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "pg",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "arm",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mitml",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1",
      "date": "2025-12-01"
    },
    {
      "name": "1.2",
      "date": "2025-12-02"
    },
    {
      "name": "1.4",
      "date": "2026-10-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zjg540066169",
      "count": 3,
      "uuid": 18543895
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 425,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PSPI"
  },
  "_searchresults": 1,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PSPI.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/zjg540066169/pspi",
  "_realowner": "zjg540066169",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1",
      "date": "2025-12-01"
    },
    {
      "version": "1.2",
      "date": "2025-12-02"
    },
    {
      "version": "1.4",
      "date": "2026-10-02"
    }
  ],
  "_exports": [
    "in_trial",
    "invgumbel",
    "PSPI_fit",
    "PSPI_generalizability",
    "PSPI_predict",
    "sim_generalizability",
    "sim_trans"
  ],
  "_help": [
    {
      "page": "PSPI-package",
      "title": "Propensity Score Predictive Inference for Generalizability and Transportability",
      "topics": [
        "PSPI-package",
        "PSPI"
      ]
    },
    {
      "page": "in_trial",
      "title": "Identify which population rows are included in a trial subset",
      "topics": [
        "in_trial"
      ]
    },
    {
      "page": "invgumbel",
      "title": "Gumbel quantile transform",
      "topics": [
        "invgumbel"
      ]
    },
    {
      "page": "PSPI_fit",
      "title": "Fit a PSPI Model (Without Population Data)",
      "topics": [
        "PSPI_fit"
      ]
    },
    {
      "page": "PSPI_generalizability",
      "title": "Propensity Scores Predictive Inference for Generalizability and Transportability",
      "topics": [
        "PSPI_generalizability"
      ]
    },
    {
      "page": "PSPI_predict",
      "title": "Predict from a Fitted PSPI Model on Population Data",
      "topics": [
        "PSPI_predict"
      ]
    },
    {
      "page": "sim_generalizability",
      "title": "Simulate a superpopulation and a randomized trial under PSPI generalizability scenarios",
      "topics": [
        "sim_generalizability"
      ]
    },
    {
      "page": "sim_trans",
      "title": "Simulate a superpopulation, a randomized trial, and a target sample under PSPI transportability scenarios",
      "topics": [
        "sim_trans"
      ]
    },
    {
      "page": "summary.PSPI_generalizability",
      "title": "Summarize a fitted PSPI object",
      "topics": [
        "summary.PSPI_generalizability",
        "summary.PSPI_predict"
      ]
    }
  ],
  "_readme": "https://github.com/cran/PSPI/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arm",
    "boot",
    "cli",
    "coda",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "pg",
    "pillar",
    "pkgconfig",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "RcppDist",
    "RcppEigen",
    "RcppProgress",
    "Rdpack",
    "reformulas",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2,
  "_indexed": false,
  "_nocasepkg": "pspi",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://zjg540066169.r-universe.dev/PSPI",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4",
      "date": "2026-11-01T08:00:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/126b096ad1bac8d288ec4b64709ee5b845cddf90b4f84cc0f239594165efed89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4",
      "date": "2026-11-01T08:01:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/d9072fec11624e1c3e0abf32058c063ee65820fad135b07663b7ddec36614280",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4",
      "date": "2026-11-01T08:00:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/9569f9c74b4125bc1d8be82399bca9a2bb0614adb1cf52ede1734a152108faf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4",
      "date": "2026-11-01T08:01:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/9fc5f3cd96f496af9205cf860f0b5be0d96693221433c45eee7c04bd29da06e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4",
      "date": "2026-11-01T08:01:22.000Z",
      "arch": "emscripten",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/cc1af630ad415ba153280cab13f7dc04923c57c1bed417148782144f0288d85f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4",
      "date": "2026-11-01T08:01:52.000Z",
      "arch": "aarch64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/f853543ae455f6fccc0ab699f1ab9f2abe57918a65627f76cb11aeb5e656aefd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4",
      "date": "2026-11-01T08:00:16.000Z",
      "arch": "x86_64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/107a83b905d81e526c121f2a7a291590e3314666d67a793dc8a296952142eeea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4",
      "date": "2026-11-01T08:02:01.000Z",
      "arch": "aarch64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/c4c3e6dea050c9e54103f2f2bc050f93d09af6ac020018700ff7adc37c4c458c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.4",
      "date": "2026-11-01T08:00:17.000Z",
      "arch": "x86_64",
      "commit": "3e701a4b1794b7e796fc40618f6c7e92c7014dc4",
      "fileid": "https://r2.ropensci.org/468a556386d4dc3b7f85aa9fa27d5cc44d3d6683a53abe65ba71234b3e923d6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41286678764"
    }
  ]
}