class: center, middle, inverse, title-slide .title[ #
sleep deprivation example
(building up to lmm visually)
] .subtitle[ ## Data Analysis for Psychology in R 3 ] .author[ ### Josiah King ] .institute[ ### Department of Psychology
The University of Edinburgh ] --- # Research Question > **How do reaction times change with increasing sleep deprivation?** <span style="opacity:.4">Participants measured over 10 days of sleep deprivation.</span> --- # lm: a line <img src="jk_img_sandbox/rt_example/Slide1.PNG" width="1707" height="600px" /> --- # lm: a line (2) <img src="jk_img_sandbox/rt_example/Slide13.PNG" width="1707" height="600px" /> --- # lm: a line (3) <img src="jk_img_sandbox/rt_example/Slide2.PNG" width="1707" height="600px" /> --- # lm: lines and differences between them <img src="jk_img_sandbox/rt_example/Slide3.PNG" width="1707" height="600px" /> --- # lmer: lines with a distribution of intercepts <img src="jk_img_sandbox/rt_example/Slide4.PNG" width="1707" height="600px" /> --- # lmer: lines with a distribution of intercepts (2) <img src="jk_img_sandbox/rt_example/Slide5.PNG" width="1707" height="600px" /> --- # lmer: lines with a distribution of intercepts (3) <img src="jk_img_sandbox/rt_example/Slide6.PNG" width="1707" height="600px" /> --- # lmer: lines with a distribution of intercepts (4) <img src="jk_img_sandbox/rt_example/Slide7.PNG" width="1707" height="600px" /> --- # lmer: and with a distribution of slopes <img src="jk_img_sandbox/rt_example/Slide8.PNG" width="1707" height="600px" /> --- # lmer: and with a distribution of slopes (2) <img src="jk_img_sandbox/rt_example/Slide9.PNG" width="1707" height="600px" /> --- # fixed and random <img src="jk_img_sandbox/rt_example/Slide10.PNG" width="1707" height="600px" /> --- # nested: distributions of distributions <img src="jk_img_sandbox/rt_example/Slide11.PNG" width="1707" height="600px" /> --- # crossed: distributions and distributions <img src="jk_img_sandbox/rt_example/Slide12.PNG" width="1707" height="600px" /> --- class: inverse, center, middle # End