Docsity

Prove d'esame: ECONOMETRICS, Prove d'esame di Statistica Economica

Toggle sidebar
bg1
QUESTION 1 (2st):
Suppose we have data collected from an annual survey administered to 1,000 households
from 1991 to 2020. We want to use these data to estimate the following model:
ga s i , t
=
β
0
,i
+
β
1
⋅ wtem p i , t
+
β
2
⋅ incom e i , t
+
ui ,t
where:
ga s i , t
: gas consumption of household
i
in year
t
, measured in cubic meters;
β
0
,i
: fixed effect of household
i
;
wtem p i ,t
: average winter temperature recorded in year
t
for the city where household
i
lives, measured in degrees Celsius;
: total income of household
i
in year
t
, measured in thousands of euros.
A
How is the household fixed effect estimated in practice? What does it capture?
The fixed effects model is estimated using the within transformation (also called the fixed
effects transformation).
¨
yi ,t
=
β'
¨
xi ,t
+¨
ui ,t
where:
¨
yi ,t
=
yi ,t
−´
yi
¨
xi ,t
=
xi ,t
−´
xi
and
´
yi
and
´
xi
denote time averages for household
i
.
This transformation removes the fixed effect
β
0
,i
by subtracting the time average of each
variable for every household. The parameters
β
=(
β
1
, β
2)
'
are then estimated by Ordinary
Least Squares (OLS) on the transformed data. This estimator is known as the Within
Estimator.
The fixed effect
β
0
,i
captures all unobserved individual heterogeneity that is constant
over time, such as housing size, thermal insulation, or permanent household characteristics.
B
Assume that the estimates of
β
1
and
β
2
are:
Coeffici
ent
Estim
ate
Standard Error
SE
(
^
βj
)
β
1
−15
3
β
2
10
1
The following tables report the critical values at level
α
for the
t
(
n
−
k
)
and
F
(
r ,n
−
k
)
distributions.
Critical values for the t-distribution
α
0.0
1
0.0
2
0.0
5
0.9
5
0.9
75
0.9
9
ct
(
n
−
k
)
,α
- - - 1.6 1.96 2.3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Anteprima parziale del testo

Scarica Prove d'esame: ECONOMETRICS e più Prove d'esame in PDF di Statistica Economica solo su Docsity!

QUESTION 1 (2st): Suppose we have data collected from an annual survey administered to 1,000 households from 1991 to 2020. We want to use these data to estimate the following model:

ga s i , t = β 0 , i + β 1 ⋅ wtem p i , t + β 2 ⋅ incom e i , t + u i , t

where:

 ga s i , t : gas consumption of household i in year t , measured in cubic meters;

 β 0 , i : fixed effect of household i ;

 wtem p i , t : average winter temperature recorded in year t for the city where household

i lives, measured in degrees Celsius;

 incom e i , t : total income of household i in year t , measured in thousands of euros.

A

How is the household fixed effect estimated in practice? What does it capture? The fixed effects model is estimated using the within transformation (also called the fixed effects transformation ).

y ¨ i , t = β

'

x¨ i , t + u¨ i , t

where:

y ¨ i , t = y i , t − y´ i x¨ i , t = x i , t − x´ i

and y´^ i and x´^ i denote time averages for household i.

This transformation removes the fixed effect^ β^0 , i by subtracting the time average of each

variable for every household. The parameters β =( β 1 , β 2 )

' are then estimated by Ordinary Least Squares (OLS) on the transformed data. This estimator is known as the Within Estimator. The fixed effect^ β^0 , i captures all unobserved individual heterogeneity that is constant over time , such as housing size, thermal insulation, or permanent household characteristics. B

Assume that the estimates of β 1 and β 2 are:

Coeffici ent Estim ate Standard Error

SE ( ^ β j )

The following tables report the critical values at level α for the t ( n − k ) and

F ( r , n − k ) distributions.

Critical values for the t-distribution

c t ( n − k ) , α -^ -^ -^ 1.6^ 1.96^ 2.

Critical values for the F-distribution

r α =0.95 α =0.975 α =0.

Construct a 95% confidence interval for^ β^2. What does this interval represent?

C I (^) 0.95 ( β 2 )=[ β^ 2 − t (^1) − α / 2 ⋅ SE ( ^ β 2 ) ; β^ 2 + t (^1) − α / 2 ⋅ SE ( β^ 2 )]

^ β

2 =^10 SE^ (^

^ β

2 )=^1 t^ 0.975=1.96^ (from the provided table)

CI =[ 10 −1.96 ⋅ 1 ; 10 +1.96 ⋅ 1 ] CI =[8.04 ; 11.96]This confidence interval represents the set

of values of the parameter β 2 that cannot be rejected by a hypothesis test at the 5%

significance level. In repeated samples, 95% of such intervals would contain the true value

of^ β^2.

QUESTION 7 (G):

Suppose we have data drawn from an annual survey administered to 1,000 households from 1991 to 2020. We want to use this dataset to estimate the following model:

ga s i , t = β 0 , i + β 1 ⋅ wtem p i , t + β 2 ⋅ log ( incom e i , t )+ u i , t , i = 1 ,… , N , t = 1 ,… , T.

where:

 ga s i , t : gas consumption of household i in year t , measured in cubic meters;

 β 0 , i : household-specific fixed effect;

 wtem p i , t : average winter temperature in year t in the city where household i lives,

measured in degrees Celsius;

 incom e i , t : total household income in year t , measured in thousands of euros.

Question a How are household-specific fixed effects estimated in practice? What do they capture? Household fixed effects are estimated using the within transformation (also known as the fixed effects transformation ).

y ¨ ¿= β

'

x¨ ¿ + u¨ ¿ ,

where:

y ¨ ¿= y ¿− y´ i , x¨ ¿= x ¿− x´ i.

y¨ ¿= ga s i , t − gas´ i.

 X¨ : matrix of dimension NT × k (30,000 rows and 2 columns).

It contains the within-transformed regressors:

wtemp^ ¨

i , t ,^

log ( income¨ )

i , t.

 β : vector of dimension k × 1 (2 rows).

It contains the slope coefficients:

[

β 2 ]

 u¨ : vector of dimension NT × 1.

It contains the transformed error terms:

u ¨ ¿= u ¿− u´ i.

Question b How are household-specific fixed effects estimated in practice? What do they capture? Household fixed effects are estimated using the within (fixed effects) transformation:

y ¨ ¿= y ¿− y´ i.

By subtracting time averages for each household i , the fixed effect^ β^0 , i is eliminated from the

model, and the remaining parameters are estimated using Ordinary Least Squares (OLS).

The fixed effect^ β^0 , i captures unobserved household-specific characteristics that are constant

over time, such as housing insulation, dwelling size, or persistent consumption habits.

Construct a 95% confidence interval for β 2.

^ β

2 =^10 ,SE^ (^

^ β

2 )=^1 ,^ t^ 0.975=1.^.

C I 1 − α = ^ β 2 ± t 1 − α / 2 ⋅ SE ( β^ 2 ).

10 ± (1.96 ⋅ 1 ) .C^ I^ 0.95=[8.04^ ;^ 11.96]^.

Question d What is the expected variation in gas consumption for a household that experiences a 10% increase in income during the year, if the average winter temperature has been one degree Celsius higher than last year?

Δ gas = β 1 ⋅ Δ wtemp + β 2 ⋅ Δ log ( income ).

β 1 =− 15 , Δ wtemp =+ 1 , β 2 = 10 , Δ log ( income ) ≈ 0..

(− 15 ⋅ 1 )+( 10 ⋅ 0.10)=− 15 + 1 =−14.Gas consumption is expected to decrease by 14 cubic

meters on average. Question e Test, at the 5% significance level, the hypothesis that average winter temperature is irrelevant for gas consumption, against the alternative that lower temperatures are associated with higher gas consumption, ceteris paribus.

H 0 : β 1 = 0 ,H 1 : β 1 <0.

t =

^ β

1

SE ( β^ 1 )

c t ,0.05=−1.64 .Since − 5 ←1.64, we reject the null hypothesis.

Average winter temperature is statistically significant: lower temperatures are associated with higher gas consumption. QUESTION 9 (G): Panel data for 350 cities over the period 2001–2010 are used to estimate the following model:

crim e ¿= α i + β 2 ⋅ polic e ¿ + β 3 ⋅ une m ¿ + β 4 ⋅ youn g ¿ + β 5 ⋅ ( youn g ¿ ⋅ une m ¿ )+ u ¿

Where:

 crim e ¿: number of reported crimes per 1,000 residents

 polic e ¿: number of police officers per 1,000 residents

 une m ¿: local unemployment rate (percentage)

 youn g ¿: percentage of population aged 15–

OLS Results Coeffici ent Estim ate Standard Error

β 2 -1.2^ 0.

β 3 0.9^ 0.

β 4 0.3^ 0.

β 5 0.35^ 0.

R

2

=0.650 R´

2

How can the model be written in matrix form Y = Xβ + u? What are the dimensions of

Y , X , β , and u? What do they contain?

y = Xβ + ε

(assuming the Within transformation is applied to eliminate the fixed effects^ α^ i ).

 y : vector of dimension NT × 1.

With N = 350 and T = 10 , the dimension is 3500 × 1.

It contains observations on crime.

 X : matrix of dimension NT × k.

Dimension 3500 × 4.

It contains observations on the four explanatory variables.

 β : vector of dimension k × 1.

Dimension 4 × 1.

It contains the parameters β 2 , β 3 , β 4 , β 5.

Examples:

  1. Geographic location of the city
  2. Historical regional regulations or local laws
  3. Cultural or social attitudes toward crime embedded in the community QUESTION 10 (G): Suppose we have data from an annual survey administered to 1000 households from 1991 to
  4. We want to estimate the following model:

ga s i , t = β 0 , i + β 1 ⋅ wtem p i , t + β 2 ⋅ log ( incom e i , t )+ u i , t

Where:

 ga s i , t : gas consumption of household i in year t , measured in cubic meters

 β 0 , i : household-specific fixed effect

 wtem p i , t : average winter temperature in the year t in the city where household i lives,

measured in Celsius degrees

 incom e i , t : total income of household i in year t , measured in thousands of euros

How can you write the model in matrix form Y = Xβ + u? What is the dimension of

Y , X , β , and u? What do they contain?

y = Xβ + u Dimensions and contents ( N = 1000 , T = 30 , n =30,000):

 Y : vector of dimension 30,000 × 1. Contains observations of gas consumption.

 X : matrix of dimension 30,000 × 1002. Contains 1000 dummy variables for fixed effects

and 2 explanatory variables ( wtemp and log ( income )).

 β : vector of dimension 1002 × 1. Contains the 1000 household-specific parameters

β 0 , i and the coefficients β 1 , β 2.

 u : vector of dimension 30,000 × 1. Contains the error terms.

How are the household-specific fixed effects estimated in practice? What do they capture?

 Using the within transformation: y¨^ ¿=^ y^ ¿−^ y´^ i , which eliminates^ β^0 , i

 Or using the LSDV estimator by including dummy variables for each household What they capture:  Unobserved, time-invariant heterogeneity specific to each household

 Examples: energy efficiency of the house, long-standing habits of the family

Construct a 95% confidence interval for^ β^2 if the estimates are:

Coeffici ent Estim ate Standard Error

β 1 -15^3

CI = ^ β 2 ± t 1 − α / 2 ⋅ SE ( ^ β 2 )

^ β

2 =^10 ,SE^ (^

^ β

2 )=^1 ,^ t^ 0.975=1.

C I 0.95=[8.04 ,11.96]

What is the expected variation in gas consumption for a household that has experienced a 10% income increase during the year, if the average winter temperature in the city has been one Celsius degree higher than last year?

Δ gas = β 1 ⋅ Δ wtemp + β 2 ⋅ Δ log ( income )

β 1 =− 15 , Δ wtemp = 1 , β 2 = 10 , Δlog ( income ) ≈ 0.

Test, at the 5% significance level, the hypothesis that the average winter temperature is irrelevant for gas consumption, vs the alternative that lower average temperature is associated with higher gas consumption (ceteris paribus)

H 0 : β 1 = 0 vs H 1 : β 1 < 0 t =

β^ ^

1

SE ( ^ β 1 )

=− 5 t^ 0.05=−1.

Since t =− 5 ←1.64, we reject H 0.

The average winter temperature is statistically significant with a negative effect on gas consumption.

t-distribution t ( n − k ) , α

t -

3

F-distribution F ( r , n − k ) , α

r 0. 5

 u : vector of dimension 30,000 × 1. Contains the error terms.

How are the household fixed effects estimated in practice? What do they capture?  Using the LSDV estimator (Least Squares Dummy Variable) by including a dummy for each household

 Or using the within transformation : y¨^ ¿=^ y^ ¿−^ y´^ i , which eliminates^ β^0 , i and allows OLS

estimation What they capture:  Time-invariant, unobserved heterogeneity specific to each household  Examples: thermal insulation efficiency, house size, long-standing household habits

Construct a 95% confidence interval for^ β^2. What does this interval represent? (

points) Coeffici ent Estim ate Standard Error

β 1 -15^3

CI = ^ β 2 ± t 1 − α / 2 ⋅ SE ( ^ β 2 )

^ β

2 =^10 ,SE^ (^

^ β

2 )=^1 ,^ t^ 0.975=1.

C I 0.95=[8.04 ,11.96]The interval represents the set of statistically plausible values for the

true population parameter^ β^2 with 95% confidence.

What is the expected change in gas consumption for a household whose total income increased by 10% compared to last year, if the average winter temperature in the city was 1°C higher than last year?

Δ gas = β 1 ⋅ Δ wtemp + β 2 ⋅ Δlog ( income )

β 1 =− 15 , Δ wtemp = 1 , β 2 = 10 , Δlog ( income ) ≈ 0.

(− 15 ⋅ 1 )+( 10 ⋅ 0.10)=− 15 + 1 =− 14 Gas consumption is expected to decrease by 14 cubic

meters. e. Test, at the 5% significance level, the null hypothesis that average winter temperature is irrelevant for gas consumption, vs the alternative that lower temperatures are associated with higher gas consumption. (3.5 points)

H 0 : β 1 = 0 vs H 1 : β 1 < 0 t =

^ β

1

SE ( ^ β 1 )

=− 5 t 0.05=−1.

Conclusion:

 Since t =− 5 ←1.64, we reject^ H^0.

 Lower temperatures are associated with higher gas consumption. Reference Tables:

t-distribution t ( n − k ) , α

t -

3

F-distribution F ( r , n − k ) , α

r 0. 5

QUESTION 13 (2ST):

Suppose you have monthly data from 2015 to 2020 for a sample of 100 countries. You want to use these data to estimate the model:

log (stocks i , t )= β 0 , i + β 1 ⋅ tax i , t + β 2 ⋅ GDP i , t + u i , t

Where:

 stocks i , t : number of individuals with stock investments in country i in month t ;

 β 0 , i : fixed effect of country i ;

 tax i , t : tax rate on stock returns in country i in month t ;

 GDP i , t : per capita GDP of country i in month t.

Is it possible to add the country size (in km²) of country i as an explanatory variable in

the model? Why? What is the advantage of considering the fixed effects model

instead of the pooled model (where^ β^0 , i =^ β^0 for all i )?

No, it is not possible to include country size as a separate explanatory variable in a fixed effects model. Country size is a time-invariant variable (it does not change over time). In a fixed effects

model, all variables that do not vary over time are absorbed by the unit-specific intercept β 0 , i

and are eliminated by the within transformation required for estimation.

Suppose the estimates of β 1 and β 2 are:

Coeffici ent Estim ate Standard Error

R

2

RSS

TSS

Formula with data: J = 5 (number of restrictions under^ H^0 ). Assuming N is large as indicated in

the tables (asymptotic distribution):

F =

N − K

or, using simplified formula with R

2

F =

( 1 −0.5)/( N − K )

The critical value F ( r = 5 , n − k )for α =0.05(which corresponds to 1 −0.95 in the provided

table) is 2.21.

If^ F^ calculated >2.21, reject^ H^0. With R 2 =0.5and a large sample (e.g., N − K = 100 ):

F =

Since 20 >2.21, we reject the null hypothesis: the model is statistically significant.

QUESTION 14 (2ST):

Suppose we have yearly data from 2005 to 2009 for a sample of 101 individuals. We want to use these data to estimate the model:

log ( wag e i , t )= β 0 , i + β 1 ⋅ hour s i , t + β 2 ⋅ expe r i , t + β 3 ⋅ ( hour s i , t ⋅ D t > 2007 )+ β 4 ⋅ ( expe r i , t ⋅ D t > 2

Where:

 wag e i , t : annual wage in € of individual i during year t ;

 hour s i , t : hours worked by individual i during year t ;

 expe r i , t : years of work experience accumulated by individual i before year t ;

 D t > 2007 : dummy variable equal to 1 if the observation refers to a period after 2007.

Would it be appropriate to add a dummy variable to the model that takes value 1 if the individual is male and 0 otherwise? No, it would not be appropriate. The model includes individual fixed effects (^ β^0 , i ). In a fixed effects model, all variables that do not vary over time for the same unit (time-invariant variables), such as gender, are collinear with the fixed effect and are eliminated by the "within" transformation (deviation from the individual mean) required for estimation. Adding a dummy for gender would lead to perfect multicollinearity. Name the tests for heteroskedasticity that you know and describe the procedure to apply one of them. Breusch-Pagan test and White test. Procedure (Breusch-Pagan test):

Estimate the original model using OLS and obtain the squared residuals u^ i

2 .

Run an auxiliary regression of the squared residuals on the independent variables:

^ u i^2 = δ 0 + δ 1 x i , 1 + ⋯ + δ k x i , k + v i

The null hypothesis is H 0 : δ 1 = ⋯ = δ k = 0 (homoskedasticity).

Compute the test statistic: LM = N ⋅ R auxiliary

2

where R 2 comes from the auxiliary regression.

Under H 0 , LM follows a χ 2 distribution with k degrees of freedom. If ¿critical value, reject H 0 in

favor of heteroskedasticity.

Assume that the error term u i , t is serially uncorrelated but heteroskedastic, and that

we know that the variance of the error term is related to the age of the individual. Describe a GLS estimator that takes this information into account. Would the OLS estimator be unbiased in this case? (

If Var { u i , t ∣ x i , t }= σ 2 ⋅ h i

where^ h^ i depends on age (e.g., h i = ag e i

2 ), the GLS estimator is obtained by transforming the original model. Divide each term of the model by (^) √ h (^) i (here (^) √ ag e (^) i^2 = ag e (^) i ):

log ( wag e i , t )

ag e i

= β 0 , i

ag e i

hour s i , t

ag e i

expe r i , t

ag e i

u i , t

ag e i

Apply OLS to the transformed model (also known as Weighted Least Squares, WLS). This transformation makes

the residuals homoskedastic with constant variance σ 2.

Yes, the OLS estimator remains unbiased even in the presence of heteroskedasticity, provided

the exogeneity assumption holds ( E { u i , t ∣ x i , t }= 0 ).

However:  OLS is no longer efficient (not BLUE).  Standard errors estimated using OLS will be incorrect. QUESTION 15 (2ST): Suppose we have monthly data from 2015 to 2020 for a sample of 100 countries. We want to use these data to estimate the model:

stock s i , t = β 0 , i + β 1 ⋅ ta x i , t + β 2 ⋅ GD P i , t + u i , t

Where:

stock s i , t : per capita stock of equity investments in country i in month t , measured in

thousands of euros;

β 0 , i : fixed effect of country i ;

ta x i , t : tax rate on stock returns in country i in month t , expressed in percentage points (e.g.,

ta x i , t = 20 corresponds to a 20% rate);

GD P i , t : real per capita GDP of country i in month t , measured in thousands of euros.

How can the model be written in matrix form Y = Xβ + u? What are the dimensions

and contents of Y , X , β , and u?

F-distribution:

C F ( r , n − k ) , α^ 0.

r = 1 3. 4

r = 2 3. 0

r = 3 2. 0

r = 4 2. 7

r = 5 2. 1

Can we reject, at the 5% significance level, the null hypothesis that per capita GDP does not affect the number of individuals investing in equities, against the alternative that higher GDP increases stock-holding individuals? Can we reject it at the 1% level?

 Hypothesis:^ H^0 :^ β^2 =^0 vs^ H^1 :^ β^2 >^0 (one-tailed test).

t-statistic:

t =

β^ ^

2

se ( ^ β 2 )

 5% level:^ t^ =^2 >^ C^ 0.95=1.64. Reject^ H^0.

 1% level:^ t^ =^2 <^ C^ 0.99=2.33. Do not reject^ H^0.

What is the expected difference, for month t , in per capita equity investments

between two countries, A and B, given:^ β^0 , A =^15 ,^ β^0 ,B =^10 ,^ ta^ x^ A , t =^22 ,^ ta^ x^ B , t =^23 ,

GD P A , t = GD P B , t.

Δ E [ stocks ]=( β 0 , A − β 0 ,B )+ β 1 ( ta x A , t − ta x B , t )

( 15 − 10 )+(− 1 ) ⋅ ( 22 − 23 )= 5 +(− 1 )(− 1 )= 6 The expected difference is 6 (thousand euros).