{
  "_id": "6af1c062ef600c02c406ad37",
  "Package": "PTE",
  "Type": "Package",
  "Title": "Personalized Treatment Evaluator",
  "Version": "2.0.1",
  "Authors@R": "c(\nperson(\"Adam\", \"Kapelner\", email = \"kapelner@qc.cuny.edu\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-5985-6792\")),\nperson(\"Alina\", \"Levine\", role = \"aut\"),\nperson(\"Justin\", \"Bleich\", role = \"aut\"))",
  "Description": "Provides out-of-sample inference for evaluating whether a\npre-specified personalized treatment recommendation model\nimproves outcomes relative to business-as-usual treatment\nassignment. Supports continuous, binary, and survival endpoints\nfrom two-arm randomized trials, cross-validated performance\nestimates, confidence intervals and hypothesis tests based on\nthe bootstrap, and data-driven selection of the m-out-of-n\nbootstrap size. Default model-fitting kernels are implemented\nin C++ through 'Rcpp' for computational efficiency.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://kapelner.github.io/PTE/,\nhttps://kapelner.r-universe.dev/PTE,\nhttps://github.com/kapelner/PTE",
  "BugReports": "https://github.com/kapelner/PTE/issues",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown",
  "Repository": "https://kapelner.r-universe.dev",
  "Date/Publication": "2026-09-03 13:11:27 UTC",
  "RemoteUrl": "https://github.com/kapelner/PTE",
  "RemoteRef": "HEAD",
  "RemoteSha": "9bcf49ceafabd46043a6468cc9911d28a916db29",
  "RemoteSubdir": "PTE",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-09 12:22:19 UTC",
    "User": "root"
  },
  "Author": "Adam Kapelner [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-5985-6792>),\nAlina Levine [aut],\nJustin Bleich [aut]",
  "Maintainer": "Adam Kapelner <kapelner@qc.cuny.edu>",
  "_user": "kapelner",
  "_type": "src",
  "_file": "PTE_2.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b3c97e063f2d70744e8554cd8b6201245f3fe81731750847e2ee98b40b413ad0",
  "_filesize": 1211042,
  "_sha256": "b3c97e063f2d70744e8554cd8b6201245f3fe81731750847e2ee98b40b413ad0",
  "_expires": "2027-02-17T12:45:20.000Z",
  "_created": "2026-11-09T12:22:19.000Z",
  "_published": "2026-11-09T12:45:21.909Z",
  "_upstream": "https://github.com/kapelner/PTE",
  "_status": "success",
  "_maintainer": {
    "name": "Adam Kapelner",
    "email": "kapelner@qc.cuny.edu",
    "login": "kapelner",
    "orcid": "0000-0001-5985-6792",
    "description": "I'm an Assoc. Prof. of Data Science and Statistics at Hebrew University of Jerusalem, my PhD is in Statistics, my main research is in experimental design.",
    "uuid": 658168
  },
  "_jobs": [
    {
      "job": 129158216005,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13672498416"
    },
    {
      "job": 129158216286,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13673216285"
    },
    {
      "job": 129158216101,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13672449045"
    },
    {
      "job": 129158216084,
      "time": 248,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13671819409"
    },
    {
      "job": 129158216018,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13673377882"
    },
    {
      "job": 129158216096,
      "time": 504,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13674507637"
    },
    {
      "job": 129158216112,
      "time": 243,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13673468661"
    },
    {
      "job": 129158216207,
      "time": 509,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13674242185"
    },
    {
      "job": 129156236725,
      "time": 252,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13672063338"
    },
    {
      "job": 129158215849,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13672104319"
    },
    {
      "job": 129158216345,
      "time": 315,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13673895040"
    },
    {
      "job": 129158216166,
      "time": 285,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13673197266"
    },
    {
      "job": 129158216033,
      "time": 203,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13673266872"
    },
    {
      "job": 129158215996,
      "time": 284,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13672922659"
    },
    {
      "job": 129158216150,
      "time": 248,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13673660982"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655",
  "_commit": {
    "id": "9bcf49ceafabd46043a6468cc9911d28a916db29",
    "author": "Adam Kapelner <kapelner@gmail.com>",
    "committer": "Adam Kapelner <kapelner@gmail.com>",
    "message": "Bump GitHub Actions to Node 24 majors\n\nPages actions (configure-pages, upload-pages-artifact, deploy-pages) and\ncheckout moved to the releases that run on Node 24, removing the Node 20\ndeprecation annotations.\n\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01WzPCnhBGK5VapkXTbqDiSL\n",
    "time": 1788441087
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "RcppNumerical",
      "role": "LinkingTo"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "mirai",
      "role": "Suggests"
    }
  ],
  "_owner": "kapelner",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 5
    },
    {
      "week": "2026-31",
      "n": 2
    },
    {
      "week": "2026-36",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v2.0.1",
      "date": "2026-09-01"
    }
  ],
  "_topics": [
    "personalized medicine",
    "precision medicine",
    "personalized treatment recommendations",
    "individualized\ntreatment rules",
    "treatment regimes",
    "heterogeneous treatment\neffects",
    "treatment policy evaluation",
    "policy value estimation",
    "comparative effectiveness research",
    "causal inference",
    "randomized controlled trials",
    "clinical trials",
    "statistical\ninference",
    "bootstrap inference",
    "m-out-of-n bootstrap",
    "cross-validation",
    "survival analysis",
    "r package",
    "bootstrap",
    "causal-inference",
    "clinical-trials",
    "comparative-effectiveness",
    "heterogeneous-treatment-effects",
    "individualized-treatment-rules",
    "personalized-medicine",
    "personalized-treatment",
    "policy-evaluation",
    "precision-medicine",
    "randomized-controlled-trials",
    "statistical-inference",
    "survival-analysis",
    "treatment-policy-evaluation",
    "treatment-regimes",
    "cpp",
    "openmp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kapelner",
      "count": 40,
      "uuid": 658168
    },
    {
      "user": "alinalevine",
      "count": 2,
      "uuid": 17058209
    }
  ],
  "_userbio": {
    "uuid": 658168,
    "type": "user",
    "name": "Prof. Adam Kapelner",
    "followers": 126,
    "description": "I'm an Assoc. Prof. of Data Science and Statistics at Hebrew University of Jerusalem, my PhD is in Statistics, my main research is in experimental design."
  },
  "_downloads": {
    "count": 322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PTE"
  },
  "_mentions": 9,
  "_devurl": "https://github.com/kapelner/pte",
  "_pkgdown": "https://kapelner.github.io/PTE/",
  "_searchresults": 41,
  "_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.2",
  "_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/PTE.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/kapelner/pte",
  "_realowner": "kapelner",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-05-01"
    },
    {
      "version": "1.5",
      "date": "2017-06-12"
    },
    {
      "version": "1.6",
      "date": "2017-10-10"
    },
    {
      "version": "1.7",
      "date": "2019-01-31"
    },
    {
      "version": "2.0",
      "date": "2026-07-27"
    }
  ],
  "_exports": [
    "PTE_bootstrap_inference",
    "select_optimal_m_prop"
  ],
  "_datasets": [
    {
      "name": "continuous_example",
      "title": "Mock RCT data with a continuous endpoint",
      "object": "continuous_example",
      "file": "continuous_example.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "survival_example",
      "title": "Mock RCT data with a survival endpoint",
      "object": "survival_example",
      "file": "survival_example.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "continuous_example",
      "title": "Mock RCT data with a continuous endpoint",
      "topics": [
        "continuous_example"
      ]
    },
    {
      "page": "plot.PTE_bootstrap_results",
      "title": "Plots a summary of the bootstrap samples",
      "topics": [
        "plot.PTE_bootstrap_results"
      ]
    },
    {
      "page": "print.PTE_bootstrap_results",
      "title": "Prints a summary of the model to the console",
      "topics": [
        "print.PTE_bootstrap_results"
      ]
    },
    {
      "page": "PTE",
      "title": "Personalized Medicine Inference",
      "topics": [
        "PTE-package",
        "PTE"
      ]
    },
    {
      "page": "PTE_bootstrap_inference",
      "title": "Bootstrap inference for a prespecified personalization / recommendation model",
      "topics": [
        "PTE_bootstrap_inference"
      ]
    },
    {
      "page": "select_optimal_m_prop",
      "title": "Select an optimal m-out-of-n bootstrap resample size via the minimum volatility method",
      "topics": [
        "select_optimal_m_prop"
      ]
    },
    {
      "page": "summary.PTE_bootstrap_results",
      "title": "Prints a summary of the model to the console",
      "topics": [
        "summary.PTE_bootstrap_results"
      ]
    },
    {
      "page": "survival_example",
      "title": "Mock RCT data with a survival endpoint",
      "topics": [
        "survival_example"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kapelner/PTE/raw/HEAD/PTE/man/figures/logo.png",
  "_readme": "https://github.com/kapelner/PTE/raw/HEAD/PTE/index.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "doParallel",
    "farver",
    "foreach",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppNumerical",
    "rlang",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 4.743117625214742,
  "_indexed": true,
  "_nocasepkg": "pte",
  "_universes": [
    "kapelner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-09T12:25:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/41d08c834d2f983d98ad5d11fa358ba09034acf97fc18fa414469b39bd1ce307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-09T12:25:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/a45848518aa5cb818c94724fc6a4986419a17aef0c3b4ce398e437992344bfef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-09T12:25:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/70444f92a23e15b7264e71abdfbd0f471fa57507c68ab340fe054dcca9071383",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-09T12:25:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/6762ab5042d234084a9b7b40e88a6543b0b7f66eb55c844a6b4935a3c97bb29e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-09T12:39:01.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/3236fd4ef725f27f42e975b133c346ae35cc149000407573eecd55ee1d2032ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-09T12:39:44.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/a2a2a95ffc7065aae9e26209edc60eba35cd0b024658c0fa9e766ac3ec470482",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-09T12:41:28.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/22747cb3fd417c477123c0396da82e0c82cbbf28290e9a151c7dcae50bac27b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-09T12:40:21.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/60fef1198ba44bd7fd1a3cff5427700ec98cdb84f35e22e7e089ca026a69668c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-11-09T12:25:43.000Z",
      "arch": "emscripten",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/5dfd08c726ddaf73d63a3c4091f24e3b577f7c7febc8f34377415e7f8ce0a76f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-09T12:27:08.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/036033905e9201e8ec8c44b3e4e7de3625f1fbffdc6c9b6ffddf377a6c4fd40d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-09T12:24:54.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/ae0d106d69e09be06a99afcc2ace4e5a4f4ed12b59cd856d76c8164a32877079",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-09T12:24:49.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/a9ff52df001a5979e5d8dcc3844bd2b47ca39a368cf2d6b70a5416ee6b2904e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-09T12:26:41.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/403cb991bb0fef3cf1829f77a9d65b4de053d265f7826e16261d884ea4af670c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-09T12:24:57.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/5fc9622dd5add3634506142d193068eaa6e4bbc9a15ead3085ddb89981cac445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/42616051655"
    }
  ]
}