econometrics21

BUS444E Econometrics for Business Research Spring 2021

Useful information about how to read data of different formats / file types into R here.

Pages with links to data from published papers, mostly in Stata .dta format:

Project: replication of Acemoglu, Johnson and Robinson (2001):

Lecture 1

Homework / preparation:

Links:

Lecture 2

Homework / preparation:

Task 1

>library(foreign)

>data1 = read.dta("maketable2.dta")

Task 2

>mean(data1$re78) # here it is assumed that you named the data frame data1 when importing the data

>aggregate(re78~train, data=data1, mean)

Task 3