SlideShare ist ein Scribd-Unternehmen logo
1 von 37
STATA: Data Analysis Software




               STATA
             Panel Regressions


             www.STATA.org.uk
               Step-by Step Screenshot Guides
                    to help you use STATA

                Not affiliated with Stata Corp.
Datasets Used in Tutorial




   – Datasets in these tutorials are based on examples in:

        Stock and Watson (2006)
            “Introduction to Econometrics”

   – You can obtain all of the datasets used in these tutorials
     by downloading a STATA command file from
     http://www.stata.org.uk/download-examples.html
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Outline


   – Statistical Analysis
      • Panel Regressions
          – Open Dataset
          – Declare Time and ID Variables
          – Fixed Effects Regression
          – Random Effects Regression
          – Hausman Test
          – Challenge
Panel Regression: Challenge


   Challenge
   – Estimate panel using beertax, mlda and vmiles

   Method
   – Repeat panel regression by editing do-file
   – Add mlda and vmiles as independent variables
   – Estimate fixed effects and store
   – Estimate random effects and store
   – Conduct Hausman test
www.STATA.org.uk




   – If you visit www.STATA.org.uk you can download
     tutorials on these other topics:

       Data Management      Statistical Analysis
       Importing Data       Summary Statistics
       Graphs               Linear Regressions
       Presenting Output    Panel Regressions
       Merge or Drop Data   Time Series Analysis
                            Instrumental Variables
                            Probit Analysis

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

ARIMA
ARIMA ARIMA
ARIMA
 
Introduction to Econometrics
Introduction to EconometricsIntroduction to Econometrics
Introduction to Econometrics
 
Panel Data Models
Panel Data ModelsPanel Data Models
Panel Data Models
 
Timeseries forecasting
Timeseries forecastingTimeseries forecasting
Timeseries forecasting
 
Dummy variables
Dummy variablesDummy variables
Dummy variables
 
Panel data
Panel dataPanel data
Panel data
 
Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
 
Ch04
Ch04Ch04
Ch04
 
A practitioners guide to stochastic frontier analysis using stata-kumbhakar
A practitioners guide to stochastic frontier analysis using stata-kumbhakarA practitioners guide to stochastic frontier analysis using stata-kumbhakar
A practitioners guide to stochastic frontier analysis using stata-kumbhakar
 
Econometrics - lecture 18 and 19
Econometrics - lecture 18 and 19Econometrics - lecture 18 and 19
Econometrics - lecture 18 and 19
 
Lesson 5 arima
Lesson 5 arimaLesson 5 arima
Lesson 5 arima
 
Panel data analysis
Panel data analysisPanel data analysis
Panel data analysis
 
Presentation on GMM
Presentation on GMMPresentation on GMM
Presentation on GMM
 
Arima model
Arima modelArima model
Arima model
 
PanelDataAnalysis.pdf
PanelDataAnalysis.pdfPanelDataAnalysis.pdf
PanelDataAnalysis.pdf
 
Econometrics
EconometricsEconometrics
Econometrics
 
Heteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptxHeteroscedasticity Remedial Measures.pptx
Heteroscedasticity Remedial Measures.pptx
 
Panel slides
Panel slidesPanel slides
Panel slides
 
Econometrics lecture 1st
Econometrics lecture 1stEconometrics lecture 1st
Econometrics lecture 1st
 

Ähnlich wie STATA - Panel Regressions

STATA - Linear Regressions
STATA - Linear RegressionsSTATA - Linear Regressions
STATA - Linear Regressionsstata_org_uk
 
STATA - Instrumental Variables
STATA - Instrumental VariablesSTATA - Instrumental Variables
STATA - Instrumental Variablesstata_org_uk
 
STATA - Probit Analysis
STATA - Probit AnalysisSTATA - Probit Analysis
STATA - Probit Analysisstata_org_uk
 
STATA - Summary Statistics
STATA - Summary StatisticsSTATA - Summary Statistics
STATA - Summary Statisticsstata_org_uk
 
STATA - Introduction
STATA - IntroductionSTATA - Introduction
STATA - Introductionstata_org_uk
 
STATA - Graphing Data
STATA - Graphing DataSTATA - Graphing Data
STATA - Graphing Datastata_org_uk
 
STATA - Download Examples
STATA - Download ExamplesSTATA - Download Examples
STATA - Download Examplesstata_org_uk
 
STATA - Importing Data
STATA - Importing DataSTATA - Importing Data
STATA - Importing Datastata_org_uk
 
SES CPS Assessment Program v4
SES CPS Assessment Program v4SES CPS Assessment Program v4
SES CPS Assessment Program v4Britt Bettell
 
Cost optimized reliability test planning rev 7
Cost optimized reliability test planning rev 7Cost optimized reliability test planning rev 7
Cost optimized reliability test planning rev 7ASQ Reliability Division
 
DFMEA DR & DVP 261113 KCV
DFMEA DR & DVP 261113 KCVDFMEA DR & DVP 261113 KCV
DFMEA DR & DVP 261113 KCVKamal Vora
 
FMEA training (AIAG VDA Edition 01)
FMEA training (AIAG VDA Edition 01)FMEA training (AIAG VDA Edition 01)
FMEA training (AIAG VDA Edition 01)Ankit Gupta
 
Production and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality ToolsProduction and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality ToolsDr. John V. Padua
 
Finding Bugs Faster with Assertion Based Verification (ABV)
Finding Bugs Faster with Assertion Based Verification (ABV)Finding Bugs Faster with Assertion Based Verification (ABV)
Finding Bugs Faster with Assertion Based Verification (ABV)DVClub
 
統計在半導體產業的應用 -- Basic Statistic Methods
統計在半導體產業的應用 -- Basic Statistic Methods統計在半導體產業的應用 -- Basic Statistic Methods
統計在半導體產業的應用 -- Basic Statistic Methodschunhung chou
 
Ancora 6Sigma - 3. la metodologia DMAIC
Ancora 6Sigma - 3.  la metodologia DMAICAncora 6Sigma - 3.  la metodologia DMAIC
Ancora 6Sigma - 3. la metodologia DMAICManager.it
 

Ähnlich wie STATA - Panel Regressions (20)

STATA - Linear Regressions
STATA - Linear RegressionsSTATA - Linear Regressions
STATA - Linear Regressions
 
STATA - Instrumental Variables
STATA - Instrumental VariablesSTATA - Instrumental Variables
STATA - Instrumental Variables
 
STATA - Probit Analysis
STATA - Probit AnalysisSTATA - Probit Analysis
STATA - Probit Analysis
 
STATA - Summary Statistics
STATA - Summary StatisticsSTATA - Summary Statistics
STATA - Summary Statistics
 
STATA - Introduction
STATA - IntroductionSTATA - Introduction
STATA - Introduction
 
STATA - Graphing Data
STATA - Graphing DataSTATA - Graphing Data
STATA - Graphing Data
 
STATA 13
STATA 13STATA 13
STATA 13
 
Statistical software
Statistical softwareStatistical software
Statistical software
 
STATA - Download Examples
STATA - Download ExamplesSTATA - Download Examples
STATA - Download Examples
 
STATA - Importing Data
STATA - Importing DataSTATA - Importing Data
STATA - Importing Data
 
1b7 quality control
1b7 quality control1b7 quality control
1b7 quality control
 
SES CPS Assessment Program v4
SES CPS Assessment Program v4SES CPS Assessment Program v4
SES CPS Assessment Program v4
 
Cost optimized reliability test planning rev 7
Cost optimized reliability test planning rev 7Cost optimized reliability test planning rev 7
Cost optimized reliability test planning rev 7
 
DFMEA DR & DVP 261113 KCV
DFMEA DR & DVP 261113 KCVDFMEA DR & DVP 261113 KCV
DFMEA DR & DVP 261113 KCV
 
FMEA training (AIAG VDA Edition 01)
FMEA training (AIAG VDA Edition 01)FMEA training (AIAG VDA Edition 01)
FMEA training (AIAG VDA Edition 01)
 
Production and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality ToolsProduction and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality Tools
 
Finding Bugs Faster with Assertion Based Verification (ABV)
Finding Bugs Faster with Assertion Based Verification (ABV)Finding Bugs Faster with Assertion Based Verification (ABV)
Finding Bugs Faster with Assertion Based Verification (ABV)
 
統計在半導體產業的應用 -- Basic Statistic Methods
統計在半導體產業的應用 -- Basic Statistic Methods統計在半導體產業的應用 -- Basic Statistic Methods
統計在半導體產業的應用 -- Basic Statistic Methods
 
FMEA
FMEAFMEA
FMEA
 
Ancora 6Sigma - 3. la metodologia DMAIC
Ancora 6Sigma - 3.  la metodologia DMAICAncora 6Sigma - 3.  la metodologia DMAIC
Ancora 6Sigma - 3. la metodologia DMAIC
 

Kürzlich hochgeladen

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

STATA - Panel Regressions

  • 1. STATA: Data Analysis Software STATA Panel Regressions www.STATA.org.uk Step-by Step Screenshot Guides to help you use STATA Not affiliated with Stata Corp.
  • 2. Datasets Used in Tutorial – Datasets in these tutorials are based on examples in: Stock and Watson (2006) “Introduction to Econometrics” – You can obtain all of the datasets used in these tutorials by downloading a STATA command file from http://www.stata.org.uk/download-examples.html
  • 3. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 9.
  • 10.
  • 11.
  • 12. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Outline – Statistical Analysis • Panel Regressions – Open Dataset – Declare Time and ID Variables – Fixed Effects Regression – Random Effects Regression – Hausman Test – Challenge
  • 32. Panel Regression: Challenge Challenge – Estimate panel using beertax, mlda and vmiles Method – Repeat panel regression by editing do-file – Add mlda and vmiles as independent variables – Estimate fixed effects and store – Estimate random effects and store – Conduct Hausman test
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. www.STATA.org.uk – If you visit www.STATA.org.uk you can download tutorials on these other topics: Data Management Statistical Analysis Importing Data Summary Statistics Graphs Linear Regressions Presenting Output Panel Regressions Merge or Drop Data Time Series Analysis Instrumental Variables Probit Analysis