Skip to content

mederrRank

Bayesian Methods for Identifying the Most Harmful Medication Errors

v0.1.0 · Sep 5, 2023 · GPL (>= 2) | file LICENSE

Description

Two distinct but related statistical approaches to the problem of identifying the combinations of medication error characteristics that are more likely to result in harm are implemented in this package: 1) a Bayesian hierarchical model with optimal Bayesian ranking on the log odds of harm, and 2) an empirical Bayes model that estimates the ratio of the observed count of harm to the count that would be expected if error characteristics and harm were independent. In addition, for the Bayesian hierarchical model, the package provides functions to assess the sensitivity of results to different specifications of the random effects distributions.

Downloads

184

Last 30 days

17817th

184

Last 90 days

184

Last year

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (16 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Sergio Venturini <sergio.venturini@unicatt.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Sergio",
                      family = "Venturini",
                      role = c("aut", "cre"),
                      email = "sergio.venturini@unicatt.it"),
               person(given = "Jessica",
                      family = "Myers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Sergio Venturini <sergio.venturini@unicatt.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Sergio",
                      family = "Venturini",
                      role = c("aut", "cre"),
                      email = "sergio.venturini@unicatt.it"),
               person(given = "Jessica",
                      family = "Myers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Sergio Venturini <sergio.venturini@unicatt.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Sergio",
                      family = "Venturini",
                      role = c("aut", "cre"),
                      email = "sergio.venturini@unicatt.it"),
               person(given = "Jessica",
                      family = "Myers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Sergio Venturini <sergio.venturini@unicatt.it>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Sergio",
                      family = "Venturini",
                      role = c("aut", "cre"),
                      email = "sergio.venturini@unicatt.it"),
               person(given = "Jessica",
                      family = "Myers",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) bhm.mcmc.Rd:37: Lost braces; missing escapes or markup?
    37 |   where \eqn{N_{ij}} denotes the number of times that the error profile \eqn{i} is cited on a report from hospital {j} and \eqn{y_{ij}} is the corresponding number of times that profile \eqn{i} in hospital \eqn{j} was reported with harm.
       |                                                                                                                    ^

Dependency Network

Dependencies Reverse dependencies BB numDeriv mederrRank

Version History

new 0.1.0 Mar 10, 2026