{
  "_id": "6a102ddbacfb0bcc41c94002",
  "Package": "mederrRank",
  "Title": "Bayesian Methods for Identifying the Most Harmful Medication\nErrors",
  "Version": "0.1.0",
  "Date": "2023-09-05",
  "Description": "Two distinct but related statistical approaches to the\nproblem of identifying the combinations of medication error\ncharacteristics that are more likely to result in harm are\nimplemented in this package: 1) a Bayesian hierarchical model\nwith optimal Bayesian ranking on the log odds of harm, and 2)\nan empirical Bayes model that estimates the ratio of the\nobserved count of harm to the count that would be expected if\nerror characteristics and harm were independent. In addition,\nfor the Bayesian hierarchical model, the package provides\nfunctions to assess the sensitivity of results to different\nspecifications of the random effects distributions.",
  "Author": "Sergio Venturini, Jessica Myers",
  "Maintainer": "Sergio Venturini <sergio.venturini@unicatt.it>",
  "License": "GPL (>= 2) | file LICENSE",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 05:35:06 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-09-05 17:31:09 UTC",
  "RemoteUrl": "https://github.com/cran/mederrRank",
  "RemoteRef": "HEAD",
  "RemoteSha": "56bcfa086a1ae27ee818c296ea7eb87cbbe793fc",
  "MD5sum": "fcd777111ea8fe351d3dca6ec3331ae0",
  "_user": "cran",
  "_type": "src",
  "_file": "mederrRank_0.1.0.tar.gz",
  "_fileid": "66bbfe3c288f3076f08605fc201b3a9d3aa82d6234a0bf39fa5fe00a68c0cd22",
  "_filesize": 326831,
  "_sha256": "66bbfe3c288f3076f08605fc201b3a9d3aa82d6234a0bf39fa5fe00a68c0cd22",
  "_created": "2026-05-13T05:35:06.000Z",
  "_published": "2026-05-22T10:20:11.508Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77360581107,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6962395517"
    },
    {
      "job": 77360581072,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6962394447"
    },
    {
      "job": 77360580239,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6962373054"
    },
    {
      "job": 77360580315,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158201271"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25780402615",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mederrRank",
  "_commit": {
    "id": "56bcfa086a1ae27ee818c296ea7eb87cbbe793fc",
    "author": "Sergio Venturini <sergio.venturini@unicatt.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1693935069
  },
  "_maintainer": {
    "name": "Sergio Venturini",
    "email": "sergio.venturini@unicatt.it"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "BB",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "numDeriv",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mederrRank"
  },
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mederrRank.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.5",
      "date": "2012-10-29"
    },
    {
      "version": "0.0.7",
      "date": "2012-11-17"
    },
    {
      "version": "0.0.8",
      "date": "2015-07-07"
    },
    {
      "version": "0.1.0",
      "date": "2023-09-05"
    }
  ],
  "_exports": [
    "bayes.rank",
    "bhm.constr.resamp",
    "bhm.mcmc",
    "bhm.resample",
    "dmixnegbinom",
    "dnegbinom",
    "dst",
    "EBGM",
    "llDiffD",
    "llDiffT",
    "logp",
    "logunpost",
    "mixnegbinom.em",
    "mixnegbinom.loglik",
    "mixnegbinom.score",
    "negbinom.em",
    "negbinom.loglik",
    "negbinom.score",
    "p.value",
    "plot",
    "post.rep",
    "rmixnegbinom",
    "summary"
  ],
  "_datasets": [
    {
      "name": "MEDMARX",
      "title": "Subset of the MEDMARX Data",
      "object": "MEDMARX",
      "file": "MEDMARX.rda",
      "class": [
        "mederrData"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "simdata",
      "title": "Simulated Data",
      "object": "simdata",
      "file": "simdata.rda",
      "class": [
        "mederrData"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "mederrRank-package",
      "title": "Bayesian Methods for Identifying the Most Harmful Medication Errors",
      "topics": [
        "mederrRank-package",
        "mederrRank"
      ]
    },
    {
      "page": "bayes.rank",
      "title": "Optimal Bayesian Ranking",
      "topics": [
        "bayes.rank"
      ]
    },
    {
      "page": "bhm.constr.resamp",
      "title": "Markov Chain Monte Carlo Estimation (Step 2) of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors",
      "topics": [
        "bhm.constr.resamp"
      ]
    },
    {
      "page": "bhm.mcmc",
      "title": "Markov Chain Monte Carlo Estimation (Step 1) of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors",
      "topics": [
        "bhm.mcmc"
      ]
    },
    {
      "page": "bhm.resample",
      "title": "Resampling Transformation for the Markov Chain Monte Carlo Estimation Simulation of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors",
      "topics": [
        "bhm.resample"
      ]
    },
    {
      "page": "dmixnegbinom",
      "title": "The Negative Binomial Mixture Distribution",
      "topics": [
        "dmixnegbinom"
      ]
    },
    {
      "page": "dnegbinom",
      "title": "The Negative Binomial Distribution",
      "topics": [
        "dnegbinom"
      ]
    },
    {
      "page": "dst",
      "title": "The Skewed Student t Distribution",
      "topics": [
        "dst"
      ]
    },
    {
      "page": "EBGM",
      "title": "Geometric Mean of the Relative Risk Empirical Bayes Posterior Distribution",
      "topics": [
        "EBGM"
      ]
    },
    {
      "page": "llDiffD",
      "title": "Log-Likelihood Difference for the delta_j Parameters",
      "topics": [
        "llDiffD"
      ]
    },
    {
      "page": "llDiffT",
      "title": "Log-Likelihood Difference for the theta_i Parameters",
      "topics": [
        "llDiffT"
      ]
    },
    {
      "page": "logp",
      "title": "Negative Log-Posterior Function of the Bayesian Hierarchical Model for Identifying the Most Harmful Medication Errors",
      "topics": [
        "logp"
      ]
    },
    {
      "page": "logunpost",
      "title": "Unnormalized Marginal Posterior Distributions for k and eta",
      "topics": [
        "logunpost"
      ]
    },
    {
      "page": "mederrData-class",
      "title": "Class \"mederrData\". Data Specification for Identifying the Most Harmful MEdication Errors using a Bayesian Hierarchical Model.",
      "topics": [
        "initialize,mederrData-method",
        "mederrData",
        "mederrData-class"
      ]
    },
    {
      "page": "mederrFit-class",
      "title": "Class \"mederrFit\". Simulated Monte Carlo Chains (Step 1) for the Bayesian Hierarchical Model Used to Identify the Most Harmful Medication Errors.",
      "topics": [
        "initialize,mederrFit-method",
        "mederrFit",
        "mederrFit-class"
      ]
    },
    {
      "page": "mederrResample-class",
      "title": "Class \"mederrResample\". Simulated Monte Carlo Chains (Step 2) for the Bayesian Hierarchical Model Used to Identify the Most Harmful Medication Errors.",
      "topics": [
        "initialize,mederrResample-method",
        "mederrResample",
        "mederrResample-class"
      ]
    },
    {
      "page": "MEDMARX",
      "title": "Subset of the MEDMARX Data",
      "topics": [
        "MEDMARX"
      ]
    },
    {
      "page": "mixnegbinom.em",
      "title": "Expectation-Maximization Algorithm for the Mixture of Negative Binomial Distributions",
      "topics": [
        "mixnegbinom.em"
      ]
    },
    {
      "page": "mixnegbinom.loglik",
      "title": "Log-Likelihood Function for the Mixture of Negative Binomial Distributions",
      "topics": [
        "mixnegbinom.loglik"
      ]
    },
    {
      "page": "mixnegbinom.score",
      "title": "Log-Likelihood Score Function for the Mixture of Negative Binomial Distributions",
      "topics": [
        "mixnegbinom.score"
      ]
    },
    {
      "page": "negbinom.em",
      "title": "Expectation-Maximization Algorithm for the Negative Binomial Distribution",
      "topics": [
        "negbinom.em"
      ]
    },
    {
      "page": "negbinom.loglik",
      "title": "Log-Likelihood Function for the Mixture of Negative Binomial Distributions",
      "topics": [
        "negbinom.loglik"
      ]
    },
    {
      "page": "negbinom.score",
      "title": "Log-Likelihood Score Function for the Negative Binomial Distribution",
      "topics": [
        "negbinom.score"
      ]
    },
    {
      "page": "p.value",
      "title": "Posterior Predictive Test statistics",
      "topics": [
        "p.value"
      ]
    },
    {
      "page": "plot-methods",
      "title": "Plot of Medication Error Data and Analysis",
      "topics": [
        "plot,ANY,ANY-method",
        "plot,mederrData,missing-method",
        "plot,mederrFit,mederrFit-method",
        "plot,mederrResample,missing-method",
        "plot-methods"
      ]
    },
    {
      "page": "post.rep",
      "title": "Posterior Predictive Data Replications",
      "topics": [
        "post.rep"
      ]
    },
    {
      "page": "rmixnegbinom",
      "title": "The Negative Binomial Mixture Distribution",
      "topics": [
        "rmixnegbinom"
      ]
    },
    {
      "page": "simdata",
      "title": "Simulated Data",
      "topics": [
        "simdata"
      ]
    },
    {
      "page": "summary-methods",
      "title": "Summary of Medication Error Data and Analysis",
      "topics": [
        "summary,ANY-method",
        "summary,mederrData-method",
        "summary,mederrFit-method",
        "summary-methods"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mederrRank/raw/HEAD/README.md",
  "_rundeps": [
    "BB",
    "numDeriv",
    "quadprog"
  ],
  "_score": 1.845098040014257,
  "_indexed": true,
  "_nocasepkg": "mederrrank",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-13T05:36:56.000Z",
      "distro": "noble",
      "commit": "56bcfa086a1ae27ee818c296ea7eb87cbbe793fc",
      "fileid": "dff43e088ec1a6aecd8e20b7ac75e404a9fc420ba9454c6e8ce9a72f31ae74ec",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780402615"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-13T05:36:50.000Z",
      "distro": "noble",
      "commit": "56bcfa086a1ae27ee818c296ea7eb87cbbe793fc",
      "fileid": "2a8b6ced8633f9b2969ac4bdeba8d6cdf1f720b75f0bdaef9df49ddf2f6d5256",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780402615"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T10:19:49.000Z",
      "commit": "56bcfa086a1ae27ee818c296ea7eb87cbbe793fc",
      "fileid": "b61ed54fee393ef7d70d51d5d201875291b342f2fd1d1e7ba776d019d9a68367",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25780402615"
    }
  ]
}