Problem Set 6

Important

Due October 27th at 11:59 pm on Canvas

Problem Set 5 is posted on Canvas. You must use the provided RMarkdown file to complete this problem set.

If you have any issues using RMarkdown please see me in my office so we can make sure you can knit the file on your computer.

Files

  1. Problem Set - PDF
  2. RMardown file
  3. Dataset

Purpose

This fourth problem set will help you practice:

  1. Understanding the components of a linear regression model
  2. Running a linear regression model in R
  3. Interpreting the output of the lm() function

You will use the following commands:

# From the previous problem sets
read.csv()
lm()

Criteria for success

In addition to providing the correct code and/or answer, a successful problem set will:

  1. Have clear explanations that demonstrate your knowledge of the material
  2. Use the “comment out” function to explain what the code is doing

Footnotes

  1. This route requires a few more tools. You need to install RMarkdown and TinyTeX. The upside? You can produce beautiful documents that show your code and output.↩︎