summerschool_simtech_2023/material/4_thu/sim/slides.qmd
2023-10-01 14:54:54 +01:00

80 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Fake It Until You Make It"
subtitle: "How and why to simulate research data"
author: "Lisa DeBruine"
execute:
echo: true
format:
revealjs:
logo: images/psyteachr_hex.png
theme: [dark, style.scss]
transition: none
transition-speed: fast
---
# Abstract
::: {style="font-size: 24px;"}
Being able to simulate data allows you to prep analysis scripts for pre-registration, calculate power and sensitivity for analyses that dont have empirical methods, create reproducible examples when your data are too big or confidential to share, enhance your understanding of statistical concepts, and create demo data for teaching and tutorials. This workshop will cover the basics of simulation. We will simulate data with factorial designs by specifying the within and between-subjects factor structure, each cell mean and standard deviation, and correlations between cells where appropriate. This can be used to create simulated data sets to be used in preparing the analysis code for pre-registrations or registered reports. We will also create data sets for simulation-based power analyses.
:::
# Why Simulate Data?
## Pre-Registration
![Prep analysis scripts for pre-registration](images/lego-registered-reports.png)
## Power
![Calculate power and sensitivity for analyses that don't have empirical methods](images/power.jpg)
## Reproducible Examples
![Create reproducible examples when your data are too big or confidential to share](images/big-data.png)
<!-- Pete Linforth/ Pixabay -->
## Enhance Understanding
![Enhance your understanding of statistical concepts](images/stats.jpg)
<!-- Stanford Online -->
## Teaching Data
![Create demo data for teaching and tutorials](images/teaching-stats.jpg)
# Faux
[![](images/faux.png)](https://rstudio-connect.psy.gla.ac.uk/faux/)
Web App: [rstudio-connect.psy.gla.ac.uk/faux/](https://rstudio-connect.psy.gla.ac.uk/faux/)
## Plot
![](images/faux_plot.png)
## Data
![](images/faux_data.png)
## Code
![](images/faux_code.png)
# Further Resources
:::{layout-nrow=1}
[![PsyPag Simulation Summer School](images/simsummerschool.jpg)](https://simsummerschool.github.io/)
[![Data Simulation Workshops](images/dsw.png)](https://debruine.github.io/data-sim-workshops/)
:::