Fiona Jiayuan Li
Homework 4
Econ 140A
11/12/2014
series male = 1- Fe
ls wsal_val c ed age age^2 fe black male*black fe*ed black*ed male*black*ed
Dependent
Variable:
WSAL_VAL
Method: Least
Squares
Date: 11/12/14
Time: 14:55
Sample: 1 89984
Included
observa
Economics 140A
Winter 2015
Jones/White
Homework 3
Note: In this assignment, CPS data refers to the file cps_march_2014.wf1
1.
a. Find the formula for var(1 2 ).
b. Find the formula for var(1 1 + 2 2 )
2. Use the data set cdcosts2010 to estimate the margin
Earnings and Height
You will need the dataset Earnings and Height, which contains data on earnings, height, and other
characteristics of a random sample of U.S. workers. In this exercise, you will investigate the relationship
between earnings and height.
Economics 140A
Fall 2014
Jones/White
Quiz 1
Answer all 4 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from the
Economics 140A
Winter 2015
Jones/White
Homework 5
2
1. Consider the regression = + . There are = 1 + 2 observations and () = 1
2
for the first = 1,2, , 1 observations, while () = 2 for the last = 1 + 1, 1 +
2, , 1 + 2 .
a. Derive the variance of . (You ma
Economics 140A
Winter 2015
Jones/White
Final
Answer all 6 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from th
Economics 140A
Winter 2015
Jones/White
Final
Answer all 6 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from th
Economics 140A
Winter 2015
Jones/White
Quiz 2
Answer all 4 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from t
Economics 140A
Winter 2015
Jones/White
Quiz 2
Answer all 4 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from t
Economics 140A
Winter 2015
Jones/White
Quiz 1
Answer all 4 questions. Each question is worth 15 points, although some questions are easier
than others. Be sure to show your work for each question.
Write your answers on the pages provided separately from t
Economics 140A
Winter 2015
Jones/White
Homework 4
Use our CPS data for this homework.
Consider the regression
= 0 + 1 + 2 + 3 2 + 4 + 5 + 6
+ 7 + 8 + 9
1. Give point estimates for salaries for the following (you might want to use Excel to save
time on
Economics 140A
Winter 2015
Jones/White
Homework 6
Open up the workfile called HW6_Data. Were going to try estimating some supply and
demand curves. Suppose the system is
= 3 2 +
= 3 + + 3 +
(demand)
(supply)
where and are price and quantity (perhaps t
Economics 140A
Time Series Project
The US Bureau of the Census has asked you to analyze data on consumer expenditure to help
forecast the aggregate demand for certain goods and services. You are given aggregate annual
data for 1959-2003 from the National
11/21/2014
Goals
What happens when error terms are
correlated with one another?
Quasi-differencing and Cochrane-Orcutt.
Testing for serial correlation.
Lagged dependent variables and serial
correlation.
Serial correlation
Copyright Dick Startz
1
Copyr
11/25/2014
Goals
Individual fixed effects
Control for unobservables at individual level
Panel data
Fixed Effects and
Difference-in-Differences
Difference-in-differences
Control for unobservables at group level
Repeated cross-section data
*Both are
9/5/2014
Introduction to Econometrics
Economics 140A
Instructor: Professor Dick Startz
Office NH 3038, T. 3:30-4:30 and by appt.
Introduction to Econometrics
Economics 140A
TAs:
Christine Braun
Austin Jones
Corey White
Drop in computer lab hours: SSMS
10/9/2014
Goals
Idea of estimator as a random variable.
Sampled over repeated draws.
Review/introduce expected value, variance,
covariance
Sample Mean and Related Issues
Rules from mathematical statistics for
E , var , cov()
Derive distribution of sa
10/9/2014
Goals
Interpret regression coefficient as marginal
effect.
Error terms versus residuals.
Derive least squares estimator.
Simple Regression
Copyright Dick Startz
1
What is the MC and FC of producing
CDs?
Generic regression model
= + +
CD e
10/14/2014
Goals
Derive distribution of regression coeffficient.
Expected value, variance, normal distribution
Regression continued
Copyright Dick Startz
Which assumptions are needed for which
results?
Gauss-Markov theorem
t-tests and z-tests
1
Copyr
10/28/2014
Goals
Extend simple regression to right hand side
variables.
Multicollinearity.
t-tests involving more than one coefficient.
F-tests involving more than one restriction.
Multiple Regression
Copyright Dick Startz
1
2
What determines pass rat
11/6/2014
Goals
Omitted variable.
Correlated with included variables or not.
Theils misspecification theorem.
Misspecification
Included extraneous variable.
Correlated with error or not.
Copyright Dick Startz
1
Copyright Dick Startz
2
Problem: correl
11/4/2014
Goals
Dummy (0/1) variables.
Interpretation.
Multiple ways of writing.
Dummy variable trap.
Multiple categories.
Dummy variables and functional
forms
Functional forms
Logs
Power series
Copyright Dick Startz
1
Whats nonlinear?
Copyright D
9/5/2014
Goals
Individual fixed effects
Control for unobservables at individual level
Panel data
Fixed Effects and
Difference-in-Differences
Difference-in-differences
Control for unobservables at group level
Repeated cross-section data
*Both are ju
11/21/2014
Goals
What happens when error terms are
correlated with one another?
Quasi-differencing and Cochrane-Orcutt.
Testing for serial correlation.
Lagged dependent variables and serial
correlation.
Serial correlation
Copyright Dick Startz
1
Copyr
9/5/2014
Goals
Linear Probability Model
Probit Regression
Limited Dependent Variables
Questions to be answered
What traits get you into law school?
Who tends to have extramarital affairs?
Binary Dependent Variable
UWashington Law School Admissions
T
11/13/2014
Goals
What happens when error variances differ
across observations?
Generalized least squares (GLS).
Heteroskedasticity
Weighted least squares (WLS).
Testing for heteroskedasticity.
Robust standard errors.
ARCH (if time)
Copyright Dick St
Time Series, Forecasting, and
Serial Correlation
Econ 140A
Spring 2016
1
Goals
PREDICTING THE FUTURE!
2
Goals
Time-series data
What happens when error terms are
correlated with one another (serial
correlation)?
Quasi-differencing and Cochrane-Orcutt
L
Weighted Least Squares and
Heteroskedasticity
Econ 140A
Spring 2016
1
Goals
Weighted averages
What happens when error variances differ
across observations?
Generalized least squares (GLS)
Weighted least squares (WLS)
Robust standard errors
2
Weighted
Misspecification
Econ 140A
Spring 2016
1
Goals
What do we do about omitted variables?
Correlated with included variables (or not)
Theils misspecification theorem
Included extraneous variable
Correlated with error (or not)
Is running a regression bac