DiscoverySystemSimulator is an R package that simulates effect discovery in an active surveillance system.
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)
DiscoverySystemSimulator is an R package.
Requires R (version 4.0.0 or higher). Installation on Windows requires RTools. Libraries used in DiscoverySystemSimulator require Java.
-
See the instructions here for configuring your R environment, including RTools and Java.
-
In R, use the following commands to download and install CohortMethod:
install.packages("remotes")
remotes::install_github("schuemie/DiscoverySystemSimulator")
- Package manual: DiscoverySystemSimulator.pdf
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
Read here how you can contribute to this package.
CohortMethod is licensed under Apache License 2.0
DiscoverySystemSimulator is being developed in R Studio.
DiscoverySystemSimulator is under development. Do not use.