{
  "_id": "6aca707ffe5cc25786e8926b",
  "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-10-10 15:58:37 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/52b32f3f9eb6de913ec685130c1e4b1821797fac67390e2ac727b1959c9dfbd3",
  "_filesize": 1210871,
  "_sha256": "52b32f3f9eb6de913ec685130c1e4b1821797fac67390e2ac727b1959c9dfbd3",
  "_expires": "2027-01-18T17:06:06.000Z",
  "_created": "2026-10-10T15:58:37.000Z",
  "_published": "2026-10-10T17:06:07.669Z",
  "_buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114253322479,
      "time": 207,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11674898463"
    },
    {
      "job": 114253322534,
      "time": 275,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675252985"
    },
    {
      "job": 114253322525,
      "time": 207,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674858520"
    },
    {
      "job": 114253322419,
      "time": 286,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675008488"
    },
    {
      "job": 114253322527,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11676745775"
    },
    {
      "job": 114253322465,
      "time": 495,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11674973925"
    },
    {
      "job": 114253322448,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676028371"
    },
    {
      "job": 114253322494,
      "time": 367,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674778979"
    },
    {
      "job": 114252508425,
      "time": 252,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674193061"
    },
    {
      "job": 114253322493,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11675301308"
    },
    {
      "job": 114253322556,
      "time": 286,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11674694059"
    },
    {
      "job": 114253322542,
      "time": 280,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675168318"
    },
    {
      "job": 114253322546,
      "time": 243,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11674638913"
    },
    {
      "job": 114253322548,
      "time": 302,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674679064"
    },
    {
      "job": 114253322680,
      "time": 189,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674094417"
    }
  ],
  "_upstream": "https://github.com/kapelner/PTE",
  "_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
  },
  "_maintainer": {
    "name": "Adam Kapelner",
    "email": "kapelner@qc.cuny.edu",
    "login": "kapelner",
    "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,
    "orcid": "0000-0001-5985-6792"
  },
  "_distro": "resolute",
  "_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": 125,
    "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": 335,
    "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,
  "_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/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-10-10T16:01:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/17312f996692bf79c5d791418c2c989d8d1ebb9659e7cc1020aae10a196c987a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T16:02:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/9923229c164daaad6ba03b130f31e24e760962319b2b6bd3cf7cec44dadbb948",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T16:01:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/08100179906979d9c0e116aee699c89b8e3e78a523b2cb31360894ff5d174089",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T16:02:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/cae606ae20bc24f8f28c9039302c5044f38be6f1563a1d6188d5422a2422f277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T17:04:08.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/3c9d2ce312a716c8a3eadc12e2dd795c52d9a5ddd170d444a927d8dbf47e7f9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T16:04:37.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/72fe7d799c67d1d8666cd10e90f2a346444c0c36464b88539c055ba1571d28cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T17:01:37.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/b93330faafcb3de839b82b73b6e6bf0da0aecbd5d957ab4e5e51b42f88957a33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T16:03:11.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/98ec6b8905838e155cb69bbbccf2e0ddf36e17f5eaf7a747fee072c12e96ea49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-10-10T16:01:47.000Z",
      "arch": "emscripten",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/93004b07ea2c3dfc82a6f4933911ac3fae9210dcebc2183cef86ebd689292992",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T16:02:50.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/9ed160a266dec3d5bc9663ecdd2c3ca004a7ffd3f268fac020cbb434f0e417a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T16:01:08.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/e757b9fd4aea030b8eeac3278a07d0456ed67ae2b44b4c3656e2ee5690873228",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T16:01:15.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/4fd008b2d70e6bd49b573fb52823be3d33241e8f59f7911cf3f282c85088f8ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T16:02:58.000Z",
      "arch": "aarch64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/85b96982e8b935dd31dcdc49b16b5d6443b8536ef2a1ff9e4f359992cc570547",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T16:01:20.000Z",
      "arch": "x86_64",
      "commit": "9bcf49ceafabd46043a6468cc9911d28a916db29",
      "fileid": "https://r2.ropensci.org/d4949a43172a068c03d09887a1cabdc0e658e7194574318837d904d60e5d2aa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/38065588041"
    }
  ]
}