DATA ANALYSIS FOR ECONOMICS
PROBLEM SET 4: DUMMY VARIABLES
1 Using the data of eight firms, a regression model was estimated to analyze the
relationship between investment in thousand Euros (π¦π¦ππ ) and production growth rate in %
(π₯π₯ππ ):
π¦π¦οΏ½π€π€ = 3.841 β 0.0812π₯π₯ππ π
π
2 = 0.466 ππππππ = 39.21 ππ = 8
(2.12) (0.038)
Additionally, two different regressions are estimated. The first one only takes into account
European firms within the original sample:
π¦π¦οΏ½π€π€ = β0.372 + 0.108π₯π₯ππ π
π
2 = 0.976 ππππππ = 0.949 ππ = 4
(0.782) (0.012)
And the second one only takes into American firms within the original sample:
π¦π¦οΏ½π€π€ = 1.259 + 0.171π₯π₯ππ π
π
2 = 0.933 ππππππ = 1.407 ππ = 4
(1.43) (0.032)
Find whether making the distinction between European and American firms helps to
understand better the behaviour of investment and interpret your results.
2 We have the following estimated regression model that explains the behaviour of
profits:
οΏ½ π€π€ = 215 + 14π π π π π π π π π π π π ππ β 22βππππππππ β 50π π π π π π π π βππ + 45π’π’π’π’π’π’π’π’π’π’ππ
ππππππππππππ
Such that profit is monthly profits in thousand dollars, sector is a sector dummy variable with
a value of 1 if the sampled company belongs to the tertiary sector, home is a nationality dummy
variable equals to 1 if the sampled company is a national company, south is a dummy variable
with a value of 1 if the sampled company is located in the south of the country and urban is
a dummy variable with a value of 1 if the sampled company is located in an urban area.
a- Find the predicted average profit for a foreign manufacturing company that is located
in a rural area at the north of the country.
b- Taking two companies of our sample, find the estimated average difference in their
monthly profit if we know that one of them is a national manufacturing company
located in a southern city of the country and the other one is a foreign services
company located in a northern city of the country.
1
DATA ANALYSIS FOR ECONOMICS
3 The Chinese Ministry of Education is performing an analysis about the recurrent
expenditures in secondary schools in the city of Shanghai. Using a sample of 74 secondary
schools, the following estimation results are obtained:
π¦π¦οΏ½π€π€ = 23,953.3 + 339.0432π₯π₯ππ π
π
2 = 0.394 ππππππ = 8.916 ππ = 74
(27,167.96) (49.551)
Where the dependent variable is recurrent expenditures and the explanatory variable is
number of students in each secondary school.
However, it is believed that the type of school affects completely the behaviour of recurrent
expenditures and two different regression models are estimated distinguishing between
regular secondary schools (40 observations) and occupational secondary schools (34
observations) such that:
π¦π¦οΏ½π€π€ = 47,974.07 + 436.7769π₯π₯ππ π
π
2 = 0.634 ππππππ = 3.4895 ππ = 34
(33.879,03) (58,621)
π¦π¦οΏ½π€π€ = 51,475.25 + 152.2982π₯π₯ππ π
π
2 = 0.263 ππππππ = 1.215 ππ = 40
(21,599.14) (41.398)
Is there a significant difference in the behaviour of recurrent expenditures between the two
types of schools? Interpret your result at 1% significance level.
4 Male babies tend to weigh more than female babies. If we define a dummy variable
ππ = 1 for male babies and ππ = 0 for female babies, the regression that explains babyΒ΄s
weigh in grams (ππ) as a function of the number of cigarettes per day smoked by the mother
(ππππππππ) and the dummy variable ππ is the following (sample size ππ = 964):
π¦π¦οΏ½π€π€ = 3,354 + 119ππππ β 7ππππππππππ π
π
2 = 0.033
(20) (26) (2.1)
Interpret this estimated regression model.
5 Using the data of the previous exercise, a new regression model is estimated such
that (strategy 1):
π¦π¦οΏ½π€π€ = 3,418 β 7.2ππππππππππ π
π
2 = 0.012 ππππππ = 158.6 ππ = 964
(143) (2.1)
2
DATA ANALYSIS FOR ECONOMICS
Strategy 2 consists on performing two different regressions. The first one only takes into
account babies that are first-born (their mothers have not got previous births):
π¦π¦οΏ½π€π€ = 3,363 β 4.0ππππππππππ π
π
2 = 0.004 ππππππ = 91.2 ππ = 584
(18) (2.8)
And the second one only takes into account babies that are not first-born (their mothers
have got previous births):
π¦π¦οΏ½π€π€ = 3,506 β 12.1ππππππππππ π
π
2 = 0.039 ππππππ = 63.5 ππ = 380
(23) (3.1)
Find the most appropriate strategy to better understand the behaviour of the dependent
variable (structural break?) and interpret your results at 1 % significance level.
6 We have the following estimated regression model that explains the behaviour of
salaries:
π€π€π€π€π€π€π€π€
οΏ½ ππ = 300 + 25ππππππππ + 37ππππππππ + 14ππππππππππ β 22ππππππππππππ β 50π π π π π π π π βππ + 45π’π’π’π’π’π’π’π’π’π’ππ
Such that wage is the weekly salary in dollars, edu is years of education, exp is years of
professional experience, male is a gender dummy variable with a value of 1 if the sampled
individual is a male, black is a race dummy variable with a value of 1 if the sampled individual
is black, south is a dummy variable with a value of 1 if the sampled individual lives in the
south of the country and urban is a dummy variable with a value of 1 if the sampled individual
lives in an urban area.
a- Which would be the predicted average salary for a black female that lives in a rural area
at the north of the country when edu and exp are equal zero?
b- Taking two males from our sample with the same years of education and the same
years of professional experience, which would be the estimated average difference in their
weekly salary if we know that one of them is black and lives in a southern city of the
country and the other one is white and lives in a northern city of the country?
7 We have a housing price model with the following variables: price (house prices), sqrft
(house size), bdrms (number of bedrooms) and colonial (dummy variable equal to one if the
house is of the colonial style. The estimation results are the following (sample size is 88
houses):
οΏ½ π€π€ ) = 5.56 + 0.707 log(π π π π π π π π π π ππ ) + 0.027ππππππππππππ + 0.054ππππππππππππππππππ
log (ππππππππππ
(0.65) (0.093) (0.029) (0.045)
3
DATA ANALYSIS FOR ECONOMICS
a- Interpret this estimated regression model.
b- Is the effect of the variable bdrms statistically significant?
c- Is there a significant evidence to say that colonial houses are more expensive than
the rest of the houses independently of the rest of the factors?
d- Is the above model globally significant knowing that π
π
2 = 0.649?
8 The following wage equations have been estimated using data on workers from
Vietnam:
log(οΏ½
π π π π π π π π π π π π ) = 1.25 + 0.15ππππππππππππ + 0.02ππππππ
(0.35) (0.03) (0.004)
log(οΏ½
π π π π π π π π π π π π ) = 1.55 + 0.10ππππππππππππ + 0.015ππππππ β 0.0005ππππππππππππ β ππππππ
(0.48) (0.05) (0.005) (0.002)
Where salary is measured in US dollars and gender is a dummy variable taking the value of 1
if the worker is a male and 0 if the worker is a female, exp measures the years of work
experience.
a- What is the estimated average difference between a manΒ΄s salary with 5 years work
experience and that of a womanΒ΄s with 10 years work experience according to the
first model?
b- What is the estimated average difference between a manΒ΄s salary with 5 years work
experience and that of a womanΒ΄s with 10 years work experience according to the
second model?
c- Test that the salary difference between men and women does not depend on
experience.
9 To see whether people living in urban areas spend more on fish than people living
in rural areas, we get the following estimation results:
OLS Estimation results
Dependent: log(expenditure in fish)
Explanatory OLS t-statistic Degrees of Significance t-critical
Variable Coefficient Freedom level
Intercept 6.375 36 0.01 -
log(income) 1.313 5.328 36 0.01 2.719
gender -0.055 -1.378 36 0.01 -2.719
urban 0.143 10.311 36 0.01 2.719
Sample size (n) 40 F-statistic Degrees of Significance F-critical
Freedom level
R-squared 0.750 36 3(n),36(d) 0.01 4.40
4
DATA ANALYSIS FOR ECONOMICS
Where the dependent variable is expenditure in fish (with log), income is disposable income
(with log), gender is a gender dummy with 1 if male and 0 if female and urban is another
dummy which takes the value 1 if person lives in an urban area. Please, answer the
following three questions:
a- Interpret the above estimations results (only the value of the OLS coefficient for each
of the explanatory variables).
b- Is the variable gender individually significant to explain the behavior of fish
expenditures (at 1% significance level)? Explain.
c- Is the model globally significant at 1% significance level? Explain.