{
  "_id": "6a1f1973b401979e7341ef7a",
  "Package": "bpp",
  "Type": "Package",
  "Title": "Computations Around Bayesian Predictive Power",
  "Version": "1.0.6",
  "Date": "2025-02-21",
  "Authors@R": "c(person(given = \"Kaspar\", family = \"Rufibach\", role = c(\"aut\", \"cre\"), email = \"kaspar.rufibach@gmail.com\"),\nperson(given = \"Paul\", family = \"Jordan\", role = \"aut\"),\nperson(given = \"Markus\", family = \"Abt\", role = \"aut\"))",
  "VignetteBuilder": "knitr",
  "Description": "Implements functions to update Bayesian Predictive Power\nComputations after not stopping a clinical trial at an interim\nanalysis. Such an interim analysis can either be blinded or\nunblinded. Code is provided for Normally distributed endpoints\nwith known variance, with a prominent example being the hazard\nratio.",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 05:21:29 UTC",
    "User": "root"
  },
  "Author": "Kaspar Rufibach [aut, cre], Paul Jordan [aut], Markus Abt [aut]",
  "Maintainer": "Kaspar Rufibach <kaspar.rufibach@gmail.com>",
  "Repository": "https://numbersman77.r-universe.dev",
  "Date/Publication": "2025-02-22 11:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/bpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
  "MD5sum": "bc736468f3d731f9fb0922e7f602b8c4",
  "_user": "numbersman77",
  "_type": "src",
  "_file": "bpp_1.0.6.tar.gz",
  "_fileid": "b833345296bb7b88689a75c8fc8b1596c39f6d8affe3e6b776d4fd10342cd77c",
  "_filesize": 1016301,
  "_sha256": "b833345296bb7b88689a75c8fc8b1596c39f6d8affe3e6b776d4fd10342cd77c",
  "_created": "2026-05-17T05:21:29.000Z",
  "_published": "2026-06-02T17:57:07.535Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79137417661,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039582493"
    },
    {
      "job": 79137417408,
      "time": 94,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039580332"
    },
    {
      "job": 79137417810,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039579797"
    },
    {
      "job": 79137417202,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039579299"
    },
    {
      "job": 79137416513,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039569800"
    },
    {
      "job": 79137416855,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365753031"
    },
    {
      "job": 79137417512,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039579032"
    },
    {
      "job": 79137418124,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039579088"
    },
    {
      "job": 79137417931,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039577537"
    }
  ],
  "_buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bpp",
  "_commit": {
    "id": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
    "author": "Kaspar Rufibach <kaspar.rufibach@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.6\n",
    "time": 1740222602
  },
  "_maintainer": {
    "name": "Kaspar Rufibach",
    "email": "kaspar.rufibach@gmail.com",
    "login": "numbersman77",
    "twitter": "@numbersman77",
    "description": "Trained as a mathematical statistician, working in biostatistical roles for >20 years.",
    "uuid": 44927366
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "mvtnorm",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "numbersman77",
      "count": 6,
      "uuid": 44927366
    }
  ],
  "_userbio": {
    "uuid": 44927366,
    "type": "user",
    "name": "Kaspar Rufibach",
    "description": "Trained as a mathematical statistician, working in biostatistical roles for >20 years."
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bpp"
  },
  "_mentions": 7,
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bpp.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "numbersman77",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2016-12-13"
    },
    {
      "version": "1.0.1",
      "date": "2021-05-02"
    },
    {
      "version": "1.0.2",
      "date": "2021-05-20"
    },
    {
      "version": "1.0.3",
      "date": "2021-11-30"
    },
    {
      "version": "1.0.4",
      "date": "2022-01-13"
    },
    {
      "version": "1.0.6",
      "date": "2025-02-22"
    }
  ],
  "_exports": [
    "basicPlot",
    "bpp",
    "bpp_1interim",
    "bpp_1interim_binary",
    "bpp_1interim_continuous",
    "bpp_1interim_t2e",
    "bpp_2interim",
    "bpp_binary",
    "bpp_continuous",
    "bpp_t2e",
    "dUniformNormalTails",
    "estimate_posterior",
    "estimate_posterior_nominator",
    "estimate_toIntegrate",
    "FlatNormalPosterior",
    "interval_posterior_nominator",
    "interval_posterior_nominator2",
    "interval_toIntegrate",
    "interval_toIntegrate2",
    "NormalNormalPosterior",
    "post_power",
    "pUniformNormalTails"
  ],
  "_help": [
    {
      "page": "bpp-package",
      "title": "Tools for Computation of Bayesian Predictive Power for a Normally Distributed Endpoint with Known Variance",
      "topics": [
        "bpp-package",
        "ddcp",
        "pts"
      ]
    },
    {
      "page": "basicPlot",
      "title": "Basic plot functions to illustrate prior and posterior densities when considering a time-to-event endpoint",
      "topics": [
        "basicPlot"
      ]
    },
    {
      "page": "bpp",
      "title": "Bayesian Predictive Power (BPP) for Normally Distributed Endpoint",
      "topics": [
        "bpp"
      ]
    },
    {
      "page": "bpp_1interim",
      "title": "Bayesian Predictive Power (BPP) for Normally Distributed Endpoint",
      "topics": [
        "bpp_1interim"
      ]
    },
    {
      "page": "bpp_1interim_binary",
      "title": "Bayesian Predictive Power (BPP) for Binary Endpoint",
      "topics": [
        "bpp_1interim_binary"
      ]
    },
    {
      "page": "bpp_1interim_continuous",
      "title": "Bayesian Predictive Power (BPP) for Continuous Endpoint",
      "topics": [
        "bpp_1interim_continuous"
      ]
    },
    {
      "page": "bpp_1interim_t2e",
      "title": "Bayesian Predictive Power (BPP) for Time-to-Event Endpoint",
      "topics": [
        "bpp_1interim_t2e"
      ]
    },
    {
      "page": "bpp_2interim",
      "title": "Bayesian Predictive Power (BPP) for Normally Distributed Endpoint",
      "topics": [
        "bpp_2interim"
      ]
    },
    {
      "page": "bpp_binary",
      "title": "Bayesian Predictive Power (BPP) for Binary Endpoint",
      "topics": [
        "bpp_binary"
      ]
    },
    {
      "page": "bpp_continuous",
      "title": "Bayesian Predictive Power (BPP) for Continuous Endpoint",
      "topics": [
        "bpp_continuous"
      ]
    },
    {
      "page": "bpp_t2e",
      "title": "Bayesian Predictive Power (BPP) for Time-To-Event Endpoint",
      "topics": [
        "bpp_t2e"
      ]
    },
    {
      "page": "estimate_posterior",
      "title": "Posterior density conditional on known interim result",
      "topics": [
        "estimate_posterior"
      ]
    },
    {
      "page": "estimate_posterior_nominator",
      "title": "Posterior density conditional on interim result is proportional to the value of this function",
      "topics": [
        "estimate_posterior_nominator"
      ]
    },
    {
      "page": "estimate_toIntegrate",
      "title": "Product of posterior density and conditional power for known interim result",
      "topics": [
        "estimate_toIntegrate"
      ]
    },
    {
      "page": "FlatNormalPosterior",
      "title": "Integrand to compute Bayesian Predictive Power when flat prior has been updated with likelihood",
      "topics": [
        "FlatNormalPosterior"
      ]
    },
    {
      "page": "interval_posterior_nominator",
      "title": "Posterior density conditional on interim result, only known as interval, is proportional to the value of this function",
      "topics": [
        "interval_posterior_nominator"
      ]
    },
    {
      "page": "interval_posterior_nominator2",
      "title": "Posterior density conditional on two interim results, both only known as intervals, is proportional to the value of this function",
      "topics": [
        "interval_posterior_nominator2"
      ]
    },
    {
      "page": "interval_toIntegrate",
      "title": "Product of posterior density and conditional power for blinded interim result",
      "topics": [
        "interval_toIntegrate"
      ]
    },
    {
      "page": "interval_toIntegrate2",
      "title": "Product of posterior density and conditional power for blinded interim result",
      "topics": [
        "interval_toIntegrate2"
      ]
    },
    {
      "page": "NormalNormalPosterior",
      "title": "Normal-Normal Posterior in conjugate normal model, for known sigma",
      "topics": [
        "NormalNormalPosterior"
      ]
    },
    {
      "page": "post_power",
      "title": "Conditional power conditioning on a blinded interim",
      "topics": [
        "post_power"
      ]
    },
    {
      "page": "UniformNormalTails",
      "title": "Density and CDF for Uniform Distribution with Normal tails",
      "topics": [
        "dUniformNormalTails",
        "pUniformNormalTails"
      ]
    }
  ],
  "_rundeps": [
    "mvtnorm"
  ],
  "_vignettes": [
    {
      "source": "bpp.Rmd",
      "filename": "bpp.html",
      "title": "Sequentially updating the likelihood of success of a Phase 3 pivotal time-to-event trial based on interim analyses or external information",
      "author": "Kaspar Rufibach, Paul Jordan, and Markus Abt",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose",
        "Setup",
        "Define the prior distributions",
        "Computation of all quantities in Table 1, and all the figures",
        "Interesting probabilities",
        "BPP at the beginning of the trial",
        "Update the prior distribution with external information",
        "Update the prior distribution after not stopping at an interim analysis",
        "Posterior densities",
        "Table 1 in @rufibach_14",
        "Update of BPP when not stopping the trial in two blinded interim analyses",
        "Info",
        "References"
      ],
      "created": "2021-05-02 09:10:02",
      "modified": "2022-01-13 13:32:44",
      "commits": 3
    }
  ],
  "_score": 3.146128035678238,
  "_indexed": true,
  "_nocasepkg": "bpp",
  "_universes": [
    "numbersman77"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-05-17T05:23:26.000Z",
      "distro": "noble",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "e77019f9bfcbc842cfe2fb8a9bc32c67b5b7abac1a721aa2cfc937b1af4a9d5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-05-17T05:23:06.000Z",
      "distro": "noble",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "72eded6aed574017e97d7377cb196dc2805107152e8e1c0078a347d1fa2a4b7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-05-17T05:22:57.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "9491183c35fc0ceed4fed0621cf76e55abd43b2630bc16fe1dbf53234c1f12e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-05-17T05:22:58.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "0c81df1aaaec39434fe957c8bf700aa614412d280c4e26a833cd2fdde05c285b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-17T05:22:47.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "9e48cb48c60e7b81e8d9abce5c78ea3120cce66c8995c8a2c69271524e72fcc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-17T05:22:49.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "6bb05441dd9e787e29b32667232f2e112ec69de856701af0a331eb8967e58537",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-17T05:22:34.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "484fff101fc3d4c0e0f61a12dc08e270e45a4015743cd706a21fe1b8d3791da8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.6",
      "date": "2026-06-02T17:56:45.000Z",
      "commit": "88de5ef6f1b0c09c01674d969e74ef5ef69ef450",
      "fileid": "4f06c10ec624348b30e0f801935b118d51504cd4730e5b2d93616ed9b93e983c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/numbersman77/actions/runs/25982201185"
    }
  ]
}