Simulating Data in R

R packages

simstudy

https://cran.r-project.org/web/packages/simstudy/vignettes/simstudy.html

psych::sim.multilevel

http://personality-project.org/r/html/sim.multilevel.html

 

Re-creating data sets

https://stats.stackexchange.com/questions/30303/how-to-simulate-data-that-satisfy-specific-constraints-such-as-having-specific-m

 

A complex but thorough simulation example from idre.ucla

http://stats.idre.ucla.edu/r/codefragments/mesimulation/

 

Mark-recapture designs for wildlife studies

https://sites.google.com/site/wild8390/software/simulate

 

Multilevel Simulation with specified ICC

https://psychometroscar.wordpress.com/simulate-a-2-level-multilevelhlmlinear-mixed-model/

 

Other

http://clayford.github.io/dwir/dwr_12_generating_data.html

https://web.stanford.edu/class/bios221/labs/simulation/Lab_3_simulation.html

http://stackoverflow.com/questions/23256694/how-can-i-efficiently-generate-a-dataframe-of-simulated-values

 

http://xcelab.net/rm/wp-content/uploads/2010/03/sim.pdf

 

http://www.quantumforest.com/2011/10/simulating-data-following-a-given-covariance-structure/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: