Generating artificial data is a crucial step when performing Monte Carlo simulation studies. Depending on the planned study, complex data generation processes (DGPs) containing multiple, possibly time-varying, variables with various forms of dependencies and data types may be required. Simulating data from such DGPs may therefore become a difficult and time-consuming endeavor. The simDAG R package offers a standardized approach to generate data from simple and complex DGPs based on the definition of structural equations in directed acyclic graphs using arbitrary functions or regression models. The package offers a clear syntax with an enhanced formula interface and directly supports generating binary, categorical, count and time-to-event data with arbitrary dependencies, possibly non-linear relationships and interactions. It additionally includes a framework to conduct discrete-time based simulations which allows the generation of longitudinal data on a semi-continuous time-scale. This approach may be used to generate time-to-event data with both recurrent or competing events and possibly multiple time-varying covariates, which may themselves have arbitrary data types. In this article we demonstrate the vast amount of features included in simDAG by replicating the DGPs of multiple real Monte Carlo simulation studies.
Generating artificial data is a crucial step when performing Monte Carlo simulation studies. Depending on the planned study, complex data generation processes (DGPs) containing multiple, possibly time-varying, variables with various forms of dependencies and data types may be required. Simulating data from such DGPs may therefore become a difficult and time-consuming endeavor. The simDAG R package offers a standardized approach to generate data from simple and complex DGPs based on the definition of structural equations in directed acyclic graphs using arbitrary functions or regression models. The package offers a clear syntax with an enhanced formula interface and directly supports generating binary, categorical, count and time-to-event data with arbitrary dependencies, possibly non-linear relationships and interactions. It additionally includes a framework to conduct discrete-time based simulations which allows the generation of longitudinal data on a semi-continuous time-scale. This approach may be used to generate time-to-event data with both recurrent or competing events and possibly multiple time-varying covariates, which may themselves have arbitrary data types. In this article we demonstrate the vast amount of features included in simDAG by replicating the DGPs of multiple real Monte Carlo simulation studies.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | BCDAG: An R Package for Bayesian Structure and Causal Learning of Gaussian DAGs | 0 | 3.84 | 24-07-2026 |
| 2 | cv: An R Package for Cross-Validating Regression Models | 0 | 7.3 | 15-06-2026 |
| 3 | fastcpd: Fast Change Point Detection in R | 0 | 7.13 | 25-07-2026 |
| 4 | A new R package facilitates the generation of flowcharts for research studies | 2 | 7 | 29-04-2026 |
| 5 | CPU- and GPU-Based Distributed Sampling in Dirichlet Process Mixtures for Large-Scale Analysis | 0 | 8.44 | 31-05-2026 |
| 6 | collapse: Advanced and Fast Statistical Computing and Data Transformation in R | 0 | 8.06 | 31-05-2026 |
| 7 | BayesMultiMode: Bayesian Mode Inference in R | 0 | 5.45 | 05-06-2026 |
| 8 | Inferring and simulating a gene regulatory network for the sympathoadrenal differentiation from single-cell transcriptomics in human. [version 2; peer review: 1 approved] | 0 | 8.99 | 23-07-2026 |
| 9 | Policy Learning with the polle Package | 0 | 6.3 | 31-05-2026 |
| 10 | Semmle | 0 | 7.51 | 15-12-2017 |