Uitgebreide College aantekeningen Econometrics (MAN-BPRA203) - RU - staat alles in wat belangrijk is
Tout pour ce livre (11)
École, étude et sujet
Radboud Universiteit Nijmegen (RU)
Economie
Econometrics
Tous les documents sur ce sujet (6)
2
revues
Par: vincevandenbogaart • 4 année de cela
Par: thijmendeniet • 4 année de cela
Vendeur
S'abonner
bleussink
Avis reçus
Aperçu du contenu
Lecture 1
04-02-2019
Chapter 1: an overview of regression analysis
• Why study econometrics?
o “It fills a gap between being a student of economics and being a practicing economist”.
1.1 What Is Econometrics?
In economics we express out ideas about relationships between economic variables using mathematical
functions.
• c = f(yd)
o Consumption as function of disposable income
• q = f(p, ps, pc, yd)
o Demand for a specific type of car (Honda Civc) as function of its price, the price of other cars
(substitutes), the price of complements (like petrol) and disposable income
1.2 What is regression analysis?
• Besides the number of sold Honda Civic cars (the dependent variable) that is caused by the
independent variables (p, ps, pc, yd), there is almost always variation that comes from other sources as
well.
• β0 + β1p + β2ps + β3pc + β4yd + e
• A random (stochastic) component (e, error term) is added to the regression equation as well to
introduce all variation that cannot be explained by the independent variables (Xs).
Single Equation Linear Models
• Y = β0 + β1 X (1.3)
o slope (hellingshoek) is constant
• Y = β0 + β1 X2 (1.4)
o slope is not constant
• (slope = first derivative dy/dx)
Extending the Notation
• Yi = β0 + β1 Xi + εi (i = 1,2, …,N) (1.10)
• As an example, this equation may represent the consumption behavior of a group of households
Multivariate Linear Models
• Yi = β0 + β1 X1i + β2 X2i + β3 X3i + εi (i = 1,2, …,N) (1.11)
The Estimated Regression Equation
• The theoretical equation is purely abstract in nature
o Yi = β0 + β1 Xi + εi (i = 1,2, …,N) (1.14)
• The estimated regression equation has actual numbers in it.
o Ŷi = 103.40 + 6.38 X
• The estimated regression coefficients β0 + β1 with hat (see book) : are empirical best guesses of the
true regression coefficients β0 + β1 and are obtained from data from a sample of Ys and Xs.
How do we obtain data?
• We cannot perform controlled experiments (this is however possible in physics)
• Non experimental data
o Time series form: data collected from discrete intervals during time
o Suitable computer program: STATA & Eviews
• Cross section form: data collected on a moment in time for a group of households or firms
o Suitable computer program: STATA & SPSS
• A combination of both: panel data
,Chapter 2: Ordinary Least Squares
Example: The Economic Model
• S = 0 + 1 P + 2 A
o S: total sales for a given week
o P: average price for the hamburgers chain
o A: advertising expenditure
▪ P up → S up or down, because of the elasticity
Sales = price x quantity
→ Price goes up → sales goes up
Total, Explained and Residual Sum of Squares
• TSS = (yt - mean(y))2
• For Ordinary Least Squares, the total sum of squares has two components, variation that can be
explained and variation that cannot be explained.
(yt - mean(y))2 = (ŷt - mean(y))2 + (et )2
• (TSS) = (ESS) (RSS)
Total sum Explained sum Residual sum
of squares of squares of squares
• yt: value of the independent variable
• ŷt: estimated value of the independent variable
• et: yt - ŷt (estimated error)
2.4 Describing the overall Fit of the Estimated Model
• R2 = ESS / TSS = (ŷt - mean(y))2 / (yt - mean(y))2
o = 1 – RSS / TSS = 1 - (et )2 / (yt - mean(y))2
• 2
R = 87 %: 87% of the variation in total revenue is explained by the variation in price and the variation
in the level of advertising expenditure
Remember:
• ESS: Explained Sum of Squares
• RSS: Residual Sum of Squares
• TSS: Total Sum of Squares
One difficulty with R2 is that it can be made large by adding more and more variables, even if the variables
added have no economic justification
→ Error becomes smaller, R2 gets bigger (the bigger, the closer to the line).
An alternative measure of goodness of fit, called the adjusted R2 is computed as:
• R2adj. = 1 – [RSS / (N – K - 1)] / [TSS / (N - 1)]
• 1- as the number of variables K+1 increases; RSS goes down, but so does N – K -1. The effect on R2adj.
depends on the amount by which RSS falls.
• 2- R2adj. loses its interpretation
Alternative: the adjusted R2 can also be written as:
• R2adj. = R2 – [K / (N – K - 1)] * (1 – R2)
N: total number of observations
K: number of explanatory variables (excluding the constant term)
K+1: number of explanatory variables (including the constant term)
See Chapter 2 page 54
,R2adj. measures the percentage of variation of Y around its mean that is explained by the regression equation,
adjusted for degrees of freedom
Adjusted R-squard (later collinearity): an example
An economist tries to estimate the relationship between direct labor costs and a few explanatory variables:
X2 : number of units produced
X3 : number of machine hours
X4 : Kilowatts of electricity
X3 (machine hours) and X4 (Kilowatt hours electricity) correlate and are causing collinearity
Correlation Matrix
Y X2 X3 X4
Y 1
X2 1
X3 1 0.94
X4 0.94 1
R2 = 0.86 R2 (adj) = 0.829
Yt = b1 + b2X2 + b3X3
Coeff. -137 4.68 7.08
St error 1.05 1.59
T – value 4.46 4.44
Which equation is better? I or II
A. Equation I is better because the R-squared is higher and you don't introduce ommitted variable bias
B. Equation II is better for multiple reasons: adj. R-squared is higher, all variables in equation II have
the correct sign and both dependent variables (X2 and X3) are significant
Xt: weekly income (dollars)
Yt: weekly consumption of food (dollars)
Scaling the data
Xt: weekly income (measured in $100 dollars)
Yt: weekly consumption (measured in dollars)
0.001283xt (alternative A)
𝑦̂𝑡 = 40.7 +
12.83Xt (alternative B)
→ Alternatief B, omdat je Xt nu in $100 meet, en je yt gewoon in dollars wil hebben.
Xt: weekly income (dollars)
Yt: weekly consumption of food (in $100 dollars)
𝑦̂𝑡 = 0.407 + 0.001283Xt
No income → constant term = 0.407 (number of $100 dollars)
Yt and xt are measured in cents (rather than dollars)
𝑦̂𝑡 = 4070 + 0.1283Xt → xt doesn’t change because x and y are both measured in
cents
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur bleussink. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €3,49. Vous n'êtes lié à rien après votre achat.