No articles match
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
Simulating Data from a DAG with Network Dependencies1 months ago
Introduction | What are networks-based simulations? | Networks in regular simulations | A single network | Multiple networks | Weighted networks | Directed Networks | Neighborhood order | Networks as a function of other variables | Networks in discrete-time simulation | Static networks | Dynamic networks | Random new networks at each point in time | Adjusting a network over time | Discussion | References
Simulating Data from a known DAG1 months ago
Introduction | What are causal DAGs and why use them? | Defining the DAG | Root node types | Child node types | Defining nodes manually | Defining nodes using existing data | Time-varying covariates | References
Simulating Data using a Discrete-Event Approach1 months ago
Introduction | What is Discrete-Event Simulation and Why Use it? | Defining the DAG | A single time-dependent variable | Discrete-Time approach | Discrete-Event approach | Two interrelated time-dependent variables | Some things to consider | Time-Dependent probabilities and effects | Categorical / Count / Continuous variables | Discussion | References
Simulating Data using a Discrete-Time Approach1 months ago
Introduction | What is Discrete-Time Simulation and Why Use it? | Defining the DAG | A Simple Example - One Terminal Event | Extending the Simple Example - Recurrent Events | References
simDAG Cookbook6 months ago
Introduction | Simulating Randomized Controlled Trials | Two Treatment Groups | Three or More Treatment Groups | Multiple Outcome Measurements | Non-Compliance to Treatment Assignment | With Cluster Randomization | Simulating Observational Studies | Crossectional Data | Longitudinal Data | Cox Model with Time-Varying Covariates | Aalen Additive Hazards Model with Time-Dependent Covariates | Miscellaneous Simulations | Simulating Multi-Level Data | Simulating Mixture Distributions | Simulating Outliers | Simulating Missing Values | Simulating Measurement Error
Specifying Custom Node Types in a DAG6 months ago
Introduction | Root Nodes | Requirements | Examples | Child Nodes | Time-Dependent Nodes | Time-Dependent Root Nodes | Time-Dependent Child Nodes | Using the sim_time Argument | Using the past_states Argument | Using the Formula Interface | Some General Comments
Frequently Asked Questions about the adjustedCurves Package10 months ago
How do I add a table with the number at risk below the plot? | How do I get a p-value? | Does this package support time-varying covariates? | Which method should I use? | How can I interpret the results? | Is it possible to obtain adjusted survival curves for data with competing events? | Can I use this package if the variable I am interested in is continuous? | Does this package offer an adjusted log-rank test? | How do I deal with missing values? | I have fit a coxph model with start/stop type data. Can I use this model to obtain adjusted survival curves? | Can interactions be included when estimating adjusted survival curves or CIFs? | Why do adjusted survival curves produced with method="direct" have a different shape than Kaplan-Meier curves? | Should I include a strata() term for the variable of interest when using a Cox model with method="direct"? | How do I cite this package? | References
Simulating Covid-19 Vaccine Data using a Discrete-Time Simulation11 months ago
Introduction | How to get started | 1.) Formulate the goal of your research project in a detailed fashion. | 2.) Build a theoretical model of the system you want to simulate. | 3.) Identify the parts of the system that you are most interested in. | 4.) Obtain and analyze real data. | 5.) Simulate data for $t = 0$ (if needed). | 6.) Write functions for each time-varying node, one at a time. | 7.) Inspect the resulting data for inconsistencies. | Our research goal and the theoretical model | Research goal | Theoretical model | Implementing the model | Part 1: Adding vaccination, covid and sickness | Part 2: Adding adverse effects of vaccination and covid | Part 3: Making the vaccine useful | Part 4: Sick people don't get vaccinated | Generating Data using the final model | Going even further | References
An Introduction to the 'adjustedCurves' Package1 years ago
Installation | Adjusted Survival Curves | Direct Standardization | Inverse Probability of Treatment Weighting | Augmented Inverse Probability of Treatment Weighting | Adjusted Cumulative Incidence Functions | Adjusted Curves with More than Two Groups | Further Topics | Implemented Methods | Plot Customization | Comparing Groups | FAQ | Literature
Specifying Formulas in a DAG1 years ago
Introduction | A simple example | Using a Categorical Parent Variable | Using Interaction Effects | Using Cubic Terms | Using Functions in formula | Using Special Characters in formula | Using Random Effects and Random Slopes | Using External Coefficients (Advanced Usage) | Using Formulas in Custom Node Types (Advanced Usage)
Calculating the Care Density and Fragmented Care Density in R2 years ago
Introduction | Installation | Care Density | Explanation | Example | Fragmented Care Density | Estimating Connection-Specific Weights | Literature
Comparing Adjusted Survival Curves or Cumulative Incidence Curves2 years ago
Introduction | Adjusted Survival Curves | Illustrative Example Data | Contrasting Survival Probabilities at $t$ | Adjusted Survival Time Quantiles | Restricted Mean Survival Times | Bootstrap Hypothesis Testing | Adjusted Cumulative Incidence Curves | Discussion | References
Customizing Adjusted Survival Curve Plots2 years ago
Introduction | Example Data | General Plot Aesthetics | Confidence Intervals | Median Survival Time Indicators | Censoring Indicators | Risk Tables | Changing the content of risk tables | Changing aesthetic parameters | Additional customization options | Putting it all together
Overview of methods in adjustedCurves2 years ago
Methods in adjustedsurv() | Methods in adjustedcif() | References
Visualizing the Causal Effect of a Continuous Variable on a Time-To-Event Outcome3 years ago
Introduction | Installation | Example Data and Setup | How do We get the Survival Probability from the Model? | Plots Based on Summary Statistics | Survival Probability at t | Survival Time Quantiles | Restricted Mean Survival Time | Restricted Mean Time Lost | Plots Showing the Entire Survival Area | Single Curves | Survival Area | Survival Heatmap | Survival Contours | Survival Matrix | Survival 3D Surface | Plots for Digital Use Only | Interactive 3D Surface Plots | Using a Slider | Using Animation | Facetting by Groups | Literature