This repository contains a collection of R tutorials, developed at the University of Maastricht for Applied Research course that use R software.
The goal is to organize relevant material into modular components, for more efficient design and maintenance of material, that can be used across courses, and that are accessible to students during and after their studies.
IDS aim is to teach researchers basic concepts, skills, and tools for working with data so that they can get more done in less time, and with less pain. The lessons below were designed for those interested in working with social science data in R.
This is an introduction to R designed for participants with no programming experience. These lessons can be taught in a day (~ 8 hours). They start with some basic information about R syntax, the RStudio interface, and move through how to import files, the structure of data frames, how to deal with factors, how to add/remove rows and columns, how to calculate summary statistics from a data frame, and a brief introduction to inferential statistics. All lessons demonstrate how to work with databases directly from R.
The curriculum for these students will be:
- Introduction to R
- Introduction to Exploratory Data Analysis
- Create graphs for exploring your data
- Research Data Management
- Interpret Pearson correlation and scatter plots
- Loop functions in R
- Inferential Statistics
Lecture | Day | Description |
---|---|---|
Lecture 1 | 13 April 2020 | Introduction to Stats with R |
Lecture 2 | 13 May 2020 | Descriptive Statistics |
Lecture 3 | 08 June 2020 | Inferential Statistics I |
Lecture 4 | 10 June 2020 | Inferential Statistics II |
Lecture 5 | 12 June 2020 | Inferential Statistics II |
Tutorial | Schedule | Learning Outcomes |
---|---|---|
Intro to R | 00:55 | What are the essential compoments of R stats? |
Exploratory Data Analysis | 02:00 | What are the steps for Exploratory Data Analysis? |
Inferential Statistics I | 03:30 | How to conduct and interpret t-test in R? |
Inferential Statistics II | 05:00 | How to conduct and interpret ANOVA & Chi square test? |
Inferential Statistics II | 06:30 | How to conduct and interpret linear & logistic regression? |
General R Basics:
- https://cran.r-project.org/doc/contrib/Short-refcard.pdf
- https://www.stats.ox.ac.uk/~snijders/siena/Rrefcard.pdf
- http://www.u.arizona.edu/~kuchi/Courses/MAT167/Files/R-refcard.pdf
- http://www.i3s.unice.fr/~malapert/R/pdf/base-r.pdf
RStudio Guide:
Resources: https://rstudio.com/resources/cheatsheets/
The code in this repository, including all code samples in the notebooks listed above, is released under the MIT license. Read more at the Open Source Initiative.
The text content of the book is released under the CC-BY-NC-ND license. Read more at Creative Commons.