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.8.0
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: 2024-05-15
DOI: 10.32614/CRAN.package.simstudy
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
Customized Distributions
Dynamic Data Definition
Logistic Model Simulation
Longitudinal Data
Missing Data
Ordinal Categorical Data
Simulating Study Data
Spline Data
Survival Data
Treatment and Exposure


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

Reverse dependencies:

Reverse suggests: coursekata, Mmcsd


Please use the canonical form to link to this page.