The slope, explained variance, residuals

Slides:



Advertisements
Similar presentations
Dummy Variables and Interactions. Dummy Variables What is the the relationship between the % of non-Swiss residents (IV) and discretionary social spending.
Advertisements

Qualitative predictor variables
More on understanding variance inflation factors (VIFk)
Sociology 601 Class 24: November 19, 2009 (partial) Review –regression results for spurious & intervening effects –care with sample sizes for comparing.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.16 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Heteroskedasticity The Problem:
Linear Regression: Making Sense of Regression Results
ELASTICITIES AND DOUBLE-LOGARITHMIC MODELS
Lecture 9 Today: Ch. 3: Multiple Regression Analysis Example with two independent variables Frisch-Waugh-Lovell theorem.
Sociology 601, Class17: October 27, 2009 Linear relationships. A & F, chapter 9.1 Least squares estimation. A & F 9.2 The linear regression model (9.3)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: exercise 3.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Introduction to Linear Regression.
Lecture 4 This week’s reading: Ch. 1 Today:
Sociology 601 Class 19: November 3, 2008 Review of correlation and standardized coefficients Statistical inference for the slope (9.5) Violations of Model.
Sociology 601 Class 21: November 10, 2009 Review –formulas for b and se(b) –stata regression commands & output Violations of Model Assumptions, and their.
Sociology 601 Class 25: November 24, 2009 Homework 9 Review –dummy variable example from ASR (finish) –regression results for dummy variables Quadratic.
Sociology 601 Class 28: December 8, 2009 Homework 10 Review –polynomials –interaction effects Logistic regressions –log odds as outcome –compared to linear.
Regression Example Using Pop Quiz Data. Second Pop Quiz At my former school (Irvine), I gave a “pop quiz” to my econometrics students. The quiz consisted.
Introduction to Regression Analysis Straight lines, fitted values, residual values, sums of squares, relation to the analysis of variance.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
Sociology 601 Class 23: November 17, 2009 Homework #8 Review –spurious, intervening, & interactions effects –stata regression commands & output F-tests.
Interpreting Bi-variate OLS Regression
1 Zinc Data EPP 245 Statistical Analysis of Laboratory Data.
1 Regression and Calibration EPP 245 Statistical Analysis of Laboratory Data.
Sociology 601 Class 26: December 1, 2009 (partial) Review –curvilinear regression results –cubic polynomial Interaction effects –example: earnings on married.
1 INTERPRETATION OF A REGRESSION EQUATION The scatter diagram shows hourly earnings in 2002 plotted against years of schooling, defined as highest grade.
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
EDUC 200C Section 4 – Review Melissa Kemmerle October 19, 2012.
Returning to Consumption
MultiCollinearity. The Nature of the Problem OLS requires that the explanatory variables are independent of error term But they may not always be independent.
EDUC 200C Section 3 October 12, Goals Review correlation prediction formula Calculate z y ’ = r xy z x for a new data set Use formula to predict.
What is the MPC?. Learning Objectives 1.Use linear regression to establish the relationship between two variables 2.Show that the line is the line of.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Warsaw Summer School 2015, OSU Study Abroad Program Regression.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: exercise 5.2 Original citation: Dougherty, C. (2012) EC220 - Introduction.
LESSON 6: REGRESSION 2/21/12 EDUC 502: Introduction to Statistics.
STAT E100 Section Week 12- Regression. Course Review - Project due Dec 17 th, your TA. - Exam 2 make-up is Dec 5 th, practice tests have been updated.
1 CHANGES IN THE UNITS OF MEASUREMENT Suppose that the units of measurement of Y or X are changed. How will this affect the regression results? Intuitively,
1 BINARY CHOICE MODELS: LINEAR PROBABILITY MODEL Economists are often interested in the factors behind the decision-making of individuals or enterprises,
F TESTS RELATING TO GROUPS OF EXPLANATORY VARIABLES 1 We now come to more general F tests of goodness of fit. This is a test of the joint explanatory power.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
The statistics behind the game
Chapter 20 Linear and Multiple Regression
Simple Bivariate Regression
QM222 Class 9 Section A1 Coefficient statistics
QM222 Class 10 Section D1 1. Goodness of fit -- review 2
Regression Analysis AGEC 784.
From t-test to multilevel analyses Del-2
QM222 Class 16 & 17 Today’s New topic: Estimating nonlinear relationships QM222 Fall 2017 Section A1.
QM222 Class 11 Section A1 Multiple Regression
Chapter 13 Created by Bethany Stubbe and Stephan Kogitz.
QM222 Class 18 Omitted Variable Bias
QM222 Class 8 Section A1 Using categorical data in regression
QM222 Class 8 Section D1 1. Review: coefficient statistics: standard errors, t-statistics, p-values (chapter 7) 2. Multiple regression 3. Goodness of fit.
Relationship with one independent variable
The statistics behind the game
I271B Quantitative Methods
Inference for Regression Lines
QM222 Class 15 Section D1 Review for test Multicollinearity
Covariance x – x > 0 x (x,y) y – y > 0 y x and y axes.
Relationship with one independent variable
Correlation and Regression
Introduction to Regression
Slope and Marginal Values
EPP 245 Statistical Analysis of Laboratory Data
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

The slope, explained variance, residuals Bivariate regression The slope, explained variance, residuals

What is the formula for a slope? A. e = mc2 B. Yi = a + bxi + ei C. ŷ = a + bx D. y ≥ x ≥ a

What information does the slope provide? A. whether the relationship is statistically significant B. whether a case is a severe outlier, like Buchanan’s share of the vote C. on average, what is the predicted value of y, given various values of x D. which baseball batter is likely to hit best in the next game

What is a? A. the y intercept B. the value of y when x = 0 C. where the slope crosses the y a axis D. all of the above

Bivariate Relationships Plotting a Line

Review: Covariance When it tends to be the case that x is greater than the mean when y is greater than the mean AND x is lower than the mean when y is lower than the mean, then there is a positive covariation

Plot showing positive covariance

Expected value But we may want to know more specific knowledge than that – we may want to know the expected value of y for each increased value of x I may know the mean of everyone’s height in class But if I know gender, then I can generate two expected values If you remember, we are always trying to do better than the mean

Substantive effect For every 10K dollars given in humanitarian aid, there is an increase in 3K spent on weapons For every 10K dollars given in humanitarian aid, there is a .5K increase spent on weapons For every 10K dollars given in humanitarian aid, there is a 8K increase spent on weapons Unit of analysis?

Regression equation y = a + bx + e ŷ = a + bx ŷ is also known as yhat y is the dependent variable value yhat is the predicted value a is the intercept

X and Y Y X 2 1 2 4 3 3 4 6 5 5 6

X and Y Y X 2 1 2 4 3 3 4 6 5 5 6

Theory Living in an urban area allows better access to prenatal care.

Output Source SS df MS Number of obs = 41 F( 1, 39) = 9.09 Model 860.523694 1 860.523694 Prob > F = 0.0045 Residual 3693.55683 39 94.7065855 R-squared = 0.1890 Adj R-squared = 0.1682 Total 4554.08053 40 113.852013 Root MSE = 9.7317 prenatalcarepct Coef. Std. Err. t P>t [95% Conf. Interval] urbanpctoftotal .2517241 .083509 3.01 0.005 .0828111 .4206371 _cons 76.35186 4.367962 17.48 0.000 67.51682 85.18689

Linear Equation

ŷ= a + bx b is slope – rise over run a is the y intercept; constant Standard error is the average error from the actual points to the slope T is the ratio of the slope divided by the standard error Beta = Pearson r in bivariate analysis