Computing Beta

On October 17, 2010, in finance blog, by Dave

I will try to use as little math and jargon as possible…

Beta is one way to look at a stock’s behavior relative to the rest of the stock market.  The most common way to compute beta for a stock is to compare its price over a 3 year period versus the S&P 500.  The beta for a stock can be computed with daily, week, monthly or other data.  Generally the difference in the final answer is small between these.  Personally, I favor a beta based on daily closing values, but for this blog post I’ll stick with a monthly beta computation.

Lets compute beta for CSX versus SPY (an S&P500-based index EFT) using Microsoft Excel 2010:

  1. Go to Yahoo Finance and type in ticker symbol CSX.
  2. Click on “Historic Prices” and set the range from Oct 18, 2007 to Oct 18, 2010.  Select the “Monthly” radio button.
  3. Scroll to the bottom of the page and click “Download to Spreadsheet.”
  4. When prompted select “Open With -> Microsoft Excel”.
  5. Cut and paste the data in the “Adj Close” column to a new spreadsheet.
  6. Repeat the above process for SPY.  Put the SPY data in a column adjacent to the adjusted CSX closing price data.
  7. Compute the variance of SPY for example SPY data points e.g. “=VAR.S(C4:C40)”
  8. Compute the covariance of CSX with respect to SPY e.g. “=COVARIANCE.S(B4:B40,C4:C40)”
  9. Beta is, by definition, the value in step 8 divided by the value in step 7.  However I have found this not the case when using the MS Excel 2010 formulas above.  The next steps tell how I “fix” this beta.
  10. Compute average values for CSX and SPY: e.g “=AVERAGE(B4:B40)” and “=AVERAGE(C4:C40)”
  11. The fixed value is the result of step 9 *  the SPY average/the CSX average.  This is CSX’s 3-year, monthly beta.

Using this method, I compute a beta for CSX of 1.00.  This is a fair bit different that the value of 1.24 reported by Yahoo Finance.  I used the same process for MSFT and compute a beta of 0.93 versus Yahoo Finance’s 1.03 for Microsoft stock.  Looking for a more out-there beta, I repeated the process for C (Citigroup). I computed a beta of 4.39 versus Yahoo Finance’s 2.65.   For another comparison Google Finance reports betas for CSX, MSFT, C of 1.2, 1.05, and 2.54.  Finally, MSN Money reports betas of 1.21 ,1.06, and 2.55.

It irks me that 1) these 3 finance sites don’t detail their beta-computation methods, 2) They produce different results, 3) My method produces different results, 4) MS Excel doesn’t [I don't believe] offer a beta or beta.finance function, 5) I have to tweak MS Excel data to get a more reasonable beta computation.

Be that as it may, I managed to explain one way of computing beta, and did so with a minimum of math.  Please feel free to flame this post and tell me a better way.  Until then feel free to try my method, or create your own modified method.

P.S. — I did some web searching and found an alternate method that is pretty decent:

http://faculty.babson.edu/academic/Beta/CalculateBeta.htm

They also perform a monthly 3-year beta computation. I like that it is clear, correct, and easy to follow.   I don’t like that it uses an older version of Excel and that it requires graphing and essentially reading the numbers off of the graph.

  1. What is the average weighted expense ratio for all my holdings?
  2. How much, if anything, did I pay in commissions in the last 12 months.
  3. What was my rate of return in the last 12 months? (post all fees and expenses)
  4. How does that compare to the to rate of return in the S&P 500 in the same time period. (inclusive of dividends)
  5. What is the 12-month standard deviation of my investment portfolio? (a measure of risk)
  6. What is my asset allocation between stocks, bonds, and other?
  7. Do any of my holdings have loads?  If so why?
  8. How diversified are my holdings?

Bonus: Please update me on my portfolio’s tax efficiency and tax efficiency strategy.

Feel free to take good notes, and, if you like, send the answers to me.  I’d be glad to give you my personal assessment/opinion.

While the Σ1 Fund is currently a real 100% privately-held investment vehicle, all language and speculative plans about its future are currently (9/28/2010) STRICTLY THEORETICAL.  There is currently no SOLICITATION or even OPPORTUNITY for anyone other than Balhiser LLC shareholder(s) to invest in the fund.  Further, there is currently no SOLICITATION nor OPPORTUNITY to invest in Balhiser LLC at present. Thus the HYPOTHETICAL and SPECULATIVE language is merely just words at this point and time.  It is entirely possible that outside investors NEVER be given the opportunity to invest.

I’m wondering… should I revise my $10K minimum investment.  Perhaps $5K-$9K with a ~2% up-front load ($5000 yields $4900 of principal, $5000 yields $5100).  Increments above $5K are $1K with an up/down choice.  Increments are also $1K for investments over $10K.  Additional subsequent investments for current investors are $2K minimum with $1K increments.  Withdrawals minimums are $5K or %100 plus optional $1K increments.  Additional fund investments are subject to the same early withdrawal penalties as initial investments.  ALL requested redemptions are FIFO by default.

Distributions (realized capital gains, dividends, etc) are annual.  How they are distributed is TDB.  My initial inclination is that there is an ex-dividend date on the last trading day of each month, and dividend income is distributed in proportion to #months held * #shares.  Distributions are re-invested by default. Non-reinvested distributions are held in a non-interest-bearing manner until $500 is reached, upon which the total distribution will be paid in full by ACH or check.  Non-reinvested dividends may be paid, upon request, before the $500 minimum is reached, but a distribution-collection fee of $50 will be assessed.  For shareholders with >= $100K NAV none of these distribution restrictions or fees apply.

75% of redemption fees will be paid to Balhiser LLC, the remaining 25% will be paid to the Fund.

Requirements for potential investors:

  • Minimum of 5 years experience investing in stocks, bonds, ETFs, and/or mutual funds.
  • Acknowledgment that this is an investment of at-risk capital that may be subject to forced liquidation without notice during volatile and illiquid market conditions. This could result in severe or even total loss of investment.
  • Acknowledgment that options WILL be part of the Fund’s holdings/obligations.  While the primary target use of options is “covered-call” writing the notion of “covered” is not strict.  The fund may consider an RNM (Russel 2000 mini call option contract) to be “covered” by ownership of “an appropriate amount” of SPY (S&P500 ETF) shares.
  • Acknowledgment that ETF futures contracts may part of the Fund’s holdings/obligations.
  • Signed (and notarized) legal waiver that specifies that in exchange for participating in this fund, fund participant, fund participant beneficiaries and/or heirs, agree to hold legally blameless the fund manager and Balhiser LLC  for losses sustained by the Fund.
  • Solid familiarity with E-mail and the Internet and Internet-based “paperless” documents and communication.

In exchange for these concessions, the fund manager agrees to the following “skin-in-the-game” and transparency conditions:

  • So long as fund assets (or total net unredeemed funds invested) exceed $50K, the fund manager and/or Balhiser LLC will maintain a minimum of $25K invested in the Fund.
  • So long as fund assets exceed $50K, the fund manager and/or Balhiser LLC will reinvest all fund net distributions and net fund management proceeds into the Fund.
  • So long as FE>$50K. Fund manager and/or Balhiser LLC will be subject to same fees, terms, and conditions as all other investors PLUS will have to provide an ADDITIONAL 60-day advance notice to all fund shareholders (via email or other means) prior to any sale of holdings in the Fund.
  • 100% of Balhiser LLC/fund manager redemption fees (fees incurred for “personal” withdrawals) will be paid to the Fund.
  • End-of-month NAV reports will be delivered by email to shareholders. (delivered within 5 business days)
  • Subject to NDA: Unaudited Annual Report detailing complete fund holdings (delivered within 20 business days). Disclosure to CPA is permitted.
  • Subject to NDA: Upon request unaudited inter-year report (delivered within 30 business days). A $250 fee applies.  Disclosure to CPA is permitted.  Fee is waived once per year for investors with >= $100,000 invested in the Fund.

Base Management Fee Rates (similar, but not identical, to an expense ratio)

  • 7.8 basis points per month (0.078%) of previous close-of-month fund NAV.
    [~0.95% in simple interest, or ~0.9772% compounded annually]
  • Base management fee reduced by:
    • 10% for investors with >=    $50,000 NAV (or $50K net unredeemed investments).
    • 25% for investors with >=   $100,000 NAV (or $100K net unredeemed investments).
    • 33% for investors with >=   $250,000 NAV (or $250K net unredeemed investments).
    • 50% for investors with >= $1,000,000 NAV (or $1M net unredeemed investments).

The small investor has some truly excellent options these days.  Two in particular are just this side of awesome.  The first is index ETFs (exchange-traded funds).  The second is low-cost online trading.  ETFs and cheap online trading form a powerful combination for the small investor.

In addition, the wealth of online investment information is voluminous, and in many cases free.

So for the small investor (whom I define as someone with < $1,000,000 of net assets to invest), 2010 is a pretty great starting point to get serious about personal finance

I recommend that before you embark, that you have at least a 3-month emergency fund and little to no credit-card debt.  If this doesn’t describe your financial situation, this article doesn’t currently apply to you.  [Please consider paying down those credit cards and then saving up a modest rainy day fund!]

However, if you meet these basic criteria consider the following suggestions:

  • Open a Vanguard account with a minimum of $3000.  Put those first funds in either the Prime Money Mkt Portfolio or the Tax-Exempt Money Market
  • Keep putting spare money into Vanguard.  Once you hit $10,000 to $25,000, consider other Vanguard offerings.  If you are unsure of what to invest in, call a Vanguard adviser.
  • Consider maxing out your 401k contribution, if your income permits.  Keep that “rainy day” fund in mind.  A rainy-day fund is cash, money market, or diversified short-to-intermediate AA or better rated bonds or CDs.  Stocks, mutual funds, etc. don’t count for rainy day cash.
  • Keep that Vanguard account.  If your tax situation permits, consider making Roth IRA contributions.  Vanguard is a good place to hold these, Fidelity is another.
  • Once you’ve got your rainy-day fund to 9 months or more, and can maintain solid 401k and Roth IRA contributions, congratulations.  You may be read to become a “big-time small investor”.

Enough preamble.  Let’s assume you are ready.  Now what?

You can select any number of online brokerages and invest for less than $9 per trade.  That includes option trades.  Some even allow futures trades.  So, the world is your oyster.

However, prudence is crucial.  There are just so many opportunities, options, pitfalls.  May I make a few suggestions?

  1. Start by investing in ETFs.  Consider, SPY, VTI, BND, VEU,  and, now, VOO.  These are excellent diversified ETFs with very low expense ratios.
  2. Want to dabble in individual stocks?  Diversify.  If you buy some tech stocks, also buy some consumer goods, or basic materials, or utilities.
  3. Want to dabble in options?  Try starting with writing (selling) covered calls on your ETFs.
  4. Futures?  Think once, think twice.  Do some research and think a third time.  The just maybe you might given them a try.  But, please, please do so with caution. [Note futures contracts require a margin account... please tread carefully with margin (aka leveraged) investing.]

That is just a start.  Might I also point out that an investor today could construct an excellent life-long portfolio with just VTI, BND, and VEO… re-balancing annually as age and situation dictate?  As age 60 approaches, mixing in a few laddered CDs (bank certificates of deposit) is not an unreasonable option.  Owning and paying-off a home is also a reasonable retirement goal.

I, however, am now content to fully adopt a reasonable and prudent approach.  I also dabble with a small Crazy Ivan Account (CIA), and with (limited) option strategies.  I also incorporate rental real estate into my investing mix.

The point I want to emphasize is that there are so many opportunities for the modern small investor.  It is easy to feel overwhelmed by the choices.   But, by starting with the basics — Vanguard mutual funds, low-cost diversified ETFs, and online investing — it is possible to construct and manage very solid personal portfolios.

Best wishes.

As I sit on a packed flight from Denver to Chicago, I contemplate the micro-economic vignettes I see.  From paying extra for covered parking, to getting my shoes shined by a gentleman from Chihuahua Mexico, to the extra payed for priority boarding and expedited security screening.  My trip is a series of microeconomic choices.

As I was getting my shoeshine, I chatted with Miguel.  I wanted to practice my broken Spanish so I asked “¿Cómo se dice? ‘Where are you from?’”.  He replied “¿De dónde eres?”.  After several tries I managed to repeat the question with satisfactory pronunciation.  Then I asked “¿De dónde eres?” and he replied “Mexico”.

During the next couple days in Chicago I met two people on separate locations who were from Bulgaria but spoke better German that I do (I studied German for 4 years and can converse enough to feel reasonably comfortable at a German dinner table conversation).  And, Chicago, being Chicago, I encountered a wide variety of people from various and sundry places around the world.

In general the primary reason they are here in the States now is economic.  The economic opportunity here, even in the current abysmal economy, is better than most places in the world.

The financial literacy of folks also varied widely.  I heard a comedian quip that she thought a 401K was some kind of marathon run.  Many of the folks I interacted with probably were close to that end of the financial literacy spectrum.  The did, however, know that they could make much better dinero in Denver or Chicago than in Chihuahua or Bulgaria.

Other folks I had longer interactions with were financial professionals of various stripes.  A couple were traders focused on interest rate futures and options.  I had long conversations with a financial software developer who also does extensive corn futures trading.  He has seen the financial trading floor evolving over the years.  The floor is a bit quieter and littered with half as many discarded bits of paper because more and more of the action is moving towards electronic trading.

Primary Election Day

On August 9, 2010, in bonds, Index Investing, money, by Dave

Tomorrow is primary election day in Colorado.  The turnout is very high, and I am happy to see that.

There are 3 finance-related issues on my mind this election cycle:

  1. Fiscal discipline.
  2. Treasurer races.  How does Colorado invest for pensions?
  3. Taxes.  How does Colorado structure its tax code?  Especially sales taxes and the internet.

These are the financial investment issues on my mind.   What are yours?

Zen is uncomplicated.  Investing is uncomplicated, until it isn’t.

I like the short Zen story about attention.  It starts out

There’s an old Zen story: a student said to Master Ichu, ‘Please write for me something of great wisdom.’

Master Ichu picked up his brush and wrote one word: ‘Attention.’

Simple. Right?

On some level the concepts are simple.  They are also profound.  On some level Zen is remarkable, stunning.  On another level unremarkable.

Investing concepts are similar.  Simple, profound.

Possibly the most difficult investing thoughts to grasp and put into action are the most simple.

  • Save.
  • Balance.
  • Own.
  • See.

I believe these simple words capture all you need to know to be a wise investor.  Like ‘attention’ these ideas benefit from lots of practice.

To ‘Save’ is easy for some, difficult for others.  Investing starts with savings.  For those not born into a great inheritance savings is crucial.  Savings is the art of spending less than you make.  The art of delayed gratification.   Keeping some of your income and keeping it safe.  For many the verb ‘save’ is easy in the way that the verb ‘diet’ is easy.  Simple concept, challenging action.

‘Balance’ is a deceptively simple term.  Martial arts train balance.  Speed skating, ice skating, and tight-rope walking showcase balance.  In the investing arena ‘balance’ refers to two key ideas: diversification and emotional equanimity.  Diversifying means balancing risks between different types of assets.  Emotional balance means “Caring about your investments, but not THAT much.”

To fully ‘own’ your investments you must understand, control, and value them.  In the same way that a stable master may own and value a prize horse without understanding veterinary medicine, a stock holder may own  and value a stock without being a financial comptroller.  An owner cuts out the middlemen and makes decisions.  An owner weighs decisions and responsibilities carefully because the financial buck stops with her and no one else.

Finally, to ‘see’ your investments you must see beneath the surface.  You see that all investments inevitably change.  You see that some good investments go bad.   You see the fog that shrouds some investments so thickly that you move on by.  You see that taxes are constantly changing and possibly that an accountant may see the ever-changing tax waters more clearly than you.

That’s it.  To invest with wisdom is to save, balance, own, and see.

Now for a curve ball.   If you have been shot by poison arrows, first carefully remove them.  Do not dwell on the cause of their intrusion into your flesh.   After you have recovered, you may be tempted to ask “Why was I shot?”.  It is the ‘why’ that takes most of the ‘attention’.  The same is true for investing.   The ‘why’ is the tricky, time-consuming, complicated part.

I believe that for the beginning investor the why can be unimportant.   For the enlightened investor the why is also unimportant.    The journey to investing enlightenment is about discovering the why and then letting it go.

Stock Beta Computation.

On February 28, 2010, in Investing, options, by Dave

I’ve now got a spreadsheet where I can enter 3-year daily stock price data and get a beta versus the S&P500 as modeled by the ETF SPY.  There are still a few finer points I don’t like about the modeling.  The biggest remaining gap in the computation is that the model doesn’t account for dividends on either the stock or the S&P.  Ideally it would add the dividend into the price on the ex dividend date.  If I could find a source where that data is built in or I took the time to merge the data it I would be set… but I haven’t bothered to do so.  Another nice feature would be an R-squared computation.

So now what?  Probably nothing for a while.  I’m already thinking about different things.  Most are things I wish other people would do :) .

  1. Create a low expense-ratio ETF that tracks a passive covered-call index like BXM.  (No, and not an ETN… I want collateral!)
  2. Create an open-source format for storing and sharing stock, index, portfolio, bond, ETF data.  Perhaps XML-based.  Nice features would be handling of splits, ticker symbol changes, dividend and ex-dividend dates, and market holidays.  Support for different time periods would be a must.  Support for earnings, book values, revenue and other supporting data would be nice.  Perhaps such a format already exists?
  3. Glue together this format with cool graphing software like Open Flash Charts and/or something HTML5 based.
  4. Open source statistical tools to work with this format to compute volatility, beta, R-squared, P/E ratios, etc.

Until next time, happy financial modeling.

Tagged with:
 

Quant Logic Tackles Sloppy Betas in Finance. (Part II)

On February 11, 2010, in Uncategorized, by Dave

I’ve crunched my first set of numbers.  Specifically I’ve computed the beta of  XOM (Exxon Mobil) vs. SPY (SPDR S&P 500 ETF) for 365 days ending Feb 4, 2010.   My computed beta is 0.125.   This is based on daily sampling of closing prices for a 365-day period.   Not content with non-uniform sampling (e.g. discarding holiday and weekend data when the markets are not open), I recomputed beta over the same period with interpolated weekend/holiday data and came up with a beta of 0.117.  I have not yet bothered to compute R-squared.

These are surprisingly low betas.  Also interesting is the difference data interpolation can make… a not insignificant difference of 8.6%

Next I checked out reported betas from other sources.  Yahoo Finance reports a beta of 0.35 for XOM (without specifying a time period, sampling method/frequency, or even reference index).   MSN Money reports a beta of 0.43.   This is a difference of about 23%.  This could probably be accounted for by different time periods, etc.  But what is most annoying is that these betas are presented without any such context.

I’ve only just started to explore this topic, but I think I’ve started to show that there is significant room for improvement in computing beta.  And because beta underlies CAPM and modern portfolio theory, I think this is a big deal.

I’ve already got some more ideas for part III of this series, I just have to crunch some more numbers.

Tagged with:
 

I’ve been blogging a lot recently to the lay investing community.  I feel it is time to geek out a bit and exercise my inner quant (Quantitative analyst).  I was in the shower thinking about beta and expected return.  My mind came back to something that has bothered me for years… that beta is not rigorously defined.  It occurred to me, strikingly, that if beta is poorly defined then so is alpha!

Now this is somewhat unsettling since CAPM is highly wedded to the concept of beta, and alpha [which some scholars believe is approximately 0].  Let me be clear, the sampling frequency and sampling period of beta are not consistently defined!  One common definition of beta is based on monthly sampling over a period of one year.  Another definition I’ve seen is monthly sampling over a three year period.  I’ve also seen daily (trading days) sampling over periods of about 1-3 years.  Investments 6th Edition (Bodie, Kane, and Marcus)  even mentions the Merrill Lynch concept of adjusted beta (= 2/3 sample beta + 1/3).

These fast and loose definitions of beta are in sharp [no pun intended] contrast to the more rigorous definitions of maturity, duration, coupon rate, yield to maturity, etc. in the study of bonds.

The net effect of “beta sloppiness” is that a given given security, on the same day can get different betas from different investing houses even though they are all using the same data!  To put it mildly, I think this is kind of a big deal.   Beta, alpha, efficient frontiers, “risk free assets”, and CAPM are all interesting and useful concepts.   I think that after 50+ years, it is finally time to put a bit more rigor into the fundamental building blocks of modern portfolio theory.  I plan to crunch a few numbers and refine and test a few ideas, and I intent to help start doing just that (or at least help encourage others to) in the weeks ahead.

Tagged with:
 

Just a quick note to…

Get this idea out into the blogosphere before someone tries to patent it:

Flex-flow deposits that automatically (and dynamically) re-balance a portfolio.  A target asset allocation is set.  Weekly/monthly inflows are initially proportioned account to these ratios.  As time goes on and investments go up and down the inflows are adjusted to help keep to asset allocation close to target.  More $ are invested in under-weighted funds (below tgt funds) and less $ are invested in funds that are over asset allocation targets.

There are lots of neat mathematical/algorithmic implementations.  The simplest contributes to the most under-weighted fund 100% or whatever amount is need to bring into balance.  Then the next most out-of-balance fund… etc.  Another strategy is to perform a linear delta-weighted scaling factor.  Another means is any number of non-linear delta-weighted scalings.  In any case a unit-sum “percentage” vector (M-dimensional , where M is the number of funds in the target).

Tagged with: