Three Ways to Calculate Beta in Excel - YouTube

Channel: unknown

[1]
Welcome to this tutorial on calculating beta in Microsoft Excel.
[6]
Excel allows us three different options of calculating beta.
[10]
If you're a finance major you might know what beta is.
[12]
It's the measure of volatility, or systematic risk.
[16]
In this example I'm going to be using Kinder Morgan and I'm going to be comparing it to
[21]
the S&P500.
[23]
What I usually do is go to Yahoo Finance and get historical pricing for the two.
[29]
In this example I'm going to use the monthly return over the last 3 years just to keep
[34]
it simple.
[35]
However, I believe you should be using at least 60 points and this is only going to
[40]
be bringing up 36.
[42]
Probably not a very good sample size, but I want to keep it short.
[46]
We are going to click get prices and you can actually download to spreadsheet.
[52]
You will do the same thing for the S&P, which is GSPC.
[62]
Click Go.
[64]
It's going to leave the same date range you already set.
[68]
You can download to spreadsheet.
[70]
I actually already did that and I'm using the close for the two not the adjusted close.
[78]
In Yahoo Finance, whenever you download data, it always goes from newest to oldest.
[83]
We need to calculate the monthly returns.
[86]
To do that we need to sort this the other way around, so from oldest to newest.
[91]
We can go ahead and compute the monthly returns for the two assets.
[97]
I'm just going to drag this formula over and drag it all the way down.
[115]
The first way to calculate beta I will explain is using a regression.
[120]
A regression basically is a scatter plot.
[123]
It's going to plot all these returns and it's going to draw a line through that scatter
[129]
plot.
[130]
That line, the slope, will equal our beta.
[134]
So to do that we actually go to the top, click data, then data analysis, and run regression.
[145]
Now if you don't have that as an option, you will have to go to your start menu for excel,
[152]
click options.
[153]
It's going to bring up this window.
[155]
Click add-ins, manage excel add-ins, click go.
[161]
You're going to highlight this Analysis Toolpak.
[164]
I believe this comes with Excel version.
[166]
It's just not always enabled right away, so you have to click okay on that.
[170]
We are going to go back here, click regression and click okay.
[177]
Now it says the Y-range.
[181]
This is going to be the return on our stock.
[189]
The X-range is going to be our return on the market, which in this case we are using the
[196]
S&P.
[198]
I'm going to put the output range right here.
[203]
Just to show you what I mean about the scatter plot and how it's going to make a line, I'm
[212]
going to enable this, but usually I don't.
[215]
Click Ok.
[218]
This is actually going to be our Beta right here.
[225]
The .54.
[231]
You can see all these different data points and here is the line that best fits through
[239]
there.
[240]
The slope of this line is .54.
[246]
The second way to compute it is actually to just calculate slope.
[251]
To do that we actually just type equal slope.
[257]
Known Y is going to be stock return and known X is going to be our market returns.
[266]
Close parenthesis out, hit enter.
[269]
.54 equals the exact same, so you know we did it right.
[273]
The other way to do it is to compute the co-variance divided by the variance.
[279]
So we are going to equal covariance.p.
[285]
Our array 1 is going to be our stock return.
[291]
Our array 2 is going to be our market return which is the S&P.
[296]
Close parenthesis.
[297]
We will divide it by the var.p which is going to be just the market return.
[306]
Close the parenthesis and then do control + shift + enter.
[313]
If you scroll back to the top you will see that this also equals .542.
[319]
Hope you found these three formulas useful.
[322]
Until next time.
[324]
Thanks.