



























Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!




























1
2
General Readings for Regression Analysis:
Regression Analysis: Some Basic Ideas
https://www.otexts.org/fpp/
Ben Lambert (Khan Academy format): http://oxbridge-tutor.co.uk/. I suggest this video about casualty https://youtu.be/Sqy_b5OSiXw and this about covariance and correlation: https://youtu.be/KDw3hC2YNFc
utw1Q72jA?list=PLiolZ-a0LrqFLo-526sHGNFCrkQECLPe7; Regression with excel: https://youtu.be/VdMPoCKGFM0?list=PLiolZ-
a0LrqFLo-526sHGNFCrkQECLPe7; differences between covariance and correlation: https://youtu.be/85Ilb-89sjk
For this Topic:
Regression Analysis: Some Basic Ideas
4
5
Previous
techniques
Foundations: Extract historical patterns and apply them in
forecasting future. Historical techniques.
Source of information: Own series.
Regression
analysis
Foundations: Analyze relationships between the target
variable (dependent) and other variables (independent).
Casualty model. The dependent variable will be expressed as
a function of a certain number of factors that determine its
behavior.
Source of information: Other variables
Basic understanding: The regression model as a framework for the analysis of
relationships among variables
Technical know how: How to formulate a regression model, estimate its parameters,
understand the results and implications of the estimated model and forecast using
this type of models.
In this
course
we will
obtain
7
Naïve
forecast
Our first forecast will be to use the average consumption.
But taking a deeper look at the table shows that consumption differs among income
groups: The higher the income, the higher the consumption.
7272
= = 121.2$
60
Total consumption
week family
number observations
Unconditional Average
E(Y): Unconditional expected value (simple average) of weekly consumption
expenditure
Educated
forecast
Take into account the relationship between income and
consumption. Given “I” groups:
i
i
Total consumption
number observations
Conditional Average
8
E(Y X): Conditional expected value (conditional average) of weekly
consumption expenditure. They depend on the given values of the (conditioning)
variable X.
Thus, instead of forecasting that a family will spend 121.2$/week, depending on
their income we could forecast a different value, that will be more “accurate” in
each case.
But, How can we calculate a global quantitative measure for that relationship
between income and consumption? With a Regression!
10
Analyze if there is a significant (reliable) causal relationship,
obtaining a functional form and a quantitative assessment.
For what purpose?
Definition
Goal
Consumption regression: Keynesian propensity to consume Example
Consumption= f (Income)
Modern definition
Regression analysis allows to analyze the dependence of one
variable (dependent variable), on one or more other variables
(explanatory variables), providing a functional form for that
relationship and a quantitative assessment of it.
Strategic decisions
Asimetric treatment of the relationship among variables
Endogenous Variable
Explanatory Variales
Explained by
Dependency Causality
11
How will we know which variables affect or “cause” the behavior of our
target variable?
variables
Economic
Model
Econometric
model
Adaptation (time,
geography, etc.)
Shows the key characteristics of a
system or set of relationships
Gives estimations of the parameters
that characterize the relationship
(sign and magnitude).
Theoretical model
Empirical application
13
t t t
1 2
Variables
(dependent)
Parameters
or coeficients
Quantitative Assesment of the relationship between an
exogenous variable and the endogenous variable.
Disturbance or
error term
It represents all those factors that affect the endogenous
variable but are not taken into account explicitly by the
explanatory variables. It is also know as the “random or
stochastic” term
Functional
form
Consumption= f (Income)
t t
5.1. The concept of a linear regression model
Figure 3. Regression line
The regression analysis implies that for each X (income level) there is a population
of Y values (weekly consumption expenditures) that are spread around the
(conditional) mean of those Y values.
E(Y|X
i
)=f(X
i
)
Regression
Function
The expected value of the distribution of Y
given X
i
is functionally related to X
i
.
Assuming there is a “linear” relationship between Y and X
i
, we have:
E(Y|X
i
)=f(X
i
)= β
1
2
X
i
For a particular case, What would be the consumption of a new family?
It doesn´t have to match the average consumption for its income
There is a “nonsystematyc” deviation
Sthocastic
or random
u
i
= Y
i
i
)
thus
Y
i
= E(Y|X
i
) + u
i
For a linear function
Y
i
= β
1
2
X
i
i
As we might have lots of samples for a particular phenomenon, we may not be able
to estimate the PRF “accurately” because of sampling fluctuations.
That is why Econometrics includes “statistical inference” which is a set of hypothesis
and tools that help to analyze the level of accuracy of a sample regression.
Figure 4. Regression lines based on two different samples
Equation notation
i i k ki i
1 2 2
i i K Ki i
K K
K K
1 2 2
2 1 2 22 2 2
1 1 2 21 1 1
k i
i i ki
k
k
i
u
...
u
u
ˆ
...
ˆ
ˆ
*
x x ... x
... ... ... ... ...
x x ... x
x x ... x
y
...
y
y
2
1
2
1
2 3
22 32 2
21 31 1
2
1
1
1
1
y (ix1) X (ixk) β (kx1) u (ix1)
Matrix notation
Y= Xβ + u