
How is a stock index calculated?My teacher wants me to figure out how they calculate a stock index and my Dad said that the Dow Jones average is easiest to figure out. Can you tell me how they calculate the DJIA, please? Usually I don't help out with homework assignments, but I'll make an exception in this case because it's such an interesting question! Turns out I've written about stock index calculations before, though last time it was more about how to use a shell script to automatically grab individual stock values. Curious about that article, which includes some good history of stock indices that I'm not going to repeat here? Check out How to create a custom stock market index. A bit of history about Charles Dow will help explain how the DJIA came to be created. Wall Street Journal editor Dow launched his original stock average in 1884 based on 11 stocks, mostly railroad stocks. May of 1896 he introduced another index called the industrial average, comprised of: American Cotton Oil, American Sugar, American Tobacco, Chicago Gas, Distilling & Cattle Feeding, Laclede Gas, National Lead, North American Company, General Electric, Tennessee Coal & Iron, Tennessee Coal & Iron, U.S. Leather and U.S. Rubber. Today the Dow Jones Industrial Average (DJIA) is based on thirty stocks: Alcoa, American Express, American International Group (AIG), AT&T, Bank of America, Boeing, Caterpillar, Chevron, Citigroup, Coca-Cola, DuPont, Exxon, General Electric, General Motors, Hewlett-Packard, Home Depot, Intel, IBM, Johnson & Johnson, Morgan Chase, McDonalds, Merck, Microsoft, Pfizer, Procter & Gamble, United Technologies, Verizon, Wal-Mart and Walt Disney. That's a Who's Who of big industrial companies, but you'll notice how little new tech is on the list. That's one of the criticisms of the stock index, actually, but that's not really relevant to this particular discussion, so we'll leave it aside. To show how the Dow Jones Industrial Average (DJIA) is calculated, I'm going to take a snapshot of the stock values and the calculated DJIA. After closing hours on Friday, April 11, 2008, the DJIA is calculated as 12325.42. Sum all the stock values at this same moment and here's your rather impressive addition problem: 80.35+36.11+45.06+45.56+38.20+37.69+78.43+75.71+89.60+23.71
+61.33+49.64+89.55+36.75+20.17+46.57+28.38+22.08+118.78+66.33
+43.86+55.85+41.71+29.11+20.92+70.18+71.85+35.83+54.66+31.35
I'll save you the challenge of figuring this out. The sum value of all these stock values is 1545.32. So how do you get from 1,545 to 12,325? By using the official industrial averages divisor (it's at the bottom of that page). As of this very moment, the divisor is 0.122834016. Now we can calculate things, though the result might surprise you: 1545.32 / 0.122834016 = 12580.55
So why is there a difference? Because of what's called after-hours trading. The stock values we used for this math were the closing values of those stocks, but after the stock exchange was closed, the stocks continue to be traded. The result: the market went down 256.56. Now, let's try this math again: (1545.32 / 0.122834016) - 256.56 = 12323.99
Truth be told, at this point I don't really understand why this isn't an exact calculation, but it's pretty darn close so it'll certainly illustrate what you're trying to calculate. The key is that the general calculation for the DJIA is: sum of all stock values in the index / official DJ divisor
And now... you know. :-)
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
d) None of the Above
(Article 7996)
Tagged: djia, dow jones industrial, stock index, stock market Previous: How to use Google Gmail labels as folders? Next: Update to Wicked Cool Shell Script #62: define.sh Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. Dave: Great writeup. But the question is why the divisor? I mean I understand that DJ requires it, but what does it do to improve the accuracy of the final number? Thanks. \dmc Dave, according to the historical documents I have read, the divisor was to balance out the effects of stock splits, etc. I agree with you that it seems reasonable just have the sum value, but then it'd be hard to do any trend analysis... Posted by: Dave Taylor at April 23, 2008 11:35 AMI have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|