[R-pkgs] New package: simstudy

Goldfeld, Keith Keith.Goldfeld at nyumc.org
Tue Jun 21 17:18:50 CEST 2016

Greetings –

A new package “simstudy” is now available on CRAN. What started as a small number of functions that enabled me to quickly generate simple data sets for teaching and power/sample size calculations has grown into a more robust set of tools that allows users to simulate more complex data sets in order to explore modeling techniques or better understand data generating processes. The user specifies a set of relationships between covariates in table form (the table can be built interactively or created externally as a csv file), and generates data based on these specifications. The final data sets can represent data from randomized control trials, observed (non-randomized) studies, repeated measure (longitudinal) designs, and cluster randomized trials. Missingness can be generated using various mechanisms (MCAR, MAR, NMAR). Currently, data can be generated from normal/Gaussian, binary, Poisson, truncated Poisson, Gamma, and uniform distributions. Survival data can also be generated.

I will be adding functionality over time, and will be particularly interested in knowing what userRs would be interested in having me add. I look forward to hearing your comments.

- Keith

Keith Goldfeld
Department of Population Health
School of Medicine, New York University
227 East 30th Street, 6th Floor
New York, NY  10016

This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.

	[[alternative HTML version deleted]]

More information about the R-packages mailing list