SlideShare a Scribd company logo
1 of 21
Applied Econometrics
AppliedEconometrics
Secondedition
DimitriosAsteriouandStephenG.Hall
Applied Econometrics
DUMMY VARIABLES
1. The Nature of Qualitative Information
2. The Use of Dummy Variables
3. Special Cases of Dummy Variables
4. Dummy Variables with Multiple Categories
5. Tests for Structural Stability
Applied Econometrics
Learning Objectives
1. Understand the various forms of possible misspecification in the
CLRM.
2. Appreciate the importance and learn the consequences of omitting
influential variables in the CLRM.
3. Distinguish among the wide range of functional forms and understand
the meaning and interpretation of their coefficients.
4. Understand the importance of measurement errors in the data.
5. Perform misspecification tests using econometric software.
6. Understand the meaning of nested and non-nested models.
7. Be familiar with the concept of data mining and choose an appropriate
econometric model.
Applied Econometrics
The Nature of Qualitative Information
Sometimes we can not obtain a set of numerical
values for all the variables we want to use in a
model.
This is because some variables can not be quantified
easily.
Examples:
(a) Gender may play a role in determining salary levels
(b) Different ethnic groups may follow different consumption patterns
(c) Educational levels can affect earnings from employment
Applied Econometrics
It is easier to have dummies for cross-sectional
variables, but sometimes we do have for time series
as well.
Examples
(a) Changes in a political regime may affect production
(b) A war can have an impact on economic activities
(c) Certain days in a week or certain months in a year can have different
effects in the fluctuation of stock prices
(d) Seasonal effects are often observed in demand of various products
The Nature of Qualitative Information
Applied Econometrics
The Use of Dummy Variables
Consider the following cross-sectional model:
Yi=β1+β2X2i+ ui
The constant term in this equation measures the mean
value of Yi when X2i is equal to zero.
This model assumes that the constant will be the same
for all the observations in our data set.
But what if we have two different subgroups (male,
female for example)?
Applied Econometrics
The Use of Dummy Variables
The question here is how to quantify the information
that comes from the difference in the two groups.
One solution is to create a dummy variable as follows:
1 for male
D =
0 for female
Note that the choice of which of the two different
outcomes is to be assigned the value of 1 does not
alter the results.
Applied Econometrics
The Use of Dummy Variables
Entering this dummy in the equation we have the
following model:
Yi=β1+β2X2i+β3Di+ui
Now we have two cases
Di=0 Yi=β1+β2X2i+ β3(0) +ui
Yi=β1+β2X2i+ui
Di=1 Yi=β1+β2X2i+β3(1)+ui
Yi=(β1+β3) +β2X2i+ui
Applied Econometrics
Intercept Dummy Variable
Y
X2
Red Points: Male
Grey Points: Female
Applied Econometrics
Intercept Dummy Variable
β1+β3
Y
X2
β1
Applied Econometrics
Slope Dummy Variable
Consider the same case but now with the dummy
affecting the slope
Yi=β1+β2X2i+β3DiX2i+ui
Now we have two cases
Di=0 Yi=β1+β2X2i+β3(0)iX2i+ui
Yi=β1+β2X2i+ui
Di=1 Yi=β1+β2X2i+β3(1)iX2i+ui
Yi=β1+(β2+β3)X2i+ui
Applied Econometrics
Slope Dummy Variable
0
100000
200000
300000
400000
500000
600000
700000
0 200 400 600 800 1000 1200 1400
Y
X2
Applied Econometrics
The Combined Effect
Y
b1 +d
b1
Males
Femalesd
l
Applied Econometrics
Dummies with Multiple Categories
Consider the case of education:
D1= 1 primary; 0 otherwise
D2= 1 if secondary; 0 otherwise
D3= 1 if tertiary; 0 otherwise
D4 = 1 if BSc; 0 otherwise
D5 = 1 if MSc; 0 otherwise
Applied Econometrics
The Plug in Solution
So we estimate:
Y=β1+β2X2+ a1 D2+a2D3+a3D4+a4D5+u
Note that one dummy (in this case D1) is excluded
from the model in order to avoid dummy variable
trap.
Consider various cases,
i.e. D2=1, D3=D4=D5=0 etc.
Applied Econometrics
Multiple Categories
-100000
0
100000
200000
300000
400000
500000
600000
700000
0 200 400 600 800 1000 1200 1400
COST
N
Technicalschools Vocationalschools Generalschools Workers' schools
Applied Econometrics
Using More than One Dummy
GENDER (male; female)
EDUC (primary, secondary, tertiary; BSc; MSc)
AGE (less than 30, 30 to 40; more than 40)
OCUP (unskilled, skilled, clerical, self-employed)
etc
The interpretation (although it seems more
complicated) is the same as before
Applied Econometrics
Seasonal Dummy Variables
Depends on the frequency of the data
Quarterly – 4 dummies – DQ1, DQ2, DQ3, DQ4
Monthly – 12 dummies – one for each month
Daily – 5 dummies – Dmon, Dtue, Dwed etc.
Again we either exclude one and include a constant
(always better) or if we use all we never include a
constant (dummy variable trap).
Applied Econometrics
The Chow Test
for Structural Stability
Step 1: Estimate the basic regression equation.
Yi=β1+β2X2i+ui
for three different data sets
(a)whole sample, n;
(b)Period before the shock, n1;
(c)Period after the shock, n2.
Step 2: Obtain the SSR for each of the three subsets
and label them SSRN, SSR1 and SSR2 respectively.
Applied Econometrics
The Chow Test
for Structural Stability
Step 3: Calculate the F-statistic
F
Step 4: If F-statistical bigger than F-critical
F(k,n-2k) then reject the null that the
parameters are stable for the whole data set.
)2/()(
/])[(
21
21
knRSSRSS
kRSSRSSSSRN



Applied Econometrics
The Dummy Variable Test
for Structural Stability
The Dummy Variable Test is much better because:
• A single equation is used to provide a set of the
estimated coefficients for tow or more structures
• Only one degree of freedom is lost for every
dummy used.
• A larger sample is being used for the estimation
• It provides us with information regarding the exact
nature of the parameter instability.

More Related Content

What's hot

What's hot (20)

General equilibrium theory
General equilibrium theoryGeneral equilibrium theory
General equilibrium theory
 
Econometrics ch3
Econometrics ch3Econometrics ch3
Econometrics ch3
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Multicollinearity
MulticollinearityMulticollinearity
Multicollinearity
 
Multicolinearity
MulticolinearityMulticolinearity
Multicolinearity
 
Ols by hiron
Ols by hironOls by hiron
Ols by hiron
 
Basic concepts of_econometrics
Basic concepts of_econometricsBasic concepts of_econometrics
Basic concepts of_econometrics
 
The Social welfare function
The Social welfare functionThe Social welfare function
The Social welfare function
 
Methodology of Econometrics / Hypothesis Testing
Methodology of Econometrics / Hypothesis Testing  Methodology of Econometrics / Hypothesis Testing
Methodology of Econometrics / Hypothesis Testing
 
Econometrics
EconometricsEconometrics
Econometrics
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag model
 
Offer curves
Offer curvesOffer curves
Offer curves
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
 
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
Econometrics notes (Introduction, Simple Linear regression, Multiple linear r...
 
Financial theory of investment
Financial theory of investmentFinancial theory of investment
Financial theory of investment
 
The big push theory
The big push theoryThe big push theory
The big push theory
 
Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
 
Solow model of growth
Solow model of growthSolow model of growth
Solow model of growth
 
Properties of estimators (blue)
Properties of estimators (blue)Properties of estimators (blue)
Properties of estimators (blue)
 
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
Advanced Econometrics by Sajid Ali Khan Rawalakot: 0334-5439066
 

Similar to Dummy variables

revision-notes-introductory-econometrics-lecture-1-11.pdf
revision-notes-introductory-econometrics-lecture-1-11.pdfrevision-notes-introductory-econometrics-lecture-1-11.pdf
revision-notes-introductory-econometrics-lecture-1-11.pdf
MrDampha
 
Sarcia idoese08
Sarcia idoese08Sarcia idoese08
Sarcia idoese08
asarcia
 
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo SimulationCodecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Romania
 
internship project1 report
internship project1 reportinternship project1 report
internship project1 report
sheyk98
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regression
jamuga gitulho
 

Similar to Dummy variables (20)

revision-notes-introductory-econometrics-lecture-1-11.pdf
revision-notes-introductory-econometrics-lecture-1-11.pdfrevision-notes-introductory-econometrics-lecture-1-11.pdf
revision-notes-introductory-econometrics-lecture-1-11.pdf
 
SURE Model_Panel data.pptx
SURE Model_Panel data.pptxSURE Model_Panel data.pptx
SURE Model_Panel data.pptx
 
Sarcia idoese08
Sarcia idoese08Sarcia idoese08
Sarcia idoese08
 
Choosing the Right Regressors
Choosing the Right RegressorsChoosing the Right Regressors
Choosing the Right Regressors
 
Ekonometrika
EkonometrikaEkonometrika
Ekonometrika
 
report
reportreport
report
 
Mc0079 computer based optimization methods--phpapp02
Mc0079 computer based optimization methods--phpapp02Mc0079 computer based optimization methods--phpapp02
Mc0079 computer based optimization methods--phpapp02
 
Machine learning important questions
Machine learning  important questionsMachine learning  important questions
Machine learning important questions
 
Lecture6 xing
Lecture6 xingLecture6 xing
Lecture6 xing
 
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo SimulationCodecamp Iasi 7 mai 2011 Monte Carlo Simulation
Codecamp Iasi 7 mai 2011 Monte Carlo Simulation
 
internship project1 report
internship project1 reportinternship project1 report
internship project1 report
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regression
 
Mathematical modeling
Mathematical modelingMathematical modeling
Mathematical modeling
 
Master of Computer Application (MCA) – Semester 4 MC0079
Master of Computer Application (MCA) – Semester 4  MC0079Master of Computer Application (MCA) – Semester 4  MC0079
Master of Computer Application (MCA) – Semester 4 MC0079
 
Course Title: Introduction to Machine Learning, Chapter 2- Supervised Learning
Course Title: Introduction to Machine Learning,  Chapter 2- Supervised LearningCourse Title: Introduction to Machine Learning,  Chapter 2- Supervised Learning
Course Title: Introduction to Machine Learning, Chapter 2- Supervised Learning
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative Analysis
 
Atc (national seminar,2000)
Atc (national seminar,2000)Atc (national seminar,2000)
Atc (national seminar,2000)
 
Notes1
Notes1Notes1
Notes1
 
INTRODUCTION TO BOOSTING.ppt
INTRODUCTION TO BOOSTING.pptINTRODUCTION TO BOOSTING.ppt
INTRODUCTION TO BOOSTING.ppt
 

More from Irfan Hussain

35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan
Irfan Hussain
 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system
Irfan Hussain
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
Irfan Hussain
 

More from Irfan Hussain (20)

43 fb,price index, diabeties
43 fb,price index, diabeties43 fb,price index, diabeties
43 fb,price index, diabeties
 
40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate40 child labour,employment system,dollar rate
40 child labour,employment system,dollar rate
 
39 onlineshopping,flood,adr
39 onlineshopping,flood,adr39 onlineshopping,flood,adr
39 onlineshopping,flood,adr
 
35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan35 live stoke of pakistan ,retirement age ,rural population in pakistan
35 live stoke of pakistan ,retirement age ,rural population in pakistan
 
30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system30 unclean drinking water and its affects, transport system
30 unclean drinking water and its affects, transport system
 
29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving29 popltn sutrctre,labour employmnt,personal saving
29 popltn sutrctre,labour employmnt,personal saving
 
28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn28 racism,manufacturing activity,alcohol addictn
28 racism,manufacturing activity,alcohol addictn
 
27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp27 educatn budgt,selfie,mp
27 educatn budgt,selfie,mp
 
26 age structure, twitter, joint family system
26 age structure, twitter, joint family system26 age structure, twitter, joint family system
26 age structure, twitter, joint family system
 
25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate25 retail trade,dovorce causes,crude death rate
25 retail trade,dovorce causes,crude death rate
 
24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport24 utility stores, functions, load shading, transport
24 utility stores, functions, load shading, transport
 
23 stock market
23 stock market23 stock market
23 stock market
 
21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio21 production of electricity,deforestion,sex ratio
21 production of electricity,deforestion,sex ratio
 
20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy20 agricultre,gold,insurance policy
20 agricultre,gold,insurance policy
 
19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan19 urbanization,import and export,culture of pakistan
19 urbanization,import and export,culture of pakistan
 
18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages18(10) birth and death rate,house rent,income and wages
18(10) birth and death rate,house rent,income and wages
 
18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp18 currency strength,fertility rate,whatsapp
18 currency strength,fertility rate,whatsapp
 
17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng17 public revenue, tax,gov spndng
17 public revenue, tax,gov spndng
 
16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue16 migrtion,tax revenue,total revenue
16 migrtion,tax revenue,total revenue
 
14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology14 e commerce,water pollution,positive and negative effect of technology
14 e commerce,water pollution,positive and negative effect of technology
 

Recently uploaded

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Recently uploaded (20)

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Dummy variables

  • 2. Applied Econometrics DUMMY VARIABLES 1. The Nature of Qualitative Information 2. The Use of Dummy Variables 3. Special Cases of Dummy Variables 4. Dummy Variables with Multiple Categories 5. Tests for Structural Stability
  • 3. Applied Econometrics Learning Objectives 1. Understand the various forms of possible misspecification in the CLRM. 2. Appreciate the importance and learn the consequences of omitting influential variables in the CLRM. 3. Distinguish among the wide range of functional forms and understand the meaning and interpretation of their coefficients. 4. Understand the importance of measurement errors in the data. 5. Perform misspecification tests using econometric software. 6. Understand the meaning of nested and non-nested models. 7. Be familiar with the concept of data mining and choose an appropriate econometric model.
  • 4. Applied Econometrics The Nature of Qualitative Information Sometimes we can not obtain a set of numerical values for all the variables we want to use in a model. This is because some variables can not be quantified easily. Examples: (a) Gender may play a role in determining salary levels (b) Different ethnic groups may follow different consumption patterns (c) Educational levels can affect earnings from employment
  • 5. Applied Econometrics It is easier to have dummies for cross-sectional variables, but sometimes we do have for time series as well. Examples (a) Changes in a political regime may affect production (b) A war can have an impact on economic activities (c) Certain days in a week or certain months in a year can have different effects in the fluctuation of stock prices (d) Seasonal effects are often observed in demand of various products The Nature of Qualitative Information
  • 6. Applied Econometrics The Use of Dummy Variables Consider the following cross-sectional model: Yi=β1+β2X2i+ ui The constant term in this equation measures the mean value of Yi when X2i is equal to zero. This model assumes that the constant will be the same for all the observations in our data set. But what if we have two different subgroups (male, female for example)?
  • 7. Applied Econometrics The Use of Dummy Variables The question here is how to quantify the information that comes from the difference in the two groups. One solution is to create a dummy variable as follows: 1 for male D = 0 for female Note that the choice of which of the two different outcomes is to be assigned the value of 1 does not alter the results.
  • 8. Applied Econometrics The Use of Dummy Variables Entering this dummy in the equation we have the following model: Yi=β1+β2X2i+β3Di+ui Now we have two cases Di=0 Yi=β1+β2X2i+ β3(0) +ui Yi=β1+β2X2i+ui Di=1 Yi=β1+β2X2i+β3(1)+ui Yi=(β1+β3) +β2X2i+ui
  • 9. Applied Econometrics Intercept Dummy Variable Y X2 Red Points: Male Grey Points: Female
  • 10. Applied Econometrics Intercept Dummy Variable β1+β3 Y X2 β1
  • 11. Applied Econometrics Slope Dummy Variable Consider the same case but now with the dummy affecting the slope Yi=β1+β2X2i+β3DiX2i+ui Now we have two cases Di=0 Yi=β1+β2X2i+β3(0)iX2i+ui Yi=β1+β2X2i+ui Di=1 Yi=β1+β2X2i+β3(1)iX2i+ui Yi=β1+(β2+β3)X2i+ui
  • 12. Applied Econometrics Slope Dummy Variable 0 100000 200000 300000 400000 500000 600000 700000 0 200 400 600 800 1000 1200 1400 Y X2
  • 13. Applied Econometrics The Combined Effect Y b1 +d b1 Males Femalesd l
  • 14. Applied Econometrics Dummies with Multiple Categories Consider the case of education: D1= 1 primary; 0 otherwise D2= 1 if secondary; 0 otherwise D3= 1 if tertiary; 0 otherwise D4 = 1 if BSc; 0 otherwise D5 = 1 if MSc; 0 otherwise
  • 15. Applied Econometrics The Plug in Solution So we estimate: Y=β1+β2X2+ a1 D2+a2D3+a3D4+a4D5+u Note that one dummy (in this case D1) is excluded from the model in order to avoid dummy variable trap. Consider various cases, i.e. D2=1, D3=D4=D5=0 etc.
  • 16. Applied Econometrics Multiple Categories -100000 0 100000 200000 300000 400000 500000 600000 700000 0 200 400 600 800 1000 1200 1400 COST N Technicalschools Vocationalschools Generalschools Workers' schools
  • 17. Applied Econometrics Using More than One Dummy GENDER (male; female) EDUC (primary, secondary, tertiary; BSc; MSc) AGE (less than 30, 30 to 40; more than 40) OCUP (unskilled, skilled, clerical, self-employed) etc The interpretation (although it seems more complicated) is the same as before
  • 18. Applied Econometrics Seasonal Dummy Variables Depends on the frequency of the data Quarterly – 4 dummies – DQ1, DQ2, DQ3, DQ4 Monthly – 12 dummies – one for each month Daily – 5 dummies – Dmon, Dtue, Dwed etc. Again we either exclude one and include a constant (always better) or if we use all we never include a constant (dummy variable trap).
  • 19. Applied Econometrics The Chow Test for Structural Stability Step 1: Estimate the basic regression equation. Yi=β1+β2X2i+ui for three different data sets (a)whole sample, n; (b)Period before the shock, n1; (c)Period after the shock, n2. Step 2: Obtain the SSR for each of the three subsets and label them SSRN, SSR1 and SSR2 respectively.
  • 20. Applied Econometrics The Chow Test for Structural Stability Step 3: Calculate the F-statistic F Step 4: If F-statistical bigger than F-critical F(k,n-2k) then reject the null that the parameters are stable for the whole data set. )2/()( /])[( 21 21 knRSSRSS kRSSRSSSSRN   
  • 21. Applied Econometrics The Dummy Variable Test for Structural Stability The Dummy Variable Test is much better because: • A single equation is used to provide a set of the estimated coefficients for tow or more structures • Only one degree of freedom is lost for every dummy used. • A larger sample is being used for the estimation • It provides us with information regarding the exact nature of the parameter instability.