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




               STATA
             Linear 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
      • Linear Regressions
          – Regressions
          – F-stat
          – Fitted Values
          – Residuals
          – Challenge
Outline



   – Statistical Analysis
      • Linear Regressions
          – Regressions
          – F-stat
          – Fitted Values
          – Residuals
          – Challenge
Outline



   – Statistical Analysis
      • Linear Regressions
          – Regressions
          – F-stat
          – Fitted Values
          – Residuals
          – Challenge
Outline



   – Statistical Analysis
      • Linear Regressions
          – Regressions
          – F-stat
          – Fitted Values
          – Residuals
          – Challenge
Outline



   – Statistical Analysis
      • Linear Regressions
          – Regressions
          – F-stat
          – Fitted Values
          – Residuals
          – Challenge
Regression: Challenge


   Challenge
   – Estimate regression of read_scr vs str

   Method
   – Use current data
   – Plot scatter graph of read_scr vs str
   – Conduct linear regression with robust errors
   – Save fitted values
   – Plot scatter graph with overlaid fitted values
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?

Lecture notes on Johansen cointegration
Lecture notes on Johansen cointegrationLecture notes on Johansen cointegration
Lecture notes on Johansen cointegration
Moses sichei
 
STATA - Presenting Output
STATA - Presenting OutputSTATA - Presenting Output
STATA - Presenting Output
stata_org_uk
 
STATA - Time Series Analysis
STATA - Time Series AnalysisSTATA - Time Series Analysis
STATA - Time Series Analysis
stata_org_uk
 

Was ist angesagt? (20)

Time series analysis in Stata
Time series analysis in StataTime series analysis in Stata
Time series analysis in Stata
 
INTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptxINTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptx
 
Panel Data Models
Panel Data ModelsPanel Data Models
Panel Data Models
 
Lecture notes on Johansen cointegration
Lecture notes on Johansen cointegrationLecture notes on Johansen cointegration
Lecture notes on Johansen cointegration
 
Econometrics ch2
Econometrics ch2Econometrics ch2
Econometrics ch2
 
ders 7.1 VAR.pptx
ders 7.1 VAR.pptxders 7.1 VAR.pptx
ders 7.1 VAR.pptx
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
STATA - Presenting Output
STATA - Presenting OutputSTATA - Presenting Output
STATA - Presenting Output
 
Heteroscedasticity
HeteroscedasticityHeteroscedasticity
Heteroscedasticity
 
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
 
Chapter8
Chapter8Chapter8
Chapter8
 
Stata statistics
Stata statisticsStata statistics
Stata statistics
 
Difference-in-Difference Methods
Difference-in-Difference MethodsDifference-in-Difference Methods
Difference-in-Difference Methods
 
Econometrics
EconometricsEconometrics
Econometrics
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive Models
 
Ch07 ans
Ch07 ansCh07 ans
Ch07 ans
 
Introduction to time series.pptx
Introduction to time series.pptxIntroduction to time series.pptx
Introduction to time series.pptx
 
Propensity Score Matching Methods
Propensity Score Matching MethodsPropensity Score Matching Methods
Propensity Score Matching Methods
 
STATA - Time Series Analysis
STATA - Time Series AnalysisSTATA - Time Series Analysis
STATA - Time Series Analysis
 
Introduction to Structural Equation Modeling Partial Least Sqaures (SEM-PLS)
Introduction to Structural Equation Modeling Partial Least Sqaures (SEM-PLS)Introduction to Structural Equation Modeling Partial Least Sqaures (SEM-PLS)
Introduction to Structural Equation Modeling Partial Least Sqaures (SEM-PLS)
 

Andere mochten auch

STATA - Introduction
STATA - IntroductionSTATA - Introduction
STATA - Introduction
stata_org_uk
 
STATA - Panel Regressions
STATA - Panel RegressionsSTATA - Panel Regressions
STATA - Panel Regressions
stata_org_uk
 
STATA - Download Examples
STATA - Download ExamplesSTATA - Download Examples
STATA - Download Examples
stata_org_uk
 
STATA - Merge or Drop Data
STATA - Merge or Drop DataSTATA - Merge or Drop Data
STATA - Merge or Drop Data
stata_org_uk
 
STATA - Summary Statistics
STATA - Summary StatisticsSTATA - Summary Statistics
STATA - Summary Statistics
stata_org_uk
 
STATA - Graphing Data
STATA - Graphing DataSTATA - Graphing Data
STATA - Graphing Data
stata_org_uk
 
STATA - Instrumental Variables
STATA - Instrumental VariablesSTATA - Instrumental Variables
STATA - Instrumental Variables
stata_org_uk
 
STATA - Importing Data
STATA - Importing DataSTATA - Importing Data
STATA - Importing Data
stata_org_uk
 
Presentation on GMM
Presentation on GMMPresentation on GMM
Presentation on GMM
Moses sichei
 
STATA - Probit Analysis
STATA - Probit AnalysisSTATA - Probit Analysis
STATA - Probit Analysis
stata_org_uk
 
Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011
Moses sichei
 
Applied Econometrics assignment3
Applied Econometrics assignment3Applied Econometrics assignment3
Applied Econometrics assignment3
Chenguang Li
 
Regresion lineal multiple_3
Regresion lineal multiple_3Regresion lineal multiple_3
Regresion lineal multiple_3
karinita12
 

Andere mochten auch (20)

STATA - Introduction
STATA - IntroductionSTATA - Introduction
STATA - Introduction
 
STATA - Panel Regressions
STATA - Panel RegressionsSTATA - Panel Regressions
STATA - Panel Regressions
 
STATA - Download Examples
STATA - Download ExamplesSTATA - Download Examples
STATA - Download Examples
 
STATA - Merge or Drop Data
STATA - Merge or Drop DataSTATA - Merge or Drop Data
STATA - Merge or Drop Data
 
STATA - Summary Statistics
STATA - Summary StatisticsSTATA - Summary Statistics
STATA - Summary Statistics
 
STATA - Graphing Data
STATA - Graphing DataSTATA - Graphing Data
STATA - Graphing Data
 
STATA - Instrumental Variables
STATA - Instrumental VariablesSTATA - Instrumental Variables
STATA - Instrumental Variables
 
STATA - Importing Data
STATA - Importing DataSTATA - Importing Data
STATA - Importing Data
 
Presentation on GMM
Presentation on GMMPresentation on GMM
Presentation on GMM
 
STATA - Probit Analysis
STATA - Probit AnalysisSTATA - Probit Analysis
STATA - Probit Analysis
 
Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011Lecture 7B Panel Econometrics I 2011
Lecture 7B Panel Econometrics I 2011
 
Stata tutorial university of princeton
Stata tutorial university of princetonStata tutorial university of princeton
Stata tutorial university of princeton
 
Introduction to Stata
Introduction to Stata Introduction to Stata
Introduction to Stata
 
Using STATA in Survey Data Analysis - Niveen El Zayat
Using STATA in Survey Data Analysis - Niveen El ZayatUsing STATA in Survey Data Analysis - Niveen El Zayat
Using STATA in Survey Data Analysis - Niveen El Zayat
 
From logistic regression to linear chain CRF
From logistic regression to linear chain CRFFrom logistic regression to linear chain CRF
From logistic regression to linear chain CRF
 
Probit and logit model
Probit and logit modelProbit and logit model
Probit and logit model
 
The Law School Bubble
The Law School BubbleThe Law School Bubble
The Law School Bubble
 
Applied Econometrics assignment3
Applied Econometrics assignment3Applied Econometrics assignment3
Applied Econometrics assignment3
 
Regresion lineal multiple_3
Regresion lineal multiple_3Regresion lineal multiple_3
Regresion lineal multiple_3
 
Unrestricted var out
Unrestricted var outUnrestricted var out
Unrestricted var out
 

Ähnlich wie STATA - Linear Regressions

Gain evaluator session (2)
Gain evaluator session (2)Gain evaluator session (2)
Gain evaluator session (2)
DrTeenaS
 

Ähnlich wie STATA - Linear Regressions (20)

Statistical software
Statistical softwareStatistical software
Statistical software
 
XLSTAT - Statistical Analysis Software
XLSTAT - Statistical Analysis Software XLSTAT - Statistical Analysis Software
XLSTAT - Statistical Analysis Software
 
Linear regression in R
Linear regression in R Linear regression in R
Linear regression in R
 
STATA 13
STATA 13STATA 13
STATA 13
 
SASA Presentation 2013
SASA Presentation 2013SASA Presentation 2013
SASA Presentation 2013
 
What's New in SAP HANA SPS 11 Predictive
What's New in SAP HANA SPS 11 PredictiveWhat's New in SAP HANA SPS 11 Predictive
What's New in SAP HANA SPS 11 Predictive
 
5116427.ppt
5116427.ppt5116427.ppt
5116427.ppt
 
flankr: EPS presentation
flankr: EPS presentationflankr: EPS presentation
flankr: EPS presentation
 
Documenting Data Transformations
Documenting Data TransformationsDocumenting Data Transformations
Documenting Data Transformations
 
Analytics services 2013
Analytics services 2013Analytics services 2013
Analytics services 2013
 
IBM SPSS Statistics Subscription (월 구독) 제품 구성
IBM SPSS Statistics Subscription (월 구독) 제품 구성 IBM SPSS Statistics Subscription (월 구독) 제품 구성
IBM SPSS Statistics Subscription (월 구독) 제품 구성
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Conducting Tests of Differences
Conducting Tests of DifferencesConducting Tests of Differences
Conducting Tests of Differences
 
Vldb14
Vldb14Vldb14
Vldb14
 
E-Commerce data modelling
E-Commerce data modellingE-Commerce data modelling
E-Commerce data modelling
 
Forecasting Techniques - Data Science SG
Forecasting Techniques - Data Science SG Forecasting Techniques - Data Science SG
Forecasting Techniques - Data Science SG
 
SPC: Fundamentos por Matt Savage
SPC: Fundamentos por Matt SavageSPC: Fundamentos por Matt Savage
SPC: Fundamentos por Matt Savage
 
Towards Dynamic Consistency Checking in Goal-directed Predicate Answer Set Pr...
Towards Dynamic Consistency Checking in Goal-directed Predicate Answer Set Pr...Towards Dynamic Consistency Checking in Goal-directed Predicate Answer Set Pr...
Towards Dynamic Consistency Checking in Goal-directed Predicate Answer Set Pr...
 
Gain evaluator session (2)
Gain evaluator session (2)Gain evaluator session (2)
Gain evaluator session (2)
 
Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Chapter 6 data analysis iec11
Chapter 6 data analysis iec11
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

STATA - Linear Regressions

  • 1. STATA: Data Analysis Software STATA Linear 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 • Linear Regressions – Regressions – F-stat – Fitted Values – Residuals – Challenge
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Outline – Statistical Analysis • Linear Regressions – Regressions – F-stat – Fitted Values – Residuals – Challenge
  • 9.
  • 10.
  • 11.
  • 12. Outline – Statistical Analysis • Linear Regressions – Regressions – F-stat – Fitted Values – Residuals – Challenge
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Outline – Statistical Analysis • Linear Regressions – Regressions – F-stat – Fitted Values – Residuals – Challenge
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. Outline – Statistical Analysis • Linear Regressions – Regressions – F-stat – Fitted Values – Residuals – Challenge
  • 25. Regression: Challenge Challenge – Estimate regression of read_scr vs str Method – Use current data – Plot scatter graph of read_scr vs str – Conduct linear regression with robust errors – Save fitted values – Plot scatter graph with overlaid fitted values
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48. 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