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.0
Depends: R (≥ 3.3.0)
Imports: data.table, glue, methods, mvnfast, Rcpp, backports
LinkingTo: Rcpp, pbv (≥ 0.4-22)
Suggests: covr, dplyr, formatR, gee, ggplot2, grid, gridExtra, hedgehog, knitr, magrittr, Matrix, mgcv, ordinal, pracma, rmarkdown, scales, splines, survival, testthat, gtsummary, survminer, katex, dirmult
Published: 2023-06-01
Author: Keith Goldfeld ORCID iD [aut, cre], Jacob Wujciak-Jens ORCID iD [aut]
Maintainer: Keith Goldfeld <keith.goldfeld at>
License: GPL-3
NeedsCompilation: yes
Citation: simstudy citation info
CRAN checks: simstudy results


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


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

Reverse dependencies:

Reverse suggests: Mmcsd


Please use the canonical form to link to this page.