simstudy: Simulation of Study Data

Simulates data sets in order to explore modeling techniques or better understand data generating processes. The user specifies a set of relationships between covariates, and generates data based on these specifications. The final data sets can represent data from randomized control trials, repeated measure (longitudinal) designs, and cluster randomized trials. Missingness can be generated using various mechanisms (MCAR, MAR, NMAR).

Version: 0.7.1
Depends: R (≥ 3.3.0)
Imports: data.table, glue, methods, mvnfast, Rcpp, backports, fastglm
LinkingTo: Rcpp, pbv (≥ 0.4-22), fastglm
Suggests: covr, dplyr, formatR, gee, ggplot2, grid, gridExtra, hedgehog, knitr, magrittr, Matrix, mgcv, ordinal, pracma, rmarkdown, scales, splines, survival, testthat, gtsummary, survminer, katex, dirmult, rms
Published: 2023-11-23
Author: Keith Goldfeld ORCID iD [aut, cre], Jacob Wujciak-Jens ORCID iD [aut]
Maintainer: Keith Goldfeld <keith.goldfeld at nyulangone.org>
BugReports: https://github.com/kgoldfeld/simstudy/issues
License: GPL-3
URL: https://github.com/kgoldfeld/simstudy, https://kgoldfeld.github.io/simstudy/, https://kgoldfeld.github.io/simstudy/dev/
NeedsCompilation: yes
Citation: simstudy citation info
CRAN checks: simstudy results

Documentation:

Reference manual: simstudy.pdf
Vignettes: Clustered Data
Correlation Matrices
Correlated Data
Dynamic Data Definition
Logistic Model Simulation
Longitudinal Data
Missing Data
Ordinal Categorical Data
Simulating Study Data
Spline Data
Survival Data
Treatment and Exposure

Downloads:

Package source: simstudy_0.7.1.tar.gz
Windows binaries: r-devel: simstudy_0.7.1.zip, r-release: simstudy_0.7.1.zip, r-oldrel: simstudy_0.7.1.zip
macOS binaries: r-release (arm64): simstudy_0.7.1.tgz, r-oldrel (arm64): simstudy_0.7.1.tgz, r-release (x86_64): simstudy_0.7.1.tgz
Old sources: simstudy archive

Reverse dependencies:

Reverse suggests: Mmcsd

Linking:

Please use the canonical form https://CRAN.R-project.org/package=simstudy to link to this page.