README.md

PharmacoVigilance Comparison Study

This repository contains all the R code for a comparison study of 27 statistical measures in their ability to detect associations between drugs and adverse events in spontaneous reporting data. The code heavily relies on the following two R packages:

The code is published under the GPL-3 license.

Shiny

All the results can be explored interactively at https://srs.bips.eu/

Acknowledgements

We gratefully acknowledge the financial support from the innovation fund (“Innovationsfonds”) of the Federal Joint Committee in Germany (grant number: 01VSF16020).

Installation

To install, simply type in R

devtools::install_github("bips-hb/pvmcomparison")

Usage

In order to generate all the results as presented in the paper and at www.srs.bips.eu, install the package and run the run.R script:

source("run.R")

Example Simulated Data Set

The file example-SRS.rds contains an example of a simulated spontaneous reporting data set. The number of reports is 50,000. There are no innocent bystanders and the average odds ratio between drugs and adverse drug reactions (ADRs) are drawn for a truncated normal distribution with mean 1.5. The odds ratios can not be smaller than 1. The object stored in example-SRS.rds has six entries:

$nodes - a table with a 1,000 rows and 7 columns. Each row represents either a drug or an ADE/ADE. The columns represent:

$tables is a data frame with 250,000 rows and contains all 2 x 2 tables for each drug and ADE/ADR pair. It has the following columns:

References

Please cite

Adverse Drug Reaction or Innocent Bystander? A Systematic Comparison of Statistical Discovery Methods for Spontaneous Reporting Systems\ L.J. Dijkstra, M. Garling, R. Foraita & I. Pigeot\ Pharmacoepidemiology and Drug Safety (2020)\ DOI:10.1002/PDS.4970

Acknowledgments

Funded by the Innovation Fund of the German Joint Federal Committee (G-BA, 01VSF16020)

Contact

Louis Dijkstra\ Leibniz Institute for Prevention Research & Epidemiology E-mail: dijkstra (at) leibniz-bips.de



bips-hb/pvmcomparison documentation built on Dec. 13, 2020, 3:46 a.m.