EC320, Set 01
Spring 2024
What is the goal of econometrics?
To learn about the world using data.
Why do economists (and others) study econometrics?
Providing answers to important problems.
Ex.
What is the goal of econometrics?
To learn about the world using data.
Why do economists (and others) study econometrics?
Providing answers to important problems.
How do you pronounce it?
Why should you study econometrics?
Develop skills and learn to use tools that are valued by employers.
Cultivate a healthy sense of skepticism
IMO1, of all the courses in a typical economics major, econometrics is the most translatable to a job
Why should you study econometrics?
Throughout this course, I will try my best to emphasize why:
Econometrics is built on crucial fundamentals. These fundamentals is the focus of this class.
Most econometric inquiry concerns one of two distinct goals:
In this class, and in EC 421, we will focus on the later. The former is the focus of EC 422 and EC 524
Common refrain.1
“Correlation does not necessarily imply causation.”
Why might correlation fail to describe a causal relationship?
Common refrain.1
“Correlation does not necessarily imply causation.”
Correlation may imply causation if we assume “all else equals”
This assumption is fragile in the real world.
Solutions:
Do you think this is a causal statement?
How can we ensure the all else equals assumption holds?
Randomization
Randomized Controlled Trails (RCT)
In 2019, the Nobel Prize winners adapting RCTs to projects in development economics2
Research question
Does health insurance improve health?
The all else equals assumption would require:
What would violate this assumption?
If more money is correlated with better health, and the average income of those who buy health insurance is higher, then we violate this assumption
But what if health insurance is randomly assigned?
Oregon Health Insurance Experiment
The Oregon Health Insurance Experiment is a landmark study of the effect of expanding public health insurance on health care use, health outcomes, financial strain, and well-being of low-income adults… In 2008, the state of Oregon drew names by lottery for its Medicaid program for low-income, uninsured adults, generating just such an opportunity. This ongoing analysis represents a collaborative effort between researchers and the state of Oregon to learn about the costs and benefits of expanding public health insurance.
An external, non-experimental factor creates circumstances that resemble a controlled experiment
Real-world events provide opportunity to compare similar groups
With some assumptions, researchers infer the causal relationships examining differences in outcomes between groups
Any examples of natural experiments that come to mind?
Here are some of the more famous ones:
In more recent news:
We start to build up the fundamentals of causal analysis
But first we need to build up the necessary Theory, Tools, and Skills
This course will focus almost exclusively on a particular method that is common in statistics in general:
Rough weekly outline:
Final: Thursday, June 13 @ 08:00a
I use GitHub to host a separate site with all the course materials
You can find a link to it here or on the Canvas homepage
I use it because:
EVERYTHING will be posted to both Canvas and GitHub except one thing… the slides
All zoom records will only be available on Canvas
Please call me Andrew
> Metrics
Please call me Andrew
> Grad school
Please call me Andrew
> Before grad school
An applied econometrician1 needs a solid grasp on (at least) three areas:
This course aims to deepen your knowledge in each of these three areas.
To quote the project website1
R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.
What does that mean?
was created for the statistical and graphical work required by econometrics–written by statistical programmers
has a vibrant, thriving online community. (stack overflow)
Plus it’s free and open source
1. is free and open source—saving both you and the university money.
2. Related: Outside of a small group of economists, private- and public-sector employers favor over Stata and most competing softwares.
3. is very flexible and powerful—adaptable to nearly any task, e.g., ’metrics, spatial data analysis, machine learning, web scraping, data cleaning, website building, teaching. I write all my slides, problem sets, and exams in R.
4. Related: imposes no artificial restrictions on your amount of observations, variables, memory, or processing power.
5. If you put in the work,1 you will come away with a valuable and marketable tool.
6. I 💖
Installation
You need to install 2 pieces of software:
For explicit instructions for how to install, follow this tutorial
Note: /RStudio installations differ by operating system
v. RStudio
works without RStudio
RStudio doesn’t work without
You will dive deeper in lab, but here six big points about :
Everything is an object
Every object has a name and value
You use functions on these objects
Functions come in libraries (packages)
R will try to help you
R has its quirks
foo
foo <- 2
mean(foo)
library(dplyr)
?dplyr
NA; error; warning
The previous 7 slides were all written by Chat GPT
Chat GPT is a breathtaking piece of technology
But it is also frightening. This tech has and will continue to disrupt education
It has changed my day to day workflow already.
Use it wisely. Don’t cheat with it. But use it to help your understanding.
EC320, Set 01 | Introduction and Overview