simstudy: Simulation of Study Data

Share:

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).

Author
Keith Goldfeld [aut, cre]
Date of publication
2016-12-08 00:55:57
Maintainer
Keith Goldfeld <Keith.Goldfeld@nyumc.org>
License
GPL-3
Version
0.1.2

View on CRAN

Man pages

addColumns
Add columns to existing data set
addCorData
Add correlated data to existing data.table
addPeriods
Create longitudinal/panel data
defData
Add single row to definitions table
defDataAdd
Add single row to definitions table that will be used to add...
defMiss
Definitions for missing data
defRead
Read external csv data set definitions
defReadAdd
Read external csv data set definitions for adding columns
defSurv
Add single row to survival definitions
genCluster
Simulate clustered data
genCorData
Create correlated data
genData
Calling function to simulate data
genMiss
Generate missing data
genObs
Create an observed data set that includes missing data
genSurv
Generate survival data
mergeData
Merge two data tables
trtAssign
Assign treatment
trtObserve
Observed exposure or treatment

Files in this package

simstudy
simstudy/inst
simstudy/inst/doc
simstudy/inst/doc/simstudy.R
simstudy/inst/doc/simstudy.Rmd
simstudy/inst/doc/simstudy.html
simstudy/src
simstudy/src/srcRcpp.cpp
simstudy/src/RcppExports.cpp
simstudy/NAMESPACE
simstudy/NEWS.md
simstudy/R
simstudy/R/int_evalDef.R
simstudy/R/mergeData.R
simstudy/R/addCorData.R
simstudy/R/genMiss.R
simstudy/R/int_genpoistrunc.R
simstudy/R/genCluster.R
simstudy/R/defMiss.R
simstudy/R/genObs.R
simstudy/R/defReadAdd.R
simstudy/R/int_genPosSkew.R
simstudy/R/defRead.R
simstudy/R/int_genMissDataMat.R
simstudy/R/int_gengamma.R
simstudy/R/int_genunif.R
simstudy/R/int_addStrataCode.R
simstudy/R/int_gennorm.R
simstudy/R/RcppExports.R
simstudy/R/trtObserve.R
simstudy/R/int_genbinom.R
simstudy/R/addPeriods.R
simstudy/R/genData.R
simstudy/R/genSurv.R
simstudy/R/addColumns.R
simstudy/R/defSurv.R
simstudy/R/int_isError.R
simstudy/R/trtAssign.R
simstudy/R/int_generate.R
simstudy/R/int_loProb.R
simstudy/R/defData.R
simstudy/R/int_gendeterm.R
simstudy/R/int_genpois.R
simstudy/R/defDataAdd.R
simstudy/R/int_rmult.R
simstudy/R/int_gencat.R
simstudy/R/genCorData.R
simstudy/vignettes
simstudy/vignettes/simstudy.Rmd
simstudy/README.md
simstudy/MD5
simstudy/build
simstudy/build/vignette.rds
simstudy/DESCRIPTION
simstudy/man
simstudy/man/defDataAdd.Rd
simstudy/man/defMiss.Rd
simstudy/man/genCorData.Rd
simstudy/man/genObs.Rd
simstudy/man/trtAssign.Rd
simstudy/man/genMiss.Rd
simstudy/man/addCorData.Rd
simstudy/man/addPeriods.Rd
simstudy/man/genData.Rd
simstudy/man/genSurv.Rd
simstudy/man/defData.Rd
simstudy/man/addColumns.Rd
simstudy/man/genCluster.Rd
simstudy/man/defSurv.Rd
simstudy/man/trtObserve.Rd
simstudy/man/defReadAdd.Rd
simstudy/man/mergeData.Rd
simstudy/man/defRead.Rd