Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Analysis
Regression Analysis
Regression analysis is almost certainly the most important tool at the
econometrician’s disposal.
Regression is concerned with describing and evaluating the
relationship between a given variable and one or more other
variables.
More specifically, regression is an attempt to explain movements in a
variable by reference to movements in one or more other variables.
Steps of Regression Analysis
Collect data on the variables in question
Specify the form of the equation relating the variables
Estimate the equation coefficients
Evaluate the accuracy of the equation
Concepts
Population
◦ Sample
◦ In Sample Bias
Types of Data
◦ Time Series Data
◦ Cross Sectional Data
◦ Panel Data
Concepts
Ordinary Least-Squares Regression computes
coefficient values that give the smallest sum of
squared errors
Y = a + bx + Et – Population Equation
Ŷ = α + βx + εt – Estimated Equation
Dependent vs Independent
Variables
Names for y
◦ Dependent variable
◦ Regressand
◦ Effect variable
◦ Explained variable
α = Σy/n – β Σx/n
α = 220 / 6 – (-0.9231 x (180 / 6)) = 64.359
Example
70
60
30
20
10
0
5 10 15 20 25 30 35 40 45 50 55
Concepts
Residuals / Error Term
◦ A statistical error (or disturbance) is the amount by which an observation
differs from its expected value i.e. mean, For example, if the mean height in a
population of 21-year-old men is 1.75 meters, and one randomly chosen man
is 1.80 meters tall, then the "error" is 0.05 meters
◦ Residual is the difference between the observed value of the dependent
variable (y) and the predicted value (ŷ) is called the residual. Consider the
previous example with men's heights and suppose we have a random sample
of n people. The sample mean could serve as a good estimator of the
population mean. Then we have:
◦ The difference between the height of each man in the sample and the unobservable population mean
is a statistical error, whereas
◦ The difference between the height of each man in the sample and the observable sample mean is a
Y X Y = 5 + 9x Residual
100 20 185 -85
120 30 275 -155
90 15 140 -50
Concepts
Total Sum of Squared Errors (TSS)
Sum of Squared Residuals (SSR)
Sum of Squared Errors (SSE)
Concepts
Hypothesis. Guess whether something is true or false
◦ Null hypothesis (β = 0)
◦ Alternate hypotheses (β ≠ 0)