UG Quantitative Methods in the Social Sciences: Workbook
Welcome
1
Introduction to R
1.1
Why R?
1.1.1
R: a flexible tool
1.1.2
Advantages of using R
1.2
Get started
1.2.1
Setting RStudio
1.2.2
RStudio environment
1.3
Hands on R
2
Data in R
2.1
Welcome back!
2.2
R Packages
2.2.1
Installing packages
2.2.2
Activity:
2.3
Types of variables
2.3.1
Activity:
2.4
More operators and some essential symbols
2.5
Black lives matter!
2.5.1
Downloading and reading the data
2.5.2
Examining the data
2.5.3
Data wrangling
3
Data wrangling
3.1
Importing and data wrangling
3.1.1
Downloading and reading the data
3.2
Data wrangling
3.3
Read the clean dataset
3.3.1
Activity
4
Exploratory data analysis
4.1
Getting started
4.2
Exploratory analysis
4.2.1
Data overview
4.2.2
Categorical data
4.2.3
Activity 1
4.2.4
Continuous (numeric) data
4.2.5
Putting it all together
4.2.6
Activity 2
5
Reporting in R Markdown
5.1
Introduction
5.2
R Markdown
5.2.1
First R Markdown document
5.3
Activity
6
Visual exploratory analysis
6.1
Introduction
6.2
Data visualization
6.2.1
Prepare the Rmd document and data
6.3
Cateogrical variables
6.3.1
Bivariate categorical vs categorical
6.4
Numeric variables
6.4.1
Univariate numeric
6.4.2
Bivariate numeric
6.5
Mixed data
6.6
Activity
7
Correlation
7.1
What is correlation?
7.1.1
Data and R environment
7.1.2
Visualizing correlation
7.1.3
Activity 1
7.1.4
Activity 2
7.2
Measuring correlation
7.2.1
Activity 3
8
Linear model. Simple linear regression
8.1
Welcome
8.2
Introduction to simple linear regression
8.2.1
The idea behind
8.2.2
Formal specification
8.3
Fitting linear regression in R
8.3.1
R syntax
8.3.2
Running a simple linear regression
8.3.3
Interpreting results
8.4
Model evaluation
8.4.1
Model summary
8.4.2
Further checks
8.5
Lab activities
9
Multivariate linear model
9.1
Introduction
9.2
Multivariete model
9.2.1
Paralell slopes
9.2.2
Multivariete model specification
9.3
R syntax for the multivariate linear model
9.3.1
Model evaluation
9.4
Assumptions
9.5
Lab activities
10
Research report
10.1
Introduction
Workbook suggested answers
10.2
Introduction
10.3
Lab 3 Data wrangling
10.4
Lab 4. Exploratory data analysis
10.4.1
Activity #1
10.4.2
Activity #2
10.5
Lab 6. Visual exploratory analysis
10.5.1
Excercices
10.6
Lab 7. Correlation
10.6.1
Activity 1
10.7
Lab 8. Linear model. Simple linear regression
10.7.1
Lab activities
10.8
Lab 9. Multivariate linear model
10.8.1
Lab activities
References
Published with bookdown
UG Quantitative Methods in the Social Sciences lab workbook
Lab 10
Research report
10.1
Introduction