Now i understand what's going on. I got clarification from my professor
and
he said we had to get the closing price of the 5 stocks we picked in
the
beginning of the semester. It makes sense now since the project
information
doesn't say for 5 stocks.
:
i'd assume total return for the portfolio is just the average of all
the total returns for each closing week of the stock
I am not convinced that you are using the terms "portfolio" and "total
return" correctly..
The portfolio return is the __weighted__ average of the returns of
each
stock, as I said, not the simple average.
Consider the following example portfolio.
100 shares of X invested at $10/share ($1000 total), now valued at
$11/share
($1100 total). Return: 10% = 1100/1000 - 1.
50 shares of Y invested at $5/share ($250 total), now valued at
$10/share
($500 total). Return: 100% = 500/250 - 1.
The total investment was $1250. Total portfolio value now is $1600.
The simple average of the returns is 55% = (100% + 10%)/2. That is
not
the
portfolio return.
But the weighted average is 28% = 10%*1000/1250 + 100%*500/1250. That
is
the portfolio return.
To verify, note that the portfolio return can also be computed by
1600/1250 -1 = 28%.
However, I wonder if the disconnect is a terminology problem.
Note that a portfolio is a collection of assets (stocks). But you
refer
to
the "total returns ... of the stock" (singular). A typo?
Also, the "total return" is based on current stock value plus
distributions.
If company X distributed dividends of $1/share in the same period, the
total
return is (1100 + 100)/1000 -1 = 20%.
Actually, we usually assume that dividends are reinvested. If the
stock
value was $10.50 when dividends were reinvested, we would have
purchased
an
additional 100/10.50 = 9.5238 shares. So the actual "total return" is
11*109.5238/1000 - 1 = 20.48%. Alternatively, we could compute the
IRR,
taking into account the timing of the dividend reinvestment. (But I
would
not bother if you are tracking weekly returns.)
Those are all ways that people use to compute "total return". It's a
vague
term.
But I wonder if you are using the term "total return" to mean "sum of
returns" or something like that for a single stock.
PS: IMHO, portfolio "risk" (i.e. standard deviation) could be
computed
based on the weekly portfolio returns as they are computed above, in
the
same that we determine "risk" (sd) for an individual stock, not the
complex
formula that financial engineers use. I 'spose the latter is useful
if
you
do not have all the details. But I don't believe the two approaches
are
mathematically equivalent.
----- original message -----
Yea well we did risk in class with variance and standard deviations.
And
i'd
assume total return for the portfolio is just the average of all the
total
returns for each closing week of the stock
:
We have to follow a company for 15 weeks.
[....]
he wants us to calculate the weekly return for each stock
and the whole porfolio.
I'm confused. On the one hand, you say you are tracking "a
company".
On
the other hand, you imply that you have a "portfolio", which is
presumably
more than one stock.
For each stock, Fred's formula can be used to compute the simple
weekly
(rate of) return.
For a portfolio of stocks, you would sum the return (simple or
total)
of
each stock times the "weight" of each stock in the portfolio. The
"weight"
is usually the stock value as a percentage of the portfolio value
(simple
or
total).
We are also supposed to calculate the total rate of return for
each
stock
and portfolio.
As you may know, the difference between simple return and total
return
is
usually the inclusion of distributions (e.g. dividends) in the
latter,
presumed to be reinvested.
But you might have a different meaning in mind when you say "total
return".
If you do, it would behoove you to choose a different term to avoid
confusion.
And lastly calculate the risk of each stock and the whole
portfolio.
This is where things get very complicated.
First, there are many definitions of "risk", even if you substitute
the
word
"volatility", which is only one possible definition of "risk".
Based on the context, I suspect you are studying "modern portfolio
theory",
or at least a portion of it. In that case, I presume you mean the
standard
of deviation (sd). But even then, the question is: the sd of
what?
For individual stocks, "volatility" is usually defined as the sd of
the
log
returns (simple or total), although I have seen some simplified
explanations
that use the sd of the arithmetic returns (simple or total), which
I
call
the "arithmetic sd".
The log return is log(endValue/begValue) or log(1+simpleReturn).
The
two
forms are equivalent mathematically.
If the simple returns for 15 weeks are in B2:B15 (yup: that's only
14
returns!), the sd of the log returns is computed by the following
array
formula:
=stdev(log(1+B2:B15))
An array formula is committed using ctrl+shift+Enter instead of
Enter.
You
should see curly braces around the entire formula, i.e. {=formula}.
If
you
make a mistake, "edit" the formula by pressing F2, then press
ctrl+shift+Enter.
Note that in Excel 2003, I use STDEV instead of STDEVP because you
have a
sampling of stock prices. (I believe the function names changed in
Excel
2007.)
For MPT, it is unclear to use the sd of the log returns directly
(which I
call the "log sd") or the antilog of that (which I call the
"geometric
sd").
I've seen both used; but I believe the original theory uses the
"log
sd".
The antilog is computed by the following array formula:
=10^stdev(log(1+B2:B15))
Note that I use "10^". You might see EXP(STDEV(...)). EXP is
appropriate
if we used LN(1+B2:B16) instead of LOG(1+B2:B16) -- yet-another
dubious
factor in how "volatility" (i.e. "log sd") should be defined. It
only
makes
a difference if you use the "log sd" instead of the antilog.
That defines the __periodic__ "volatility".
For MPT, I believe they usually use the annualized "volatility".
The
weekly
volatility is usually annualized by multiplying by SQRT(52). I
believe
that
applies equally well whether "volatility" is the log sd, geometric
or
arithmetic sd. (To understand why, you really need to look at
probability
theory. I could explain it once; but I've long-since forgotten.)
That
is
called the "square root of time" rule.
But sometimes, other methods of annualizing volatility are used.
For a portfolio, the definition of "volatility" is much more
complicated.
I
won't even try to summarize. See
http://en.wikipedia.org/wiki/Modern_portfolio_theory . However, if
your
class uses a different definition, by all means use it.
Nothwithstanding all of this complex "financial engineering", there
are
many
presentations of MPT that simplify various steps in order to make
the
whole
thing tractable. If your class has done so, by all means use the
methods
defined by your class.
I hope that helps. If nothing else, it might offer insight into
why
your
"book and notes don't really explain it as easily" ;-).
----- original message -----
Here's what i needed to do. We have to follow a company for 15
weeks.
Every
friday starting on Aug 21, 2009 we had to write down the closing
price
for
the stock that week. Based on the closing prices he wants us to
calculate
the weekly return for each stock and the whole porfolio. We are
also
supposed