ECON 3040 - Introduction to Econometrics
This is the course website for ECON 3040.
Textbook
The textbook is available here.
Announcements
The TA, Adefikunola Adetoro, is holding weekly office hours from 10:00 - 11:00 am on Tuesdays and Thursdays. Here is the Microsoft Teams link to join the office hour.
Here is the R code I used in class on Sept. 24:
# Load the data
mydata <- read.csv("https://rtgodwin.com/data/vidsales.csv")
# Make a sub-sample
sub <- subset(mydata, mydata$Publisher == "Nintendo" | mydata$Publisher == "Microsoft Game Studios")
# Create a variable to choose colour in the scatterplot
sub$mycol <- "red"
sub$mycol[sub$Publisher == "Microsoft Game Studios"] <- "blue"
# Create scatterplot
plot(sub$Score, sub$Sales, col = sub$mycol)