Skip to content

[Under development] An R package that simulates effect discovery in an active surveillance system

Notifications You must be signed in to change notification settings

OHDSI/DiscoverySystemSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscoverySystemSimulator

Introduction

DiscoverySystemSimulator is an R package that simulates effect discovery in an active surveillance system.

Features

Simulates:

  • Multiple databases
  • Multiple exposure-outcome pairs
  • Multiple methods (simulated by resampling the comparator, reflecting different ways to construct the counterfactual), each with different systematic error distributions
  • Multiple times at risk
  • Multiple looks over time

For each estimate, this is computed:

  • Patient time in target and comparator (during time at risk)
  • Outcomes observed in target and comparator (during time at risk)
  • Estimated effect size, confidence interval, p-value, log likelihood ratio, and likelihood profile (Poisson regression)

Technology

DiscoverySystemSimulator is an R package.

System Requirements

Requires R (version 4.0.0 or higher). Installation on Windows requires RTools. Libraries used in DiscoverySystemSimulator require Java.

Installation

  1. See the instructions here for configuring your R environment, including RTools and Java.

  2. In R, use the following commands to download and install CohortMethod:

install.packages("remotes")
remotes::install_github("schuemie/DiscoverySystemSimulator")

User Documentation

Support

Contributing

Read here how you can contribute to this package.

License

CohortMethod is licensed under Apache License 2.0

Development

DiscoverySystemSimulator is being developed in R Studio.

Development status

DiscoverySystemSimulator is under development. Do not use.

About

[Under development] An R package that simulates effect discovery in an active surveillance system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages