ICPSR Summer Program Teaching

R - Learning By Example

The Learning by Example course will attempt to provide you everything you need to get your own analyses up and running in R. This five-day course will cover many of the models for the analyses that most common to the social sciences. Here are the topics we will cover throughout the week.

  1. Preliminaries and Foundations
  2. Data Visualization with ggplot2
  3. Descriptive Analysis and Measures of Association
  4. Linear Models
    1. Presentation
    2. Non-linear relationships and effects plots
    3. Diagnostics
    4. Interactions
  5. GLMs (mostly focusing on logit)
    1. Presentation
    2. Non-linear relationships
    3. Effects Plots
    4. Diagnostics
    5. Interactions
  6. Ordered/Multinomial Logit
    1. Presentation
    2. Parallel Regressions Assumption
    3. Effects plots
    4. Conditional logit with choice-specific characteristics As time and interest permit, we will also discuss:
  7. Complex Surveys
    1. Descriptives
    2. Plots
    3. GLMs
  8. Multilevel Models
    1. Clustered standard errors
    2. Random intercept models
    3. Random coefficient models
    4. Effect plots
    5. Bayesian model estimation with brms
  9. Panel/Longitudinal/TSCS models
    1. Time-series properties of data
    2. Fixed and Random effect models
    3. Between and within unit effects
    4. Using the plm package to estimate TSCS models
    5. Specification and error tests for models.
  10. Measurement 1. Summated rating model and reliability analysis 2. Exploratory factor analysis and principal components analysis 3. Confirmatory factor analysis and structural equation models

To walk us through all of these topics, I’ve written a book - R: Learning by Example. It’s in very early draft format, but it covers the ground we need to cover now. You can find the book here.

I have developed a cheat sheet of sorts to help remind participants in the course what we talked about.