Assignment 2 - Econometrics
Assignment 2 - Econometrics
Assignment 2 - Econometrics
Solutions to computer exercises C1; C2; C3 and C4; CHAPTER 03; WOOLDRIDGE
C1
(i)
Significantly lower birth weight was observed at the time point with lower income.
Improvement in income revealed an almost linear increase in birth weight. ( (Family income
and low birth weight in term infants: A nationwide study in Israel)
Most likely sign for coefficient estimate of B2 must be positive (>0), because more income
for family typically means better nutrition for the mother and better prenatal care.
(ii)
It is negatively correlated. The sample correlation between cigs and faminc is come out to be
-0.1730, thus indicating a negative correlation.
. correlate faminc cigs
(obs=1,388)
faminc cigs
faminc 1.0000
cigs -0.1730 1.0000
(iii)
C2
(i)
. reg price sqrft bdrms
(ii)
Holding square footage constant, the above equation can be written as:
price= 15.2 bdrms
So, estimated price increases by 15.2 which means $15.200 because price measured in
thousands of dollars.
(iii)
From the equation given in part one: price= 0.128sqrft +15.20, here sqrft=140 and bdrms=1
Price= 0.128*140+15.2*1
=17.92+15.2
=33.12
Which means $33,120.
Because the size of the house is greater, it has a much larger effect than in (ii).
(iv)
Since r2=0.632, about 63.2% of the variation in price is explained by square footage and
number of bedrooms.
(v)
From the equation price= -19.32 +0.128sqrft+ 15.2 bdrms , here we have sqrft=2438 and
bdrms=4
Price= -19.32+ 0.128(2438) +15.20(4)
= 353.544
The predicted price is $353,544.
(vi)
From the above part the estimated value of the home based only on square footage and
number of bedrooms is $353,544. The actual selling price was $300,000 which suggests the
buyer underpaid by some margin. But, of course, there are many other features of a house
that affect price and have been not controlled here.
C3
(i)
(ii)
. reg lsalary lsales lmktval profits
Profits cannot be included in logarithmic form because profits are negative for nine of the
companies in the sample. When added in levels form, it gives:
log(salary)= 4.69 +0.162 log(sales) +0.98 log(mktval) +0.000036profit
n=177
2
R =0.299
Predicted salary increases by about only 3.6%, because the coefficient on profits is very
small.
(iii)
. reg lsalary lsales lmktval profits ceoten
(iv)
. corr lmktval profits
(obs=177)
lmktval profits
lmktval 1.0000
profits 0.7769 1.0000
The sample correlation between log(mktval) and profits is about 0.78, which is high. As it is
known, this causes no bias in the OLS estimators, although it can cause their variances to be
large.
C4
(i)
. summarize atndrte priGPA ACT
The obtained minimum, maximum and average values for the three variables atndrte priGPA
and ACT have been written in the table above.
(ii)
. reg atndrte priGPA ACT
Here the intercept is 75.70 and it means that, for a student whose prior GPA is zero as well
as whose ATC score is zero, the predicted attendance rate is 75.7%. The intercept tells the
South East European University Mentor: Prof. Hyrije Abazi Alili
Econometrics Student: Fatlinda Kuqi Sulejmani
fixed predicted attendance rate when all independent variables are zero and so it can be
considered as useful.
(iii)
The coefficient on priGPA means that, if a student’s former GPA is one point greater, the
attendace rate is expected to be around 17.26% points greater. This results in fixed ATC. The
negative coefficient on ATC is conceivably a bit astonishing. Five extra points on the ATC is
predicted to worse the attendance by 5*1.72= 8.6 percentage points at a particular level of
priGPA.
(iv)
Using part (ii) from the estimated model, here with priGPA= 3.65 and ATC=20 the above
equation becomes:
atndrte= 75.70 +( 17.26* 3.65) – (1.72 *20)
=104.299
In general circumstances a student cannot have greater than a 100% attendance rate.
Yes, there is one student (no.604) with priGPA=3.65 and ATC= 20
(v)
For student A with priGPA=3.1 and ACT =21:
atndrte =75.70 +( 17.26* 3.1) – (1.72 *21)
=93.086
REFERENCES: