






Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!







Numerical evidence:
𝑌
𝑠
̅ −𝑌
̅
𝑙
𝑆𝐸(𝑌
𝑠
̅ −𝑌
̅
𝑙
)
se t>1.96 reject the null (at 5% s.l.), while t>2.58 (at 1% s.l.)
𝑠
𝑙
𝑠
𝑙
Population: the group or collection of all possible entities on interest
Random variable Y : numerical summary of a random outcome
Mean: expected value: 𝐸
𝑌
Variance : measure of the squared spread of the distribution = 𝐸(𝑌 − 𝜇 𝑌
2
𝑌
2
Standard deviation √𝒗𝒂𝒓𝒊𝒂𝒏𝒄𝒆 = 𝝈 𝒀
Covariance: is a measure of the linear association between X and Z
𝑋
𝑍
𝑋𝑍
Correlation coefficient Is defined in terms of the covariance: 𝑐𝑜𝑟𝑟(𝑋. 𝑍) =
𝑐𝑜𝑣(𝑋.𝑍)
√𝑣𝑎𝑟(𝑋)𝑣𝑎𝑟(𝑍)
𝜎 𝑋𝑍
𝜎 𝑋
𝜎 𝑍
𝑋𝑍
Sampling distribution of 𝒀
Mean =𝐸
𝑌
variance = 𝑣𝑎𝑟
𝜎
𝑌
2
𝑛
The law of Large Numbers (LLN): an estimator is consistent if the probability that its falls within an interval
of the true population value tends to one as the sample size increases.
The Central Limit Theorem (CLT) : If Y 1
n
are i.i.d. and 0 < 𝜎
𝑌
2
< ∞ , then when n is large the
distribution of 𝑌
is well approximated by a normal distribution
𝑌
̅ −𝐸(𝑌
̅ )
√𝑣𝑎𝑟(𝑌
̅
)
Hypothesis testing problem (for the mean): make a provisional decision based on the evidence at hand
whether a null hypothesis is true, or instead that some alternative hypothesis is true.
p-value : probability of drawing a statistic at least as adverse to the null as the value computed with your
data, assuming that the null hypothesis is true.
p-value < α REJECT p-value > α NOT REJECT
Confidence interval for 𝜇 𝑌
is an interval that contains the true value of 𝜇
𝑌
𝑖𝑛 95% of repeated samples.
Population regression line is the expected value of Y given X
Slope: is the difference in the expected value of Y, for two values of X that differ by one unit.
The regressor error consists of omitted factors. In general, these omitted factors that influence Y, other
than the variable X. The regression error also includes error in measurement of Y.
Ordinary least squares (OLS) minimize the average squared difference between the actual values of Y i
and
the prediction based on the estimated line. The result is the OLS estimators of 𝛽 0
1
𝑏 0 ,𝑏 1
0
1
𝑖
2
𝑛
𝑖= 1
Measure of fit:
- The regression R
2
measures the fraction of the variance of Y that is explained by X; it is unitless and
ranges between 0 and 1. 𝑅
2
𝐸𝑆𝑆
𝑇𝑆𝑆
∑ (𝑌
̂
𝑖
−𝑌
̂
)
̅̅̅ 2
𝑛
𝑖= 1
∑ (𝑌 𝑖
−𝑌
̅
)
2
𝑛
𝑖= 1
- The standard error of regression (SER) measures the magnitude of a typical
regression residual in the units of Y, and the spread of the distribution of u.
The root mean squared error (RMSE)
Causal effect: on Y of a unit change in X is the expected difference in Y as
measured in a randomized controlled experiment
The least squares assumptions for causal inference
i
i
), i=1, …, n are i.i.d.
The sampling distribution of 𝜷
𝟏
If var(u|X=x) is constant then u is said to be homoscedastic, otherwise u is heteroskedastic.
The Gauss-Markov theorem
Simple formula for the homoskedasticity-only F-statistic
LS F-distribution : LSA in multiple regressor + :
i
is homoscedastic, that is, var(u|X 1
k
) does not depend on X’s
1
,…, u n
are normally distributed then the homoskedasticity-only F-statistic has the “F q, n-k- 1
distribution, where q= the number of restriction and k=the number of regressors under the
alternative
Testing single restriction on multiple coefficients:
Nonlinear regression population functions
if a relation between Y and X is nonlinear:
- the effect on Y of a change in X depends on the value of X- that is, the marginal effect of X is not
constant
- a linear regression is mis-specified: the functional form is wrong - the estimator of the effect on Y of X is biased: in general, it isn’t even right on average - the solution is to estimate a regression function that is nonlinear in X
𝑖
1 𝑖
2 𝑖
𝑘𝑖
𝑖
Assumptions =LSA but the difference is that the expected change, it is the difference between the value of
the population regression function before and after changing in X 1
, holding X 2
k
constant.
Two approaches :
I. LINEAR-LOG population regression function
1
∆𝑌
∆𝑋
𝑋
⁄
, a 1 % increase in X (multiplying X by 1.01) is associated with a .01 𝛽
1
change in Y
II. LOG-LINEAR population regression function
1
∆𝑌
𝑌
⁄
∆𝑋
, a change in X by one unit is associated with a 100 𝛽
1
% change in Y
III. LOG-LOG population regression function
1
∆𝑌
𝑌
⁄
∆𝑋
𝑋
⁄
, a 1% change in X is associated with a 𝛽
1
% change in Y. In the LOG-LOG specification 𝛽
1
has the
interpretation of an elasticity.
Negative exponential growth
Interaction between two binary variables
Internal validity : the statistical inferences about causal effects are valid for the population being studied
Five threats to the internal validity of regression studies:
with at least one included regressor)
Two special cases:
I. Classical measurement error
assumes 𝑐𝑜𝑟𝑟(𝑋
𝑖
𝑖
II. Best guess measurement error (using another variable W to make a best guess of the form
𝑖
𝑖
𝑖
𝑖
𝑖
𝑡
𝑡− 1
𝑡
𝑡− 1
𝑡
𝑡− 1
1
The jth sample correlation is an estimate of the j
th
population autocorrelation:
𝑡
𝑡−𝑗
𝑗
𝑐𝑜𝑣 (𝑌
𝑡
.𝑌
𝑡−𝑗
)
̂
𝑣𝑎𝑟(𝑌
𝑡
)
̂
where 𝑐𝑜𝑣 (𝑌
𝑡
𝑡−𝑗
1
𝑇
𝑇
𝑡=𝑗+ 1
𝑡
𝑗+ 1 ,𝑇
𝑡−𝑗
1 ,𝑇−𝑗
Sample variance 𝑣𝑎𝑟(𝑌 𝑡
1
𝑇− 1
𝑡
𝑇 2
𝑛= 1
Stationarity: a time series 𝑌 𝑡
is stationarity if its probability distribution does not change over time, that is, if
the joint distribution of (Y s+
s+
s+T
) does not depend on s; otherwise, 𝑌
𝑡
is said to be nonstationary.
A pair of time series, X t
and 𝑌
𝑡
, are said to be jointly distribution of (X s+
s+
s+
s+ 2
s+T,
s+T
) does not
depend on s. Stationarity requires the future to be like the past, at least in a probabilistic sense. Stationarity
is a key requirement for external validity of a forecast made using time series data.
Forecast is a prediction of the future based on time series data; it is an out-of-sample prediction of the
future (predict values are “in-sample”).
𝑇+ 1
𝑇+ 1 |𝑇
Mean squared forecast error is a measure of the quality of a forecast. It is the expected value of the squared
of the forecast error, when the forecast is made for observation not used to estimate the forecasting model.
𝑇+ 1
𝑇+ 1 |𝑇
2
𝑇+ 1
2
0
0
1
1
𝑇
2
2
𝑇
Autoregression is a regression model in which 𝑌 𝑡
is regressed against its own lagged values. The number of
lags as regressors is called the order of the autoregression.
The first order autoregressive model is 𝑌 𝑡
0
1
𝑡− 1
𝑡
The pth order autoregressive model (AR(p)) is
Autoregressive distributed lag model with p lags of Y and r lags of X ADL(p,r)
The FORECAST ERROR for ADL is : 𝑌 𝑇+ 1
𝑇+ 1 |𝑇
𝑇+ 1
0
0
1
1
𝑇
2
2
𝑇
Root mean squared forecast error (RMSFE) is a measure of the spread of the forecast error distribution. It
is like the standard deviation of u t
, except that it explicitly focuses on the forecast error using estimated
coefficients. It is a measure of the magnitude of a typical forecasting mistake.
𝑇+ 1
𝑇+ 1 |𝑇
2
𝑆𝐸𝑅
𝑢̂
2
𝐹𝑃𝐸
𝑢̂
2
𝑃𝑂𝑂𝑆
𝑠+ 1
2
𝑇− 1
𝑠=𝑃− 1
STEPS NECESSARY TO ESTIMATE THE RMSFE (Out-of-sample)
𝑠+ 1
𝑠+ 1
𝑠+ 1 |𝑠
𝑃𝑂𝑂𝑆
𝑠+ 1
2
𝑇− 1
𝑠=𝑃− 1
Forecast interval is not a confidence interval, it is valid if u T+
is normal
95% FORECAST INTERVAL is 𝑌
𝑇+ 1 |𝑇
with α=0.
99% FORECAST INTERVAL is 𝑌
𝑇+ 1 |𝑇
with α=0.
The bayes information criterion (BIC)
Another information criterion: Akaike information criterion (AIC)
Generalization of BIC to multivariate (ADL) models, K is the total number of coefficients in the model
Two important types of nonstationarity are:
𝑡
𝑡− 1
𝑡
Two key features of a random walk:
a. 𝑌
𝑇+ℎ|𝑇
𝑇
b. 𝑖𝑓 𝑌
0
𝑡
𝑢
2
If 𝑌 𝑡
has a random walk trend, then ∆𝑌
𝑡
is stationery and regression analysis should be undertaken using ∆𝑌
𝑡
instead of 𝑌 𝑡
Problems caused by trend:
The distributed lag model assumptions:
𝑡
𝑡
𝑡− 1
𝑡− 2
2. Y and X have stationary distributions – (Y t,
t
) and (Y t-j
t-j
) become independent as j gets large
3. Large outliers are unlikely; Y and X have eight nonzero finite moments 4. There is no perfect multicollinearity
We need to use a different SE formula; THE HAC STANDARD ERRORS
where 𝜌̂ 𝑗
estimates pj and m is the truncation parameters
Cumulative multipliers : can be computed by estimating the distributed lag model, then adding up the
coefficients.