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. Bring your laptop for 5 Feb lecture.
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
- 10 Feb: Day 1 Working with Survey Data in R RData Rmd html
- 11 Feb: Day 2 Regression in R Rmd html
- Chapters 4 and 7.3-7.6 in Chapter 7
- Email your R Markdown to Esther or Soran for feedback (optional)
- 12 Feb: Day 3 Experiments RData Rmd html STAR.csv
- Chapters 2 and 7.3 in Chapter 7
- Email your R Markdown to Esther or Soran for feedback (optional)
- 13 Feb: Compulsory Assignment (in-class exam, open book)
- R Swirl - this is an interactive software within R containing modules you can practice with.
- W3Schools R Exercises
If you have any questions about the content or the schedule, contact instructors: Esther Song ([email protected]) and Soran Hajo Dahl ([email protected]).