Metropolitan State University
ECON 497: Research and Forecasting
Lecture 2: Ordinary Least Squares
Ordinary least squares (OLS) is a mathematical technique used to estimate a relationship between different variables. The most simple version of this relationship is:
Yi = β0 + β1Xi + εi where Yi is the value of the dependent variable, Xi is the value of the explanatory variable and εi is the value of the stochastic error term for the ith observation.
The result of this estimation procedure is estimates of the coefficients, β0 and β1 which are called β0-hat and β1-hat. These coefficients are used to generate estimates of or predicted values for the dependent variable which are called Yi-hat and we can say that
ˆ
Yi = ˆ0 + ˆ1Xi β β
The difference between the actual value of Yi and its estimated value, ˆi is equal to ei, the error term. This
Y
can be written as:
Yi = ˆ0 + ˆ1Xi + ei β β
ˆ
Yi − Yi = ei
So, what do these things look like on a graph?
ECON 497: Lecture 2
Page 2 of 2
ECON 497: Lecture 2
What do ei look like?
What do Yi-hat look like?
Page 3 of 3
ECON 497: Lecture 2
Page 4 of 4
The line relating X and Y that is calculated by OLS is good because it minimizes the sum of the squared errors. That is it minimizes:
∑e
2 i It is equivalent to say that it minimizes:
∑ (Y
i
− ˆi
Y
)
2
This has three good characteristics:
1. The regression line goes through the point X, Y which is the mean of the data
2. The sum of the errors or residuals is zero
3. OLS gives the "best" estimation, depending on some conditions and definitions
(
Definitions
Standard Error of the Estimate (SEE)
∑
e i2
SEE =
n−2
1/2
Total Sum of Squares (TSS)
TSS =
∑ (Y
i
−Y
)
2
)
ECON 497: Lecture 2
Page 5 of 5
Explained Sum of Squares (ESS)
ESS =
Y
∑ (ˆ
i
−Y
)
2
ECON 497: Lecture 2
Page 6 of 6
Residual Sum of Squares (RSS)
RSS =
Y
∑ (e ) = ∑ (ˆ
2
i
i
− Yi
)
2
To put this all together: TSS = ESS + RSS
R2
How much of the variation in the dependent variable is explained by the model? This is given by R2, which is ratio of explained sum of squares to total sum of squares, or:
R2 =
ESS
RSS
=1−
TSS
TSS
A higher R2 means that the model being estimated explains a higher level of variation in the dependent variable. If the R2 is zero, then the model offers no information about the dependent variable and the best prediction you can make about the value of the dependent variable is its mean. The "explanatory" variables really offer no explanatory power whatsoever.
What does this look like?
ECON 497: Lecture 2
Page 7 of 7
ECON 497: Lecture 2
Page 8 of 8
Multivariate Regression
There aren't a lot of interesting questions to be answered using one explanatory variable. It's more fun to look at a number of explanatory variables through multivariate regressions, or regression on multiple variables. For a model with K explanatory variables this would be:
Yi = β0 + β1X1i + β2X2i + ... + β K XKi + εi
Each of the coefficients, βj, is the partial derivative of the dependent variable, Yi with respect to the explanatory variable Xji. That is, the coefficient is the expected change in Y resulting from a one unit change in X holding the other variables constant.
A Beef Example (Studenmund, p. 44)
Consider the following estimated model:
ˆ
Bt = 37.53 − 0.88Pt + 11.9Ydt where Bt
= the per capita consumption of beef in year t in pounds per person
Pt
= the price of beef in year t (in cents per pound)
Ydt
= the per capita disposable income in year t (in thousands of dollars)
Questions
1. What is the interpretation of the coefficient on Pt?
2. What is the interpretation of the coefficient on Ydt?
3. Is beef a normal good?
4. Do these estimated coefficients conform to the law of demand?
5.
Related Documents: Essay International Finance Chapter 6
Lecture Notes for 15.436 International Financial Markets Chapter 10 The international money and bond market Fall 1999 Raman Uppal 10-2 International Finance: Chapter 10 – International bond market Fall 1999 Road Map 1 Part A Part B Part C 10 11 Part D Part E Preliminaries: Conventions, notation, and basic concepts Currency markets and the behavior of the exchange rate Markets for exchange-rate derivatives and the hedging decision Markets for fixed income securities and…
Curtin Business School School of Economics and Finance 3414 International Economics 311 Semester 1, 2012 Unit study package number: Mode of study: Tuition pattern summary: 3414 Internal Lecture: 1 x 2 Hours Weekly Tutorial: 1 x 1 Hours Weekly This unit does not have a fieldwork component. Credit Value: Pre-requisite units: Co-requisite units: Anti-requisite units: Result type: Approved incidental fees: Unit coordinator: 25.0 8931 (v.0) Microeconomics 200 or any previous version Nil Nil Grade/Mark…
MGEC61 – International Economics: Finance Introduction International finance is a study of problems and policies of an open economy. International finance studies the issues like unemployment, savings, trade imbalances, money and price levels (include exchange rates). Organization of the course 1) Introduction – chapter 13 2) Interest rate parity (how exchange rate is determined by the flows of capital) and exchange rate overshooting – chapters 14 & 15 3) Purchasing power parity and the…
Resolution A Conflict Diagnosis Approach Coltri 2 American Destiny Narrative of a Nation, Concise Edition, Combined Volume Carnes 3 American Destiny Narrative of a Nation, Concise Edition, Volume 2 (since 1865) Carnes 3 American Journey:The Volume 1 (Chapters:1-16) Goldfield 4 American Nation, The A History of the United States, Volume 1 (to 1877) Carnes 13 American Nation, The A History of the United States, Volume 2 (since 1865) Carnes 13 An Experiential Approach to Organization Development Brown…
and Financial Regulatory Framework on Public Expenditure Management and Control in Sierra Leone” is the original work of the candidate, and that it is accepted in partial fulfillment of the requirements for the award of the degree of MASTER OF FINANCE AND ACCOUNTING ……………………………. ………………………………… ……………………. Supervisor Signature Date ………………………………
IBUS 401 – INTERNATIONAL FINANCIAL MANAGEMENT FALL 2013 Tue&Thu, 4:25PM- 5:40PM Room: BA 351 Instructor: Office: Office Hours: Email: He Wang 5th Floor Ph.D. Cubicles Tuesday & Thursday: 10:00AM- 11:30AM he.wang@grad.moore.sc.edu COURSE DESCRIPTION This course aims at acquainting students with international aspects of corporate finance. The ultimate objective of the course is to develop your ability to understand and analyze major problems of financial management in an international…
medical documentation to ATK 282 by this Friday October 24 • No class next week – Co-curricular days Oct 29-Nov 2 Updates • Group presentations/debates (20% of course grade) start in week 9 (November 13) –Format: • For side: 6 minutes opening arguments • Against side: 6 minutes opening arguments • For side: 4 minutes rebuttal • Against side: 4 minutes rebuttal –Visual aids: • Optional but max of 5 ppt slides (no video, audio, etc.) • MUST be submitted to instructor 24 hours before your presentation…
Samantha Orsen Bus Adm 456 Professor Kim 2 February 2015 Chapter 1 Homework 1. It is important because all our economics are very globally related. One country’s GDP, for example, may have an effect on another. The United States imports and exports many products, which is another reason to study financial processes elsewhere in the world. 2. There are three major things that set apart international finance and domestic finance. The three things are: foreign exchange and risk, market imperfections…
SUBCHAPTER I - MONETARY SYSTEM Sec. 5101. Decimal system. 5102. Standard weight. 5103. Legal tender. SUBCHAPTER II - GENERAL AUTHORITY 5111. Minting and issuing coins, medals, and numismatic items.…
of these economic agents and their interactions in individual markets. The functions of private property, entrepreneurship, and government regulation are also discussed. Production and pricing under various market structures, labor markets, and international trade as well as market failure are covered. The goal of this course is to introduce you to the basic concepts and principles of microeconomics. At the end of this course, you should have a deeper understanding of how markets work (or don’t…