BEFORE YOU BEGIN:
The videos below will walk you through the following .Rmd file: https://drive.google.com/file/d/1c4YvocCQIp8cy8DS6uZxa0Jt0wSHdeOy/view?usp=sharing
Be sure you already have the datafile from Ch. 9 saved.
TABLE OF CONTENTS:
Video (0:56)
Note that when working through the .Rmd files, R packages will often need to be installed, and libraries loaded. Do NOT quit R while installing or loading packages and libraries. This can corrupt crucial files. Instead, you can STOP the process (by clicking the red stop sign in the upper right corner of the console) and then quit the program, or wait until the process has been completed.
Video (6:57)
Video (2:41)
If you need a refresher on the basic principles of linear regression, please read over this statistics chapter from the PSYC200 Open Science textbook: https://sites.google.com/umd.edu/statisticsinsocialsciences/08-regression
Video (4:45)
Video (10:24)
Video (7:01)
Video (8:47)
Video (5:26)
If you would like to run linear regression in R you can use this Rmd template
https://drive.google.com/file/d/19iacjomhGpxZcwDGs_ecN_3Sq752v8Mr/view?usp=sharing
Tomlinson, T. Jones, B. and Chicoli, A.Statistics in Social Sciences https://sites.google.com/umd.edu/statisticsinsocialsciences