Materials for the math refresher (R, LaTeX, and Rmarkdown) and introduction to statistics course (Fall 2019)

If you find any errors or typos, or anything you want to add, please shoot me a PR! :)

Math Refresher

  1. Introduction to LaTeX
  2. Introduction to Programming in R
  3. Introduction to Rmarkdown

Labs

  1. Rstudio projects, data.table objects, working directories, subsetting, descriptive statistics, ggplot, sampling distributions
  2. Basic Debugging, Standard Errors and Confidence Intervals, Central Limit Theorem, Population as a DGP, Unbiasedness and Consistency
  3. Recoding and Saving Data, One-sample and Two-sample t-tests, Crosstables and Pearson's Chi-squared Tests
  4. Conditional Means and Simple Linear Regression, Fitting Linear Regression Models in R
  5. Multiple Linear Regression I: Interpretation of Regression Coefficients, the Frish-Waugh Theorem
  6. Multiple Linear Regression II: Data Preparation for a Concrete Data Analysis Example
  7. Multiple Linear Regression III: Fitting Multiple Regression Models to Data, Interaction Effects, Heteroskedasticity-robust Covariance Matrix Estimation.
  8. Binary Outcomes, Maximum Likelihood Estimation, Linear Probability Model, Logistic Regression, Predicted Probabilities
  9. Latent Variable Formulation of the Logit/Probit Model, Ordered and Multinomial Logistic Regression, Simulation-based Confidence Intervals for Predicted Probabilities
  10. Very Short Introduction to Longitudinal Data

Assignments

  1. Basic mean and variance calculations, some combinatorics, exercises in plotting via ggplot, a small simulation exercise
  2. Hypothesis testing, t- and chi-squared tests, statistical power, correlations and linear regression
  3. Assumptions of the Linear Regression Model, interactions, stripes in residuals-versus-fitted plots
  4. Simpson's Paradox, Fixed and Random Effects