Econ 216: PS1 Answer Key
October 6, 2016
QUESTION 1
Suppose X is a random variable. You draw a sample of size four from the population: X1 , X2 , X3 , and X4 .
You are interested in choosing an estimator for the mean of the population. Here are the two al
Economics 216
UC Santa Cruz
Assignment 8
1. The following questions use the data set union_workers.dta. The data includes individual
characteristics, natural log of wages, industry, and union membership status. We wish to estimate
the effect of being a un
Economics 216
UC Santa Cruz
Assignment 7
1. Use the data set minimum_wage.dta to conduct an analysis of the introduction of the
minimum wage of $5.05 in New Jersey in April of 1992.
a) Make a histogram of the distribution of wages at fast food restaurants
Econ 216- Assignment 7
Dar Bareket-Shavit
November 23, 2016
1
Problem 1
(a) Here we have a histogram before and after the policy takes into effect.
The distribution of wages are centered differently, around 4.5 in February and
between 5 and 5.5 in Novembe
Economics 216
Applied Econometrics
Midterm
[60 points]
Name:
1. [10 points] In this question you will derive the OLS estimator in matrix form. Consider a regression with k
explanatory variables and N observations:
The sum of the squared residuals can be w
Economics 216 - ' Name: E U J M01 1"
Fall 2015 Midterm .
Show your work. Put a box around your answer when appropriate.
1. [15 points] You. are interested in a univariate regression with an outcome variable Y and an
explanatory variable X:
Y; W [30 t 51%:
Econ 216: PS2 Answer Key
October 13, 2016
QUESTION 1
In some cases you may know that the intercept of an equation is 0. This is called regression through the
origin:
Yi = 1 Xi + ui
Derive the expression for the coefficient 1 by minimizing the sum of the s
Econ 216 - Assignment 1
Dar Bareket-Shavit
October 5 2016
1
Problem 1
A) In order to estimate whether or not this estimator is biased or unbiased, we
must calculate the expected value of the sample mean, with a population of 4.
To prove that it is unbiase
Lesson 3
Structure of Data
Outline
Previous Lesson:
1. Desirable properties of estimators
2. Hypothesis testing
This Lesson
1. Types of data
2. Indices and base dates
3. Data transformations
The text goes into more detail about graphing. I will leave this
Lesson 4
Ordinary Least Squares:
Univariate
Outline
Previous Lesson
1. Types of data
2. Data transformations
This Lesson:
1. *Deriving ordinary least squares (OLS)
2. *Assumptions of OLS
3. *Properties of OLS
4. *Goodness of Fit
5. *Interpreting coefficie
Lesson 5
Ordinary Least Squares:
Multivariate
Outline
Previous Lesson:
1. Deriving ordinary least squares (OLS)
2. OLS is BLUE
3. Goodness of Fit
This Lesson:
1. Interpreting multivariate regressions
2. Deriving multivariate regression
3. Matrix form
4. M
Assignment 3 Do-file for Econ 216
*assignment 3 econ 216
*problem 1
cd "C:\Users\caitl\Downloads\Econ216"
use assign3_southern
gen exper2=exper^2
reg wage IQ educ exper exper2 tenure black, level(99)
reg wage IQ educ exper exper2 tenure black south
gen bl
Caitlin Nelson
Econ 216
Assignment 4
1. a) In our first regression inventoryturnover is significant at the 10% and 5% levels.
b) After running our second regression, inventoryturnover is no longer significant at the 5% or
10% levels. Using the robust stan
Caitlin Nelson
Econ 216
Assignment 2
5. Problem 3.7 from Asteriou and Hall
a)
Variable
salary
years_comp
years_senior
Observations
132
132
132
Mean
92.372
23.189
7.651
Stnd. Dev.
62.171
11.653
6.258
Minimum
18.5
2
0
Maximum
529.9
45
37
The variable salary
Econ 216: PS4 Answer Key
October 28, 2016
QUESTION 1
This question uses the data set Greece, which has information on firm profits, size, and other characteristics.
a) Estimate the effect of the number of employees and inventory turnover on net profits/sa
Econ 216: PS3 Answer Key
October 23, 2016
QUESTION 1
Use the data set southern for this question. This data set has information on monthly earnings for black
and white in the US.
a) Estimate a regression of the effect of the effect of IQ, education, exper
Econ 216 - PS6
Dar Bareket-Shavit
November 16 2016
1
Problem 1
(a)
min 2i =
N
X
0 )2 =
(yi
i=1
min
N
X
2yi 0 + 0 2 )
(yi2
i=1
N
X
yi2
20
i=1
@2i
=
@ 0
2
N
X
yi + N 0 2
i=1
2
N
X
yi + 2N 0 = 0
i=1
N
X
yi = 2N 0
N
X
yi = N 0
i=1
i=1
PN
i=1
yi
N
= 0
(b)
1
f
Econ 216-PS3
Dar Bareket-Shavit
October 19 2016
1
Problem 1
A) wagemonthly = 483.02 + 4.191IQ + 56.86education + 23.85experience
.385experience2 + 7.301tenure 116.03black
1
Holding all else constant, if you are African American, you will make $116.03
les
Econ 216 - PS5
Dar Bareket-Shavit
November 9 2016
1
Problem 1
(a) There are 191 union members in the data set, 607 total. The average age,
experience, and tenure is significantly higher for union members than non-union
members. Union members have an avera
Econ 216 - Assignment 2
Dar Bareket-Shavit
October 12 2016
1
Problem 1
Thre regression through the origin is as follows
Yi = 1 Xi + ui
Now we must minimize the sum of the squared residuals, or follow the formula for RSS:
RSS =
n
X
u
2i
i=1
u
i = Yi Yi = Y
Econ 216 - Assignment 4
Dar Bareket-Shavit
October 26 2016
1
Problem 1
(1)
Variables
Net Profit Sales
Inventory Turnover
-0.0196*
(0.00930)
Number of Employees
0.0498
(0.0381)
Constant
3.710*
(1.763)
Observations
129
R-squared
0.049
Standard errors in par
Available from selected booksellers or
online at www.palgravehighered.com
AU/NZ: w w w .palgravemacmillan.com.au
CAN: w w w .raincoast.com
USA: orders@mpsvirginia.com
Applied Econometrics
3rd edition
Dimitrios Asteriou, Stephen G. Hall
Macmillan Education