Skip to content

eborsi/Introduction-Simulations-in-R

 
 

Repository files navigation

Introduction to Simulations in R

About this work

This work was originally created by Malika Ihle based on materials from Joel Pick, Hadley Wickham, Kevin Hallgren, and with contributions from James Smith.
It is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Prior to the session

  1. Fork and clone this repository (here is a reminder on how to fork and clone and what it means)

  2. Read Hallgren A. K. 2013. Conducting simulation studies in the R programming environment. Tutor Quant Methods Psychol. ; 9(2): 43–60. and answer the following 3 questions in your local copy of the reading sheet:

  • describe 6 steps common to all simulations
  • describe 3 types of simulations use
  • describe 4 limitations of simulations

During the session: self-paced workshop

The workshop will alternate presentation of concepts and simple exercices for you to try to apply them in R. Each time you see written YOUR TURN, switch to your local copy of the exercice script, review the examples if needed, complete the exercice, and check out the proposed answer (which often contain additional tips).
It is necessary that you work through the sections in order. Please read the blurbs of each sections below to get an overview of what is coming before starting.

During the session: personal project

In your local repository, write your own simulation in R to help you prepare the data analyses of your current or next study. When you require help, first push your current work on your GitHub remote (for a reminder on how to do this, see here) for us to be able to access it easily and possibly review and edit your code!

About

Introduction to Simulations in R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%