Repository for GOV321 quantiative methods course spring 2025 at the department of government, UiB.
Includes materials for lecture 5 Feb, and seminars 10 Feb - 12 Feb 2025. See course schedule here.
Please install R and R studio (follow instructions in the link below) and also download DSS folder.
Book: Data Analysis for Social Science: A Friendly and Practical Introduction. by Elena Llaudet and Kosuke Imai
Download R and R studio here https://posit.co/download/rstudio-desktop/
Download DSS folder from https://press.princeton.edu/student-resources/data-analysis-for-social-science
There will be one introduction to R lecture and three seminars. We will be using R Markdown in the sessions (files with extensions .Rmd
), which are used to produce pdfs or html files that contains code and figures. We will be using very basic R markdown syntax. You can read up on R markdown here.
To view the html file properly please download from the link and open it using a web browser. To open .Rmd
file you need R and R studio installed.
- 5 Feb: Day 0 Introduction to R Rmd html (practice questions: Rmd, answer key: html)
- Chapters 1 & 3
- 10 Feb: Day 1 Working with Survey Data in R Rmd
- Chapters 1 & 3
- 11 Feb: Day 2 Regression in R Rmd
- Chapters 4 and 7.3-7.6 in Chapter 7
- 12 Feb: Day 3 Experiments Rmd
- 13 Feb: Compulsory Assignment (in-class exam)
- R Swirl - this is an interactive software within R containing modules you can practice with.
- W3Schools R Exercises