Docsity

Regression Analysis of Lilly Stock Returns, Study notes of Systems Engineering

Toggle sidebar
bg1
EMSE 388 – Quantitative Methods in Cost Engineering
Lecture Notes by: Dr. J. Rene van Dorp Chapter 2 - Page 50
Source: Financial Models Using Simulation and Optimization by Wayne Winston
Chapter 2: Simple Linear Regression
There are many situations in which one wants to predict the value of a variable
(the dependent variable) from the value of one or more independent variables.
Typically:
• independent variables are easily measurable
• Collection of independent variables explains the dependent variable
Example:
The return of most stocks is closely tied to the return on the market. In finance it
is important to try and predict the return on a stock (dependent variable) from the
return on the market (e.g. S&P500 Index).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Regression Analysis of Lilly Stock Returns and more Study notes Systems Engineering in PDF only on Docsity!

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 50

Chapter 2: Simple Linear Regression There are many situations in which one wants to predict the value of a variable(the dependent variable) from the value of one or more independent variables.Typically: • independent variables are easily measurable • Collection of independent variables explains the dependent variable Example: The return of most stocks is closely tied to the return on the market. In finance itis important to try and predict the return on a stock (dependent variable) from thereturn on the market (e.g. S&P500 Index).Source: Financial Models Using Simulation and Optimization by Wayne Winston

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 51

Note that for an individual stock: Closing Stock^ YearPrice^ Source: Financial Models Using Simulation and Optimization by Wayne Winston

Annual ReturnDividendson Lilly^

AnnualMarketReturn onYearReturnLilly Regression FitAnnual Returnon Lilly

1994 $^ 16.^

$0.^

1993 6.27% 1995 $^ 27.^

$0.80^ 73.82%^

1994 32.16%^ 73.82%

48.68%

1996 $^ 37.^

$0.90^ 36.41%^

1995 18.47%^ 36.41%

26.68%

1997 $^ 39.^

$1.00^ 7.73%^

1996 5.23%^ 7.73%

5.40%

1998 $^ 42.^

$1.15^ 12.56%^

1997 16.81%^ 12.56%

24.01%

1999 $^ 68.^

$1.35^ 63.39%^

1998 31.49%^ 63.39%

47.60%

2000 $^ 73.^

$1.64^ 9.33%^

1999 -3.17%^ 9.33%

-8.10%

2001 $^ 83.^

$2.00^ 16.72%^

2000 30.55%^ 16.72%

46.09%

2002 $^ 60.^

$2.20^ -24.61%^

2001 7.67%^ -24.61%

9.32%

2003 $^ 59.^

$2.42^ 1.73%^

2002 9.99%^ 1.73%

13.05%

2004 $^ 65.^

$2.50^ 14.74%^

2003 1.31%^ 14.74%

-0.90% 2004 20.00%^

29.14% Prices'Last Year-DividendPrices PricesLast Year' Year'ofEndReturn Annual^

=

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 53

Source: Financial Models Using Simulation and Optimization by Wayne Winston

CONCLUSION:

There appears to be a linear relationship, but the wide dispersion about the bestfitting line indicates we do not have a perfect linear relationship. Possibly otherfactors besides market return determine the annual return on the Lilly stock.^ FITTING A STRAIGHT LINE THROUGH DATA

How is the best fitting line determined?

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 54

Source: Financial Models Using Simulation and Optimization by Wayne Winston

Least Squares Method: Lilly Return vs. Market 80.00%60.00%40.00%20.00%0.00%-5.00%^ 0.00%^ 5.00%^ 10.00%-20.00% -40.00%

15.00%^ 20.00%^ 25.00% 30.00%

35.00% Market Return Lilly Return

y=a*x+b Annual Return on Lilly

^ y^ =a*x+b^88 y^8 x 8

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 56

-^ EXCEL has separate functions SLOPE and INTERCEPT to determineSource: Financial Models Using Simulation and Optimization by Wayne Winston

ˆ a

and INTERCEPT to determine

ˆ^ b.

•^ WHAT DOES THE VALUE R

Lilly Return vs. Market^^2 =0.5072 MEAN?

y = 1.6072x - 0.0301^2 R= 0. 80.00%60.00%40.00%20.00%0.00%-5.00%^ 0.00%^ 5.00%^ 10.00%-20.00%-40.00%

15.00%^ 20.00%^ 25.00% 30.00%

35.00% Market Return Lilly Return^ Annual Return on Lilly

Linear (Annual Return on Lilly)

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 57

Source: Financial Models Using Simulation and Optimization by Wayne Winston

Min. Value of Objective Function:^2

2 ˆ^1

ˆ ˆ^ ˆ

ˆ ( ,^ )^ (^

)^ (^

)^ 0. n^ n i^ i^

i^ i i^ i SSE^ f a b^

y^ y^ y

a^ x^ b =^ =^ −^ =^ =^ =

−^ ∗^ −^ = ∑^ ∑^ Lilly Return vs. Market

y = 1.6072x - 0.0301^2 R= 0. 80.00%60.00%40.00%20.00%0.00%-5.00%^ 0.00%^ 5.00%^ 10.00%-20.00%-40.00%

15.00%^ 20.00%^ 25.00% 30.00%

35.00% Market Return Lilly Return^ Annual Return on Lilly

y=a*x+b x^8 Linear (Annual Return on Lilly)

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 59

Source: Financial Models Using Simulation and Optimization by Wayne Winston

Lilly Return vs. Market 80.00%60.00%40.00%20.00%0.00%-5.00% 0.00% 5.00%^ 10.00%^ 15.00%^ 20.00%-20.00% -40.00%

25.00% 30.00%^ 35.00% Market Return Lilly Return

Annual Return on Lilly

y x 8

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 60

Source: Financial Models Using Simulation and Optimization by Wayne Winston

SSESS − (^2) R = SS Interpretation:^2 •^ R^ is a measure for how much the fitted model explains the spread in thedata.^2 •^ R^ =1 (or 100%) coincides with a perfect fit (SSE=0)^2 •^ R^ =0 (or 0%) coincided with the worst possible fit (SSE=SS) in the sensethat there is no relational dependence between the dependent variable andthe independent variable.

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 62

Source: Financial Models Using Simulation and Optimization by Wayne Winston

Lilly Return vs. Market

y = 1.6072x - 0.0301^2 R= 1 60.00%50.00%40.00%30.00%20.00%10.00%0.00%-5.00%^ 0.00%^ 5.00%^ -10.00%-20.00%

10.00%^ 15.00% 20.00%

25.00%^ 30.00%^ 35.00% Market Return Lilly Return

Regression Fit Annual Return on LillyLinear (Regression Fit Annual Return on Lilly)

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 63 MAKING PREDICITONS WITH THE LEAST SQUARES LINE Suppose in 2004 the market return is 20%. What is the predicted return on theLilly Stock using the least squares line.Predicted Annual Return Source: Financial Models Using Simulation and Optimization by Wayne Winston =1.6072Market Return-0.0301=1.607220%-0.031=29.14% Note that:^ •^ A regression should not be used to make forecast for values of theindependent variable that differ greatly from the observed values. In Lillyexample observed values are within the bounds –3.17% and 32.26%^ •^ If you believe the line should go through the origin you can ensure this bychecking INTERCEPT=0 in EXCEL.

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 65

Source: Financial Models Using Simulation and Optimization by Wayne Winston

MAYBE BETTER: WHAT ABOUTTHE UNCERTAINTY OF OUR PREDICTION?

-^ To say something about uncertainty we need an uncertainty model •^ The language of uncertainty is probabilitySTEP 1: Introduce the Random VariableY:= Annual Return of Lilly Stock (Dependent Variable)STEP 2: Make use of the least squares fit as follows:

bXa ba YE

ˆˆ]X turnMarket Re ˆˆAnnual,Intercept, Slope|[

+∗=

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 66

STEP 3:Where^ ε^ is a random variable that does not depend on Source: Financial Models Using Simulation and Optimization by Wayne Winston

X^ (referred to as the error term). STEP 4: Calculate observations (called RESIDUALS) for the error-term

ε^ using:

and the data points (

x^ ,y). i i^ ε^ ‘s are referred to as the RESIDUALSi^

ε ε^

++∗=

=^

bXa baYE Y^

ˆˆ ˆˆ]X,,|[ ˆˆ^^ bXaY −∗−= ε

bxa y^ iii

ˆˆ −∗− =ε

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 68

STEP 5A: Estimate the cumulative distribution using the STRAIGHT LINEAPPROXIMATION METHOD: y^ 1. Given data:^ , i = 1,…,n. i 2. Order data such that3. Set: Source: Financial Models Using Simulation and Optimization by Wayne Winston

(1)^ (2)^

(^ 1) n^ n y^ y^

y^ y < < < <"− (1)^ (1)

11 2 (^ )^ Pr(^ ) F y^ Y^ y^

− = ≤ = n

( 2)^ ( 2)

12 2 (^ )^ Pr(^

) F^ y^ Y^ y^

− = ≤ = n

(^ 1)^ (^ 1)

11 2 (^ )^ Pr(^

) n^ n

n F^ y^ Y^

−^ − y (^) = ≤ = (^) − − n

(^ )^ (^ )

1 2 (^ )^ Pr(^

n ) n n F^ y^ Y^ y^

− = ≤ = n " " #^

EMSE 388 – Quantitative Methods in Cost Engineering Lecture Notes by: Dr. J. Rene van Dorp

Chapter 2 - Page 69

  1. Plot the points^ Source: Financial Models Using Simulation and Optimization by Wayne Winston

))(,(, )),(,()), (,(

)()( ) (^1) () (^1) ( minmin

yFynn yFyy Fy

"^

in a

graph.5. Connect these points by a straight line.^ Empirical Distribution of Residuals

-40.00%^ -20.00%

0.00%^

20.00%^ 40.00% ε ) ε^ ≤ Pr(Residual