Simulating Complex Cross-Sectional and Longitudinal Data using the simDAG R Package1 months ago
Introduction | Motivation | Using DAGs to define data generation processes | Comparison with existing software | Organization of this article | The workflow | Included functions | Defining the DAG | Supported node types | Simulating crossectional data | Simulating longitudinal data with few points in time | Simulating longitudinal data with many points in time | Formal description | A simple example | Simulating adverse events after Covid-19 vaccination | Additionally supported features | Computational considerations | Discussion | Computational details | Acknowledgments | Appendix A: Further Features of Discrete-Time Simulation | Time-Dependent Base Probabilities | Time-Dependent Effects | Non-Linear Effects | Multiple Interrelated Binary Time-Dependent Variables | Using Baseline Covariates | Using Categorical Time-Dependent Variables | Using Continuous Time-Dependent Variables | Ordered Events | Literature
