Topic 1 class exercises
Topic 1 class exercises
------------------------------------------------------------------------------
leisure | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -13.52333 .2602827 -51.96 0.000 -14.03349 -13.01317
agesq | .1784276 .0030344 58.80 0.000 .1724801 .1843751
male | 43.75669 2.309296 18.95 0.000 39.23041 48.28296
coloured | 15.87811 3.769596 4.21 0.000 8.489607 23.26661
indian | -18.4928 7.862506 -2.35 0.019 -33.9035 -3.082088
white | -38.41716 4.561935 -8.42 0.000 -47.35866 -29.47565
_cons | 1144.691 4.931571 232.11 0.000 1135.025 1154.357
------------------------------------------------------------------------------
Where the variables are defined as follows:
leisure Total minutes spent in leisure per day (incl. sleeping & eating)
age Age in years
agesq Age squared
male 1 if male, 0 otherwise
coloured 1 if Coloured, 0 otherwise
indian 1 if Indian, 0 otherwise
white 1 if White, 0 otherwise
Page 1 of 5
ECON7IE Topic 1 Class Exercises
Page 2 of 5
ECON7IE Topic 1 Class Exercises
3.1 Conduct a Chow test to determine whether the regression equation for lrent is stable before and
after 1990, using the three sets of regression results and the F-table extract shown below:
Regression A:
. reg lrent avginc pctstu
------------------------------------------------------------------------------
lrent | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
avginc | .0427615 .0020328 21.04 0.000 .0387384 .0467846
pctstu | .0053061 .0010295 5.15 0.000 .0032686 .0073436
_cons | 4.792021 .0533775 89.78 0.000 4.686381 4.897662
------------------------------------------------------------------------------
Regression B:
. reg lrent avginc pctstu if y90==0
------------------------------------------------------------------------------
lrent | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
avginc | .0426749 .0035119 12.15 0.000 .0356524 .0496974
pctstu | .0039507 .0008049 4.91 0.000 .0023411 .0055603
_cons | 4.756772 .0611158 77.83 0.000 4.634563 4.87898
------------------------------------------------------------------------------
Regression C:
. reg lrent avginc pctstu if y90==1
------------------------------------------------------------------------------
lrent | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
avginc | .024278 .0027571 8.81 0.000 .0187648 .0297912
pctstu | .0040037 .0012976 3.09 0.003 .001409 .0065984
_cons | 5.339289 .0845494 63.15 0.000 5.170222 5.508356
------------------------------------------------------------------------------
Page 3 of 5
ECON7IE Topic 1 Class Exercises
[6]
3.2 Use the results shown below, which apply the dummy variable method, to answer the questions
that follow:
. g y90pct = y90*pctstu
. g y90inc = y90*avginc
------------------------------------------------------------------------------
lrent | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
pctstu | .0039507 .001071 3.69 0.000 .0018306 .0060708
avginc | .0426749 .0046726 9.13 0.000 .0334249 .0519248
y90pct | .0000531 .0015232 0.03 0.972 -.0029623 .0030685
y90inc | -.0183969 .0052087 -3.53 0.001 -.028708 -.0080858
y90 | .5825175 .1076725 5.41 0.000 .369369 .795666
_cons | 4.756772 .081315 58.50 0.000 4.595801 4.917743
-------------+----------------------------------------------------------------
(a) Does the intercept change significantly before and after 1990, and if so, how? [3]
(b) Which slope parameter is stable and which is unstable? Explain. [4]
Page 4 of 5
ECON7IE Topic 1 Class Exercises
------------------------------------------------------------------------------
leisure | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
age | -7.56778 .1613542 -46.90 0.000 -7.884039 -7.251522
dz | 14.4508 .2414576 59.85 0.000 13.97753 14.92406
male | 43.21195 2.305773 18.74 0.000 38.69258 47.73133
coloured | 12.86198 3.76313 3.42 0.001 5.486155 20.23781
indian | -20.41697 7.850233 -2.60 0.009 -35.80362 -5.03032
white | -41.79348 4.555947 -9.17 0.000 -50.72325 -32.86371
_cons | 1105.701 4.352787 254.02 0.000 1097.17 1114.233
------------------------------------------------------------------------------
4.1 On average, how does getting older by one year change a person’s amount of leisure time, ceteris
paribus, for someone who is:
(a) Younger than 35? [2]
(b) Older than 35? [3]
4.2 Do a quick sketch of the estimated relationship between age and leisure (not to scale!). Assume
all else is zero. [3]
4.3 Which model explains leisure better: the age quadratic (in Q1) or the age spline? [1]
Page 5 of 5