SlideShare a Scribd company logo
1 of 10
MODEL SPECIFICATION FOR
MULTIPLE REGRESSION
Ryan Herzog, Ph.D.
Gonzaga University
ECON 355 – Regression Analysis
MEASURES OF FIT
• R-squared
• Standard Error of the Regression
R-SQUARED
• The regression R2 measures the fraction of the variance of Y that is
explained by X; it is unitless and ranges between zero (no fit) and one
(perfect fit)
• By simply looking at R-squared of a regression we will not be able to say
much, we need to have at least two regressions to compare them
• All else equal we want to be able to explain a higher share of variance in Y
• Stata:
• Use California school dataset
• Regress test scores on class size. The R-squared is 0.0512. This means that class size
explains about 5% of the variance in test scores.
• Regress test scores on expenditure per student. What is the R-squared? How would
you interpret it?
INTERPRETING R-SQUARED
• An increase in R-squared does not necessarily mean that an added variable
is statistically significant
• A high R-squared does not mean that the regressors are a true cause of the
dependent variable
• A high R-squared does not mean that the coefficients on the regressors are
true
• A low R-squared does not mean that the coefficients on the regressors are
wrong
• A high R-squared does not necessarily mean that you have the most
appropriate set of regressors, nor does a low R-squared necessarily mean
that you have an inappropriate set of regressors.
R-SQUARED RULES
• Same dependent variable
• Same number of independent variables
• Stata:
• generate ltestscr=ln(testscr)
Generate a table with the regressions below (use outreg)
• Regress test score on class size and expenditure per student
• Regress natural log of test score on class size
• Regress test score on class size and average district income
• Regress expenditure per student on average district income
• Regress natural log of test score on average district income
• Regress natural log of test score on class size and expenditure per student
STANDARD ERROR OF THE REGRESSION
• The SER is a measure of the spread of the observations around the regression line
measured in the units of the dependent variable
• SER is an estimator of the standard deviation of the regression error 𝑢𝑖
• All else equal we want to have a smaller spread of the observations around the
regression line
• In Stata SER is called root MSE (mean squared error)
• In the regression of class size on test score the SER is about 18.6. This means that the
standard deviation of the regression residuals around the regression line is 18.6 points.
• We can use SER to compare models
• What are the SERs for the rest of the regressions you have run? What does that mean?
CAUSAL EFFECTS AND IDEALIZED
EXPERIMENTS
• Most of our questions concern causal relationships among variables, i.e.
does lower class size lead to higher test scores?
• Causality means that a specific action leads to a specific measurable
consequence
• The best way to measure a causal effect is by conducting an experiment
• In a randomized controlled experiment there is both a control group and a
treatment group. Assignment to a group happens randomly
• We would like to be able to show that the only systematic reason for
differences in outcomes between the treatment and control groups is the
treatment itself
• In practice, it is not possible to perform ideal experiment. This however, gives
us a benchmark.
NONRANDOM SAMPLE EXAMPLE - 1
• In 1936 the Literary Gazette polled a “random” sample of households chosen
from telephone records and automobile registration
• In 1936 many households did not have cars or telephones, and those that
did tended to be richer – and were also more likely to be Republican
• The results of the poll indicated the Landon (a republican presidential
candidate) would defeat an incumbent (Roosevelt) by a landslide – 57% to
43% in the 1936 election
• Roosevelt ended up winning by 59% to 41%
• Do you think surveys conducted using social media might have a similar
problem with bias?
NONRANDOM SAMPLE EXAMPLE - 2
• Some mutual funds simply track the market, some are actively managed by full-time
professionals.
• Do the latter mutual funds outperform the former?
• One way to answer the question is to use historical data on funds currently available
for purchase, however this means that the most poorly underperforming funds would
not be represented.
• The sample is selected based on the value of the dependent variable, returns, because
funds with the lowest returns are eliminated
• The mean return of all funds would then be lower than the mean return of those still in
existence. This is also called a survivorship bias.
• When corrected for survivorship bias it turns out actively managed funds do not
outperform the market
NON-RANDOM SAMPLE EXAMPLE 3
• Does the class size affect the test scores with only districts where
average class size is above 20 students included?
• What is the average height of a GU student measured outside of a
basketball locker room?

More Related Content

What's hot

R - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsR - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsJen Stirrup
 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)Rajdeep Raut
 
Eric Delmelle: Disease Mapping
Eric Delmelle: Disease Mapping Eric Delmelle: Disease Mapping
Eric Delmelle: Disease Mapping THL
 
An Introduction to Factor analysis ppt
An Introduction to Factor analysis pptAn Introduction to Factor analysis ppt
An Introduction to Factor analysis pptMukesh Bisht
 
Econometric model ing
Econometric model ingEconometric model ing
Econometric model ingMatt Grant
 
Marketing Research-Factor Analysis
Marketing Research-Factor AnalysisMarketing Research-Factor Analysis
Marketing Research-Factor AnalysisArun Gupta
 
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...tarta
 
Factor Analysis (Marketing Research)
Factor Analysis (Marketing Research)Factor Analysis (Marketing Research)
Factor Analysis (Marketing Research)Mohammad Saif Alam
 
Chapter 01
Chapter 01Chapter 01
Chapter 01bmcfad01
 
Statistics
StatisticsStatistics
Statisticspikuoec
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15Chris Lovett
 
Factor analysis
Factor analysisFactor analysis
Factor analysissaba khan
 

What's hot (20)

R - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsR - what do the numbers mean? #RStats
R - what do the numbers mean? #RStats
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 
Statr sessions 4 to 6
Statr sessions 4 to 6Statr sessions 4 to 6
Statr sessions 4 to 6
 
Factor analysis (fa)
Factor analysis (fa)Factor analysis (fa)
Factor analysis (fa)
 
Week 3 unit 1
Week 3 unit 1Week 3 unit 1
Week 3 unit 1
 
Eric Delmelle: Disease Mapping
Eric Delmelle: Disease Mapping Eric Delmelle: Disease Mapping
Eric Delmelle: Disease Mapping
 
An Introduction to Factor analysis ppt
An Introduction to Factor analysis pptAn Introduction to Factor analysis ppt
An Introduction to Factor analysis ppt
 
Econometric model ing
Econometric model ingEconometric model ing
Econometric model ing
 
Marketing Research-Factor Analysis
Marketing Research-Factor AnalysisMarketing Research-Factor Analysis
Marketing Research-Factor Analysis
 
Review of Statistics
Review of StatisticsReview of Statistics
Review of Statistics
 
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
Statistical Techniques in Business & Economics (McGRAV-HILL) 12 Edt. Chapter ...
 
Factor Analysis (Marketing Research)
Factor Analysis (Marketing Research)Factor Analysis (Marketing Research)
Factor Analysis (Marketing Research)
 
Statistics
StatisticsStatistics
Statistics
 
Specification Errors | Eonomics
Specification Errors | EonomicsSpecification Errors | Eonomics
Specification Errors | Eonomics
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Statistics
StatisticsStatistics
Statistics
 
Bmgt 311 chapter_15
Bmgt 311 chapter_15Bmgt 311 chapter_15
Bmgt 311 chapter_15
 
Data analysis
Data analysisData analysis
Data analysis
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 

Similar to Topic 6 (model specification)

Institutional Research and Regression
Institutional Research and RegressionInstitutional Research and Regression
Institutional Research and RegressionColby Stoever
 
Dispersion
DispersionDispersion
DispersionL H
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statisticsAnand Thokal
 
Quantitative Research Design.pptx
Quantitative Research Design.pptxQuantitative Research Design.pptx
Quantitative Research Design.pptxAlok Kumar Gaurav
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statisticsHiba Armouche
 
The Interpretation Of Quartiles And Percentiles July 2009
The Interpretation Of Quartiles And Percentiles   July 2009The Interpretation Of Quartiles And Percentiles   July 2009
The Interpretation Of Quartiles And Percentiles July 2009Maggie Verster
 
Presentation research- chapter 10-11 istiqlal
Presentation research- chapter 10-11 istiqlalPresentation research- chapter 10-11 istiqlal
Presentation research- chapter 10-11 istiqlalIstiqlalEid
 
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docx
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docxSTAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docx
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docxwhitneyleman54422
 
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...NWEA
 
fundamentals of data science and analytics on descriptive analysis.pptx
fundamentals of data science and analytics on descriptive analysis.pptxfundamentals of data science and analytics on descriptive analysis.pptx
fundamentals of data science and analytics on descriptive analysis.pptxkumaragurusv
 
TSL3133 Topic 12 Quantitative Data Analysis
TSL3133 Topic 12 Quantitative Data AnalysisTSL3133 Topic 12 Quantitative Data Analysis
TSL3133 Topic 12 Quantitative Data AnalysisYee Bee Choo
 
Quantitative data analysis - John Richardson
Quantitative data analysis - John RichardsonQuantitative data analysis - John Richardson
Quantitative data analysis - John RichardsonOUmethods
 
Scatterplots and Cautions of Correlation
Scatterplots and Cautions of CorrelationScatterplots and Cautions of Correlation
Scatterplots and Cautions of CorrelationOleg Janke
 
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptx
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptxChapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptx
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptxHazelLansula1
 
Spe 501 class 11
Spe 501 class 11Spe 501 class 11
Spe 501 class 11jzurheide
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptxCalvinAdorDionisio
 

Similar to Topic 6 (model specification) (20)

Institutional Research and Regression
Institutional Research and RegressionInstitutional Research and Regression
Institutional Research and Regression
 
Dispersion
DispersionDispersion
Dispersion
 
Test norms.pptx
Test norms.pptxTest norms.pptx
Test norms.pptx
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Quantitative research
Quantitative researchQuantitative research
Quantitative research
 
Quantitative Research Design.pptx
Quantitative Research Design.pptxQuantitative Research Design.pptx
Quantitative Research Design.pptx
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
The Interpretation Of Quartiles And Percentiles July 2009
The Interpretation Of Quartiles And Percentiles   July 2009The Interpretation Of Quartiles And Percentiles   July 2009
The Interpretation Of Quartiles And Percentiles July 2009
 
Presentation research- chapter 10-11 istiqlal
Presentation research- chapter 10-11 istiqlalPresentation research- chapter 10-11 istiqlal
Presentation research- chapter 10-11 istiqlal
 
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docx
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docxSTAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docx
STAT 350 (Spring 2017) Homework 11 (20 points + 1 point BONUS).docx
 
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...
Predicting Student Performance on the MSP-HSPE: Understanding, Conducting, an...
 
fundamentals of data science and analytics on descriptive analysis.pptx
fundamentals of data science and analytics on descriptive analysis.pptxfundamentals of data science and analytics on descriptive analysis.pptx
fundamentals of data science and analytics on descriptive analysis.pptx
 
TSL3133 Topic 12 Quantitative Data Analysis
TSL3133 Topic 12 Quantitative Data AnalysisTSL3133 Topic 12 Quantitative Data Analysis
TSL3133 Topic 12 Quantitative Data Analysis
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Quantitative data analysis - John Richardson
Quantitative data analysis - John RichardsonQuantitative data analysis - John Richardson
Quantitative data analysis - John Richardson
 
Scatterplots and Cautions of Correlation
Scatterplots and Cautions of CorrelationScatterplots and Cautions of Correlation
Scatterplots and Cautions of Correlation
 
Measurement and Scaling
Measurement and ScalingMeasurement and Scaling
Measurement and Scaling
 
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptx
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptxChapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptx
Chapter 2 The Science of Psychological Measurement (Alivio, Ansula).pptx
 
Spe 501 class 11
Spe 501 class 11Spe 501 class 11
Spe 501 class 11
 
Measure of Variability Report.pptx
Measure of Variability Report.pptxMeasure of Variability Report.pptx
Measure of Variability Report.pptx
 

More from Ryan Herzog

Chapter 14 - Great Recession
Chapter 14 - Great RecessionChapter 14 - Great Recession
Chapter 14 - Great RecessionRyan Herzog
 
Chapter 13 - AD/AS
Chapter 13 - AD/ASChapter 13 - AD/AS
Chapter 13 - AD/ASRyan Herzog
 
Chapter 12 - Monetary Policy
Chapter 12 - Monetary PolicyChapter 12 - Monetary Policy
Chapter 12 - Monetary PolicyRyan Herzog
 
Chapter 11 - IS Curve
Chapter 11 - IS CurveChapter 11 - IS Curve
Chapter 11 - IS CurveRyan Herzog
 
Chapter 10 - Great Recession
Chapter 10 - Great RecessionChapter 10 - Great Recession
Chapter 10 - Great RecessionRyan Herzog
 
Chapter 9 - Short Run
Chapter 9 - Short RunChapter 9 - Short Run
Chapter 9 - Short RunRyan Herzog
 
Chapter 8 - Inflation
Chapter 8 - InflationChapter 8 - Inflation
Chapter 8 - InflationRyan Herzog
 
Chapter 7 - Labor Market
Chapter 7 - Labor MarketChapter 7 - Labor Market
Chapter 7 - Labor MarketRyan Herzog
 
Chapter 6 - Romer Model
Chapter 6 - Romer Model Chapter 6 - Romer Model
Chapter 6 - Romer Model Ryan Herzog
 
Chapter 5 - Solow Model for Growth
Chapter 5 - Solow Model for GrowthChapter 5 - Solow Model for Growth
Chapter 5 - Solow Model for GrowthRyan Herzog
 
Chapter 4 - Model of Production
Chapter 4 - Model of ProductionChapter 4 - Model of Production
Chapter 4 - Model of ProductionRyan Herzog
 
Chapter 3 - Long-Run Economic Growth
Chapter 3 - Long-Run Economic GrowthChapter 3 - Long-Run Economic Growth
Chapter 3 - Long-Run Economic GrowthRyan Herzog
 
Chapter 2 - Measuring the Macroeconomy
Chapter 2 - Measuring the MacroeconomyChapter 2 - Measuring the Macroeconomy
Chapter 2 - Measuring the MacroeconomyRyan Herzog
 
Topic 7 (questions)
Topic 7 (questions)Topic 7 (questions)
Topic 7 (questions)Ryan Herzog
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)Ryan Herzog
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)Ryan Herzog
 
Topic 4 (binary)
Topic 4 (binary)Topic 4 (binary)
Topic 4 (binary)Ryan Herzog
 
Topic 3 (Stats summary)
Topic 3 (Stats summary)Topic 3 (Stats summary)
Topic 3 (Stats summary)Ryan Herzog
 

More from Ryan Herzog (20)

Chapter 14 - Great Recession
Chapter 14 - Great RecessionChapter 14 - Great Recession
Chapter 14 - Great Recession
 
Chapter 13 - AD/AS
Chapter 13 - AD/ASChapter 13 - AD/AS
Chapter 13 - AD/AS
 
Chapter 12 - Monetary Policy
Chapter 12 - Monetary PolicyChapter 12 - Monetary Policy
Chapter 12 - Monetary Policy
 
Chapter 11 - IS Curve
Chapter 11 - IS CurveChapter 11 - IS Curve
Chapter 11 - IS Curve
 
Chapter 10 - Great Recession
Chapter 10 - Great RecessionChapter 10 - Great Recession
Chapter 10 - Great Recession
 
Chapter 9 - Short Run
Chapter 9 - Short RunChapter 9 - Short Run
Chapter 9 - Short Run
 
Chapter 8 - Inflation
Chapter 8 - InflationChapter 8 - Inflation
Chapter 8 - Inflation
 
Chapter 7 - Labor Market
Chapter 7 - Labor MarketChapter 7 - Labor Market
Chapter 7 - Labor Market
 
Chapter 6 - Romer Model
Chapter 6 - Romer Model Chapter 6 - Romer Model
Chapter 6 - Romer Model
 
Chapter 5 - Solow Model for Growth
Chapter 5 - Solow Model for GrowthChapter 5 - Solow Model for Growth
Chapter 5 - Solow Model for Growth
 
Chapter 4 - Model of Production
Chapter 4 - Model of ProductionChapter 4 - Model of Production
Chapter 4 - Model of Production
 
Chapter 3 - Long-Run Economic Growth
Chapter 3 - Long-Run Economic GrowthChapter 3 - Long-Run Economic Growth
Chapter 3 - Long-Run Economic Growth
 
Chapter 2 - Measuring the Macroeconomy
Chapter 2 - Measuring the MacroeconomyChapter 2 - Measuring the Macroeconomy
Chapter 2 - Measuring the Macroeconomy
 
Topic 7 (data)
Topic 7 (data)Topic 7 (data)
Topic 7 (data)
 
Inequality
InequalityInequality
Inequality
 
Topic 7 (questions)
Topic 7 (questions)Topic 7 (questions)
Topic 7 (questions)
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)
 
Topic 4 (binary)
Topic 4 (binary)Topic 4 (binary)
Topic 4 (binary)
 
Topic 3 (Stats summary)
Topic 3 (Stats summary)Topic 3 (Stats summary)
Topic 3 (Stats summary)
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

Topic 6 (model specification)

  • 1. MODEL SPECIFICATION FOR MULTIPLE REGRESSION Ryan Herzog, Ph.D. Gonzaga University ECON 355 – Regression Analysis
  • 2. MEASURES OF FIT • R-squared • Standard Error of the Regression
  • 3. R-SQUARED • The regression R2 measures the fraction of the variance of Y that is explained by X; it is unitless and ranges between zero (no fit) and one (perfect fit) • By simply looking at R-squared of a regression we will not be able to say much, we need to have at least two regressions to compare them • All else equal we want to be able to explain a higher share of variance in Y • Stata: • Use California school dataset • Regress test scores on class size. The R-squared is 0.0512. This means that class size explains about 5% of the variance in test scores. • Regress test scores on expenditure per student. What is the R-squared? How would you interpret it?
  • 4. INTERPRETING R-SQUARED • An increase in R-squared does not necessarily mean that an added variable is statistically significant • A high R-squared does not mean that the regressors are a true cause of the dependent variable • A high R-squared does not mean that the coefficients on the regressors are true • A low R-squared does not mean that the coefficients on the regressors are wrong • A high R-squared does not necessarily mean that you have the most appropriate set of regressors, nor does a low R-squared necessarily mean that you have an inappropriate set of regressors.
  • 5. R-SQUARED RULES • Same dependent variable • Same number of independent variables • Stata: • generate ltestscr=ln(testscr) Generate a table with the regressions below (use outreg) • Regress test score on class size and expenditure per student • Regress natural log of test score on class size • Regress test score on class size and average district income • Regress expenditure per student on average district income • Regress natural log of test score on average district income • Regress natural log of test score on class size and expenditure per student
  • 6. STANDARD ERROR OF THE REGRESSION • The SER is a measure of the spread of the observations around the regression line measured in the units of the dependent variable • SER is an estimator of the standard deviation of the regression error 𝑢𝑖 • All else equal we want to have a smaller spread of the observations around the regression line • In Stata SER is called root MSE (mean squared error) • In the regression of class size on test score the SER is about 18.6. This means that the standard deviation of the regression residuals around the regression line is 18.6 points. • We can use SER to compare models • What are the SERs for the rest of the regressions you have run? What does that mean?
  • 7. CAUSAL EFFECTS AND IDEALIZED EXPERIMENTS • Most of our questions concern causal relationships among variables, i.e. does lower class size lead to higher test scores? • Causality means that a specific action leads to a specific measurable consequence • The best way to measure a causal effect is by conducting an experiment • In a randomized controlled experiment there is both a control group and a treatment group. Assignment to a group happens randomly • We would like to be able to show that the only systematic reason for differences in outcomes between the treatment and control groups is the treatment itself • In practice, it is not possible to perform ideal experiment. This however, gives us a benchmark.
  • 8. NONRANDOM SAMPLE EXAMPLE - 1 • In 1936 the Literary Gazette polled a “random” sample of households chosen from telephone records and automobile registration • In 1936 many households did not have cars or telephones, and those that did tended to be richer – and were also more likely to be Republican • The results of the poll indicated the Landon (a republican presidential candidate) would defeat an incumbent (Roosevelt) by a landslide – 57% to 43% in the 1936 election • Roosevelt ended up winning by 59% to 41% • Do you think surveys conducted using social media might have a similar problem with bias?
  • 9. NONRANDOM SAMPLE EXAMPLE - 2 • Some mutual funds simply track the market, some are actively managed by full-time professionals. • Do the latter mutual funds outperform the former? • One way to answer the question is to use historical data on funds currently available for purchase, however this means that the most poorly underperforming funds would not be represented. • The sample is selected based on the value of the dependent variable, returns, because funds with the lowest returns are eliminated • The mean return of all funds would then be lower than the mean return of those still in existence. This is also called a survivorship bias. • When corrected for survivorship bias it turns out actively managed funds do not outperform the market
  • 10. NON-RANDOM SAMPLE EXAMPLE 3 • Does the class size affect the test scores with only districts where average class size is above 20 students included? • What is the average height of a GU student measured outside of a basketball locker room?