วันพุธที่ 15 กรกฎาคม พ.ศ. 2558

Pushing the Complexity Horizon


The complexity of trading rules admits of degrees. Most of the rules to which people subscribe are simple, involving support levels, P/E ratios, or hemlines and Super Bowls, for example. Others, however, are quite convoluted and conditional. Because of the variety of possible rules, I want to take an oblique and abstract approach here. The hope is that this approach will yield insights that a more pedestrian approach misses. Its key ingredient is the formal definition of (a type of) complexity. An intuitive understanding of this notion tells us that someone who remembers his eight-digit password by means of an elaborate, long-winded saga of friends’ addresses, children’s ages, and special anniversaries is doing something silly. Mnemonic rules make sense only when they’re shorter than what is to be remembered.
 
Let’s back up a bit and consider how we might describe the following sequences to an acquaintance who couldn’t see them. We may imagine the 1s to represent upticks in the price of a stock and the 0s downticks or perhaps up-and-down days.
1. 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 . . .
2. 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 1 . . .
3. 1 0 0 0 1 0 1 1 0 1 1 0 1 1 0 0 0 1 0 1 0 1 1 0 0 . . .
 
The first sequence is the simplest, an alternation of 0s and 1s. The second sequence has some regularity to it, a single 0 alternating sometimes with a 1, sometimes with two 1s, while the third sequence doesn’t seem to manifest any pattern at all. Observe that the precise meaning of “ . . . ” in the first sequence is clear; it is less so in the second sequence, and not at all clear in the third. Despite this, let’s assume that these sequences are each a trillion bits long (a bit is a 0 or a 1) and continue on “in the same way.”
 
Motivated by examples like this, the American computer scientist Gregory Chaitin and the Russian mathematician A. N. Kolmogorov defined the complexity of a sequence of 0s and 1s to be the length of the shortest computer program that will generate (that is, print out) the sequence in question.
 
A program that prints out the first sequence above can consist simply of the following recipe: print a 0, then a 1, and repeat a half trillion times. Such a program is quite short, especially compared to the long sequence it generates. The complexity of this first trillion-bit sequence may be only a few hundred bits, depending to some extent on the computer language used to write the program.
 
A program that generates the second sequence would be a translation of the following: Print a 0 followed by either a single 1 or two 1s, the pattern of the intervening 1s being one, two, one, one, one, two, one, one, and so on. Any program that prints out this trillion-bit sequence would have to be quite long so as to fully specify the “and so on” pattern of the intervening 1s. Nevertheless, because of the regular alternation of 0s and either one or two 1s, the shortest such program will be considerably shorter than the trillion-bit sequence it generates. Thus the complexity of this second sequence might be only, say, a quarter trillion bits.
 
With the third sequence (the commonest type) the situation is different. This sequence, let us assume, remains so disorderly throughout its trillion-bit length that no program we might use to generate it would be any shorter than the sequence itself. It never repeats, never exhibits a pattern. All any program can do in this case is dumbly list the bits in the sequence: print 1, then 0, then 0, then 0, then 1, then 0, then 1, . . . . There is no way the . . . can be compressed or the program shortened. Such a program will be as long as the sequence it’s supposed to print out, and thus the third sequence has a complexity of approximately a trillion.
 
A sequence like the third one, which requires a program as long as itself to be generated, is said to be random. Random sequences manifest no regularity or order, and the programs that print them out can do nothing more than direct that they be copied: print 1 0 0 0 1 0 1 1 0 1 1 . . . . These programs cannot be abbreviated; the complexity of the sequences they generate is equal to the length of these sequences. By contrast, ordered, regular sequences like the first can be generated by very short programs and have complexity much less than their length.
 
Returning to stocks, different market theorists will have different ideas about the likely pattern of 0s and 1s (downs and upticks) that can be expected. Strict random walk theorists are likely to believe that sequences like the third characterize price movements and that the market’s movements are therefore beyond the “complexity horizon” of human forecasters (more complex than we, or our brains, are, were we expressed as sequences of 0s and 1s). Technical and fundamental analysts might be more inclined to believe that sequences like the second characterize the market and that there are pockets of order amidst the noise. It’s hard to imagine anyone believing that price movements follow sequences as regular as the first except, possibly, those who send away “only $99.95 for a complete set of tapes that explain this revolutionary system.”
 
I reiterate that this approach to stock price movements is rather stark, but it does nevertheless “locate” the debate. People who believe there is some pattern to the market, whether exploitable or not, will believe that its movements are characterized by sequences of complexity somewhere between those of type two and type three above.
 
A rough paraphrase of Kurt Godel’s famous incompleteness theorem of mathematical logic, due to the aforementioned Gregory Chaitin, provides an interesting sidelight on this issue. It states that if the market were random, we might not be able to prove it. The reason: encoded as a sequence of 0s and 1s, a random market would, it seems plausible to assume, have complexity greater than that of our own were we also so encoded; it would be beyond our complexity horizon. From the definition of complexity it follows that a sequence can’t generate another sequence of greater complexity than itself. Thus if a person were to predict the random market’s exact gyrations, the market would have to be less complex than the person, contrary to assumption. Even if the market isn’t random, there remains the possibility that its regularities are so complex as to be beyond our complexity horizons.
 
In any case, there is no reason why the complexity of price movements as well as the complexity of investor/computer blends cannot change over time. The more inefficient the market is, the smaller the complexity of its price movements, and the more likely it is that tools from technical and fundamental analysis will prove useful. Conversely, the more efficient the market is, the greater the complexity of price movements, and the closer the approach to a completely random sequence of price changes.
 
Outperforming the market requires that one remain on the cusp of our collective complexity horizon. It requires faster machines, better data, improved models, and the smarter use of mathematical tools, from conventional statistics to neural nets (computerized learning networks, the connections between the various nodes of which are strengthened or weakened over a period of training). If this is possible for anyone or any group to achieve, it’s not likely to remain so for long.

 

Stocks: Chaos and Unpredictability



What is the relative importance of private information, investor trading strategies, and pure whim in predicting the market? What is the relative importance of conventional economic news (interest rates, budget deficits, accounting scandals, and trade balances), popular culture fads (in sports, movies, fashions), and germane political and military events (terrorism, elections, war) too disparate even to categorize? If we were to carefully define the problem, predicting the market with any precision is probably what mathematicians call a universal problem, meaning that a complete solution to it would lead immediately to solutions for a large class of other problems. It is, in other words, as hard a problem in social prediction as there is.
 
Certainly, too little notice is taken of the complicated connections among these variables, even the more clearly defined economic ones. Interest rates, for example, have an impact on unemployment rates, which in turn influence revenues; budget deficits affect trade deficits, which sway interest rates and exchange rates; corporate fraud influences consumer confidence, which may depress the stock market and alter other indices; natural business cycles of various periods are superimposed on one another; an increase in some quantity or index positively (or negatively) feeds back on another, reinforcing or weakening it and being reinforced or weakened in turn.
 
Few of these associations are accurately described by a straight-line graph and so they bring to a mathematician’s mind the subject of nonlinear dynamics, more popularly known as chaos theory. The subject doesn’t deal with anarchist treatises or surrealist manifestoes but with the behavior of so-called nonlinear systems. For our purposes these may be thought of as any collection of parts whose interactions and connections are described by nonlinear rules or equations. That is to say, the equations’ variables may be multiplied together, raised to powers, and so on. As a consequence the system’s parts are not necessarily linked in a proportional manner as they are, for example, in a bathroom scale or a thermometer; doubling the magnitude of one part will not double that of another—nor will outputs be proportional to inputs. Not surprisingly, trying to predict the precise long-term behavior of such systems is often futile.
 
Let me, in place of a technical definition of such nonlinear systems, describe instead a particular physical instance of one. Picture before you a billiards table. Imagine that approximately twenty-five round obstacles are securely fastened to its surface in some haphazard arrangement. You hire the best pool player you can find and ask him to place the ball at a particular spot on the table and take a shot toward one of the round obstacles. After he’s done so, his challenge is to make exactly the same shot from the same spot with another ball. Even if his angle on this second shot is off by the merest fraction of a degree, the trajectories of these two balls will very soon diverge considerably. An infinitesimal difference in the angle of impact will be magnified by successive hits of the obstacles. Soon one of the balls will hit an obstacle that the other misses entirely, at which point all similarity between the two trajectories ends.
 
The sensitivity of the billiard balls’ paths to minuscule variations in their initial angles is characteristic of nonlinear systems. The divergence of the billiard balls is not unlike the disproportionate effect of seemingly inconsequential events, the missed planes, serendipitous meetings, and odd mistakes and links that shape and reshape our lives.
 
This sensitive dependence of nonlinear systems on even tiny differences in initial conditions is, I repeat, relevant to various aspects of the stock market in general, in particular its sometimes wildly disproportionate responses to seemingly small stimuli such as companies’ falling a penny short of earnings estimates. Sometimes, of course, the differences are more substantial. Witness the notoriously large discrepancies between government economic figures on the size of budget surpluses and corporate accounting statements of earnings and the “real” numbers.
 
Aspects of investor behavior too can no doubt be better modeled by a nonlinear system than a linear one. This is so despite the fact that linear systems and models are much more robust, with small differences in initial conditions leading only to small differences in final outcomes. They’re also easier to predict mathematically, and this is why they’re so often employed whether their application is appropriate or not. The chestnut about the economist looking for his lost car keys under the street lamp comes to mind. “You probably lost them near the car,” his companion remonstrates, to which the economist responds, “I know, but the light is better over here.”
 
The “butterfly effect” is the term often used for the sensitive dependence of nonlinear systems, a characteristic that has been noted in phenomena ranging from fluid flow and heart fibrillations to epilepsy and price fluctuations. The name comes from the idea that a butterfly flapping its wings someplace in South America might be sufficient to change future weather systems, helping to bring about, say, a tornado in Oklahoma that would otherwise not have occurred. It also explains why long-range precise prediction of nonlinear systems isn’t generally possible. This non-predictability is the result not of randomness but of complexity too great to fathom.
 
Yet another reason to suspect that parts of the market may be better modeled by nonlinear systems is that such systems’ “trajectories” often follow a fractal course. The trajectories of these systems, of which the stock price movements may be considered a proxy, turn out to be aperiodic and unpredictable and, when examined closely, evince even more intricacy. Still closer inspection of the system’s trajectories reveals yet smaller vortices and complications of the same general kind.
 
In general, fractals are curves, surfaces, or higher dimensional objects that contain more, but similar, complexity the closer one looks. A shoreline, to cite a classic example, has a characteristic jagged shape at whatever scale we draw it; that is, whether we use satellite photos to sketch the whole coast, map it on a fine scale by walking along some small section of it, or examine a few inches of it through a magnifying glass. The surface of the mountain looks roughly the same whether seen from a height of 200 feet by a giant or close up by an insect. The branching of a tree appears the same to us as it does to birds, or even to worms or fungi in the idealized limiting case of infinite branching.
 
As the mathematician Benoit Mandelbrot, the discoverer of fractals, has famously written, “Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line.” These and many other shapes in nature are near fractals, having characteristic zigzags, push-pulls, bump-dents at almost every size scale, greater magnification yielding similar but ever more complicated convolutions.
 
And the bottom line, or, in this case, the bottom fractal, for stocks? By starting with the basic up-down-up and down-up-down patterns of a stock’s possible movements, continually replacing each of these patterns’ three segments with smaller versions of one of the basic patterns chosen at random, and then altering the spikiness of the patterns to reflect changes in the stock’s volatility, Mandelbrot has constructed what he calls multifractal “forgeries.” The forgeries are patterns of price movement whose general look is indistinguishable from that of real stock price movements. In contrast, more conventional assumptions about price movements, say those of a strict random-walk theorist, lead to patterns that are noticeably different from real price movements.
 
These multifractal patterns are so far merely descriptive, not predictive of specific price changes. In their modesty, as well as in their mathematical sophistication, they differ from the Elliott waves mentioned in chapter 3.
 

Even this does not prove that chaos (in the mathematical sense) reigns in (part of) the market, but it is clearly a bit more than suggestive. The occasional surges of extreme volatility that have always been a part of the market are not as nicely accounted for by traditional approaches to finance, approaches Mandelbrot compares to “theories of sea waves that forbid their swells to exceed six feet.”

Are Stocks Less Risky Than Bonds?




Perhaps because of Monopoly, certainly because of WorldCom, and for many other reasons, the focus of this book has been the stock market, not the bond market (or real estate, commodities, and other worthy investments). Stocks are, of course, shares of ownership in a company, whereas bonds are loans to a company or government, and “everybody knows” that bonds are generally safer and less volatile than stocks, although the latter have a higher rate of return. In fact, as Jeremy Siegel reports in Stocks for the Long Run, the average annual rate of return for stocks between 1802 and 1997 was 8.4 percent; the rate on treasury bills over the same period was between 4 percent and 5 percent. (The rates that follow are before inflation. What’s needless to say, I hope, is that an 8 percent rate of return in a year of 15 percent inflation is much worse than a 4 percent return in a year of 3 percent inflation.)
 
Despite what “everybody knows,” Siegel argues in his book that, as with Monopoly’s hotels and railroads, stocks are actually less risky than bonds because, over the long run, they have performed so much better than bonds or treasury bills. In fact, the longer the run, the more likely this has been the case. (Comments like “everybody knows” or “they’re all doing this” or “everyone’s buying that” usually make me itch. My background in mathematical logic has made it difficult for me to interpret “all” as signifying something other than all.) “Everybody” does have a point, however. How can we believe Siegel’s claims, given that the standard deviation for stocks’ annual rate of return has been 17.5 percent?
 
If we assume a normal distribution and allow ourselves to get numerical for a couple of paragraphs, we can see how stomach-churning this volatility is. It means that about two-thirds of the time, the rate of return will be between -9.1 percent and 25.9 percent (that is, 8.4 percent plus or minus 17.5 percent), and about 95 percent of the time the rate will be between -26.6 percent and 43.4 percent (that is, 8.4 percent plus or minus two times 17.5 percent). Although the precision of these figures is absurd, one consequence of the last assertion is that the returns will be worse than -26.6 percent about 2.5 percent of the time (and better than 43.4 percent with the same frequency). So about once every forty years (1/40 is 2.5 percent), you will lose more than a quarter of the value of your stock investments and much more frequently than that do considerably worse than treasury bills.
 
These numbers certainly don’t seem to indicate that stocks are less risky than bonds over the long term. The statistical warrant for Siegel’s contention, however, is that over time, the returns even out and the deviations shrink. Specifically, the annualized standard deviation for rates of return over a number N of years is the standard deviation divided by the square root of N. The larger N is, the smaller is the standard deviation. (The cumulative standard deviation is, however, greater.) Thus over any given four-year period the annualized standard deviation for stock returns is 17.5%/2, or 8.75%. Likewise, since the square root of 30 is about 5.5, the annualized standard deviation of stock returns over any given thirty-year period is only 17.5%/5.5, or 3.2%. (Note that this annualized thirty-year standard deviation is the same as the annual standard deviation for the conservative stock mentioned in the example at the end of chapter 6.)
 
Despite the impressive historical evidence, there is no guarantee that stocks will continue to outperform bonds. If you look at the period from 1982 to 1997, the average annual rate of return for stocks was 16.7 percent with a standard deviation of 13.1 percent, while the returns for bonds were between 8 percent and 9 percent. But from 1966 to 1981, the average annual rate of return for stocks was 6.6 percent with a standard deviation of 19.5 percent, while the returns for bonds were about 7 percent.
 
So is it really the case that, despite the debacles, deadbeats, and doomsday equities like WCOM and Enron, the less risky long-term investment is in stocks? Not surprisingly, there is a counterargument. Despite their volatility, stocks as a whole have proven less risky than bonds over the long run because their average rates of return have been considerably higher. Their rates of return have been higher because their prices have been relatively low. And their prices have been relatively low because they’ve been viewed as risky and people need some inducement to make risky investments.
 
But what happens if investors believe Siegel and others, and no longer view stocks as risky? Then their prices will rise because risk-averse investors will need less inducement to buy them; the “equity-risk premium,” the amount by which stock returns must exceed bond returns to attract investors, will decline. And the rates of return will fall because prices will be higher. And stocks will therefore be riskier because of their lower returns.
 
Viewed as less risky, stocks become risky; viewed as risky, they become less risky. This is yet another instance of the skittish, self-reflective, self-corrective dynamic of the market. Interestingly, Robert Shiller, a personal friend of Siegel, looks at the data and sees considerably lower stock returns for the next ten years.
 
Market practitioners as well as academics disagree. In early October 2002, I attended a debate between Larry Kudlow, a CNBC commentator and Wall Street fixture, and Bob Prechter, a technical analyst and Elliot wave proponent. The audience at the CUNY graduate center in New York seemed affluent and well-educated, and the speakers both seemed very sure of themselves and their predictions. Neither seemed at all affected by the other’s diametrically opposed expectations. Prechter anticipated very steep declines in the market, while Kudlow was quite bullish. Unlike Siegel and Shiller, they didn’t engage on any particulars and generally talked past each other.
 
What I find odd about such encounters is how typical they are of market discussions. People with impressive credentials regularly expatiate upon stocks and bonds and come to conclusions contrary to those of other people with equally impressive credentials. An article in the New York Times in November 2002 is another case in point. It described three plausible prognoses for the market—bad, so-so, and good—put forth by economic analysts Steven H. East, Charles Pradilla, and Abby Joseph Cohen, respectively. Such stark disagreement happens very rarely in physics or mathematics. (I’m not counting crackpots who sometimes receive a lot of publicity but aren’t taken seriously by anybody knowledgeable.)
 

The market’s future course may lie beyond what, in chapter 9, I term the “complexity horizon.” Nevertheless, aside from some real estate, I remain fully vested in stocks, which may or may not result in my remaining fully shirted.

Expected Value, Not Value Expected



What can we anticipate? What should we expect? What’s the likely high, low, and average value? Whether the quantity in question is height, weather, or personal income, extremes are more likely to make it into the headlines than are more informative averages. “Who makes the most money,” for example, is generally more attention-grabbing than “what is the average income” (although both terms are always suspect because—surprise—like companies, people lie about how much money they make).
 
Even more informative than averages, however, are distributions. What, for example, is the distribution of all incomes and how spread out are they about the average? If the average income in a community is $100,000, this might reflect the fact that almost everyone makes somewhere between $80,000 and $120,000, or it might mean that a big majority earns less than $30,000 and shops at Kmart, whose spokesperson, the (too) maligned Martha Stewart, also lives in town and brings the average up to $100,000. “Expected value” and “standard deviation” are two mathematical notions that help clarify these issues.
 
An expected value is a special sort of average. Specifically, the expected value of a quantity is the average of its values, but weighted according to their probabilities. If, for example, based on analysts’ recommendations, our own assessment, a mathematical model, or some other source of information, we assume that 1/2 of the time a stock will have a 6 percent rate of return, that 1/3 of the time it will have a -2 percent rate of return, and that the remaining 1/6 of the time it will have a 28 percent rate of return, then, on average, the stock’s rate of return over any given six periods will be 6 percent three times, -2 percent twice, and 28 percent once. The expected value of its return is simply this probabilistically weighted average—(6% + 6% + 6% + (-2%) + (-2%) + 28%)/6, or 7%.
 
Rather than averaging directly, one generally obtains the expected value of a quantity by multiplying its possible values by their probabilities and then adding up these products. Thus .06 × 1/2 + (-.02) × 1/3 + .28 × 1/6 = .07, or 7%, the expected value of the above stock’s return. Note that the term “mean” and the Greek letter µ (mu) are used interchangeably with “expected value,” so 7% is also the mean return, µ.
 
The notion of expected value clarifies a minor investing mystery. An analyst may simultaneously and without contradiction believe that a stock is very likely to do well but that, on average, it’s a loser. Perhaps she estimates that the stock will rise 1 percent in the next month with probability 95 percent and that it will fall 60 percent in the same time period with probability 5 percent. (The probabilities might come, for example, from an appraisal of the likely outcome of an impending court decision.) The expected value of its price change is thus (.01 × .95) + (-.60) × .05), which equals -.021 or an expected loss of 2.1%. The lesson is that the expected value, -2.1%, is not the value expected, which is 1%.
 
The same probabilities and price changes can also be used to illustrate two complementary trading strategies, one that usually results in small gains but sometimes in big losses, and one that usually results in small losses but sometimes in big gains. An investor who’s willing to take a risk to regularly make some “easy money” might sell puts on the above stock, puts that expire in a month and whose strike price is a little under the present price. In effect, he’s betting that the stock won’t decline in the next month. Ninety-five percent of the time he’ll be right, and he’ll keep the put premiums and make a little money. Correspondingly, the buyer of the puts will lose a little money (the put premiums) 95 percent of the time. Assuming the probabilities are accurate, however, when the stock declines, it declines by 60 percent, and so the puts (the right to sell the stock at a little under the original price) become very valuable 5 percent of the time. The buyer of the puts then makes a lot of money and the seller loses a lot.
 
Investors can play the same game on a larger scale by buying and selling puts on the S&P 500, for example, rather than on any particular stock. The key to playing is coming up with reasonable probabilities for the possible returns, numbers about which people are as likely to differ as they are in their preferences for the above two strategies. Two exemplars of these two types of investor are Victor Niederhoffer, a well-known futures trader and author of The Education of a Speculator , who lost a fortune by selling puts a few years ago, and Nassim Taleb, another trader and the author of Fooled by Randomness, who makes his living by buying them.
 
For a more pedestrian illustration, consider an insurance company. From past experience, it has good reason to believe that each year, on average, one out of every 10,000 of its homeowners’ policies will result in a claim of $400,000, one out of 1,000 policies will result in a claim of $60,000, one out of 50 will result in a claim of $4,000, and the remainder will result in a claim of $0. The insurance company would like to know what its average payout will be per policy written. The answer is the expected value, which in this case is ($400,000 × 1/10,000) + ($60,000 × 1/1,000) + ($4,000 × 1/50) + ($0 × 9,979/10,000) = $40 + $60 + $80 + $0 = $180. The premium the insurance company charges the homeowners will no doubt be at least $181.
 
Combining the techniques of probability theory with the definition of expected value allows for the calculation of more interesting quantities. The rules for the World Series of baseball, for example, stipulate that the series ends when one team wins four games. The rules further stipulate that team A plays in its home stadium for games 1 and 2 and however many of games 6 and 7 are necessary, whereas team B plays in its home stadium for games 3, 4, and, if necessary, game 5. If the teams are evenly matched, you might be interested in the expected number of games that will be played in each team’s stadium. Skipping the calculation, I’ll simply note that team A can expect to play 2.9375 games and team B 2.875 games in their respective home stadiums.
 
Almost any situation in which one can calculate (or reasonably estimate) the probabilities of the values of a quantity allows us to determine the expected value of that quantity. An example more tractable than the baseball problem concerns the decision whether to park in a lot or illegally on the street. If you park in a lot, the rate is $10 or $14, depending upon whether you stay for less than an hour, the probability of which you estimate to be 25 percent. You may, however, decide to park illegally on the street and have reason to believe that 20 percent of the time you will receive a simple parking ticket for $30, 5 percent of the time you will receive an obstruction of traffic citation for $100, and 75 percent of the time you will get off for free.
 
The expected value of parking in the lot is ($10 × .25) + ($14 × .75), which equals $13. The expected value of parking on the street is ($100 × .05) + ($30 × .20) + ($0 × .75), which equals $11. For those to whom this is not already Greek, we might say that µL, the mean costs of parking in the lot, and µS, the mean cost of parking on the street, are $13 and $11, respectively.
 

Even though parking in the street is cheaper on average (assuming money was your only consideration), the variability of what you’ll have to pay there is much greater than it is with the lot. This brings us to the notion of standard deviation and stock risk.

A Stock-Newsletter Scam





The accounting scandals involving WorldCom, Enron, and others derived from the data being selected, spun, and filtered. A scam I first discussed in my book Innumeracy derives instead from the recipients of the data being selected, spun, and filtered. It goes like this. Someone claiming to be the publisher of a stock newsletter rents a mailbox in a fancy neighborhood, has expensive stationery made up, and sends out letters to potential subscribers boasting of his sophisticated stock-picking software, financial acumen, and Wall Street connections. He writes also of his amazing track record, but notes that the recipients of his letters needn’t take his word for it.
 
Assume you are one of these recipients and for the next six weeks you receive correct predictions about a certain common stock index. Would you subscribe to the newsletter? What if you received ten consecutive correct predictions?
 
Here’s the scam. The newsletter publisher sends out 64,000 letters to potential subscribers. (Using email would save postage, but might appear to be a “spam scam” and hence be less credible.) To 32,000 of the recipients, he predicts the index in question will rise the following week and to the other 32,000, he predicts it will decline. No matter what happens to the index the next week, he will have made a correct prediction to 32,000 people. To 16,000 of them he sends another letter predicting a rise in the index for the following week, and to the other 16,000 he predicts a decline. Again, no matter what happens to the index the next week, he will have made correct predictions for two consecutive weeks to 16,000 people. To 8,000 of them he sends a third letter predicting a rise for the third week and to the other 8,000 he predicts a decline.
 
Focusing at each stage on the people to whom he’s made only correct predictions and winnowing out the rest, he iterates this procedure a few more times until there are 1,000 people left to whom he’s made six straight correct “predictions.” To these he sends a different sort of follow-up letter, pointing out his successes and saying that they can continue to receive these oracular pronouncements if they pay the $1,000 subscription price to the newsletter. If they all pay, that’s a million dollars for someone who need know nothing about stock, indices, trends, or dividends. If this is done knowingly, it is illegal. But what if it’s done unknowingly by earnest, confident, and ignorant newsletter publishers? (Compare the faithhealer who takes credit for any accidental improvements.)
 
There is so much complexity in the market, there are so many different measures of success and ways to spin a story, that most people can manage to convince themselves that they’ve been, or are about to be, inordinately successful. If people are desperate enough, they’ll manage to find some seeming order in random happenings.
 
Similar to the newsletter scam, but with a slightly different twist, is a story related to me by an acquaintance who described his father’s business and its sad demise. He claimed that his father, years before, had run a large college-preparation service in a South American country whose identity I’ve forgotten. My friend’s father advertised that he knew how to drastically improve applicants’ chances of getting into the elite national university. Hinting at inside contacts and claiming knowledge of the various forms, deadlines, and procedures, he charged an exorbitant fee for his service, which he justified by offering a money-back guarantee to students who were not accepted.
 
One day, the secret of his business model came to light. All the material that prospective students had sent him over the years was found unopened in a trash dump. Upon investigation it turned out that he had simply been collecting the students’ money (or rather their parents’ money) and doing nothing for it. The trick was that his fees were so high and his marketing so focused that only the children of affluent parents subscribed to his service, and almost all of them were admitted to the university anyway. He refunded the fees of those few who were not admitted. He was also sent to prison for his efforts.
 

Are stock brokers in the same business as my acquaintance’s father? Are stock analysts in the same business as the newsletter publisher? Not exactly, but there is scant evidence that they possess any unusual predictive powers. That’s why I thought news stories in November 2002 recounting New York Attorney General Eliot Spitzer’s criticism of Institutional Investor magazine’s analyst awards were a tad superfluous. Spitzer noted that the stock-picking performances of most of the winning analysts were, in fact, quite mediocre. Maybe Donald Trump will hold a press conference pointing out that the country’s top gamblers don’t do particularly well at roulette.

Moving Averages, Big Picture


 
People, myself included, sometimes ridicule technical analysis and the charts associated with it in one breath and then in the next reveal how much in (perhaps unconscious) thrall to these ideas they really are. They bring to mind the old joke about the man who complains to his doctor that his wife has for several years believed she’s a chicken. He would have sought help sooner, he says, “but we needed the eggs.” Without reading too much into this story except that we do sometimes seem to need the notions of technical analysis, let me finally proceed to examine some of these notions.
 
Investors naturally want to get a broad picture of the movement of the market and of particular stocks, and for this the simple technical notion of a moving average is helpful. When a quantity varies over time (such as the stock price of a company, the noontime temperature in Milwaukee, or the cost of cabbage in Kiev), one can, each day, average its values over, say, the previous 200 days. The averages in this sequence vary and hence the sequence is called a moving average, but the value of such a moving average is that it doesn’t move nearly as much as the stock price itself; it might be termed the phlegmatic average.
 
For illustration, consider the three-day moving average of a company whose stock is very volatile, its closing prices on successive days being: 8, 9, 10, 5, 6, 9. On the day the stock closed at 10, its three-day moving average was (8 + 9 + 10)/3 or 9. On the next day, when the stock closed at 5, its three-day moving average was (9 + 10 + 5)/3 or 8. When the stock closed at 6, its three-day moving average was (10 + 5 + 6)/3 or 7. And the next day, when it closed at 9, its three-day moving average was (5 + 6 + 9)/3 or 6.67.
 
If the stock oscillates in a very regular way and you are careful about the length of time you pick, the moving average may barely move at all. Consider an extreme case, the twenty-day moving average of a company whose closing stock prices oscillate with metronomic regularity. On successive days they are: 51, 52, 53, 54, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 46, 47, 48, 49, 50, 51, 52, 53, and so on, moving up and down around a price of 50. The twenty-day moving average on the day marked in bold is 50 (obtained by averaging the 20 numbers up to and including it). Likewise, the twenty-day moving average on the next day, when the stock is at 51, is also 50. It’s the same for the next day. In fact, if the stock price oscillates in this regular way and repeats itself every twenty days, the twenty-day moving average is always 50.
 
There are variations in the definition of moving averages (some weight recent days more heavily, others take account of the varying volatility of the stock), but they are all designed to smooth out the day-to-day fluctuations in a stock’s price in order to give the investor a look at broader trends. Software and online sites allow easy comparison of the stock’s daily movements with the slower-moving averages.
 
Technical analysts use the moving average to generate buy-sell rules. The most common such rule directs you to buy a stock when it exceeds its X-day moving average. Context determines the value of X, which is usually 10, 50, or 200 days. Conversely, the rule directs you to sell when the stock falls below its X-day moving average. With the regularly oscillating stock above, the rule would not lead to any gains or losses. It would call for you to buy the stock when it moves from 50, its moving average, to 51, and for you to sell it when it moves from 50 to 49. In the previous example of the three-day moving average, the rule would require that you buy the stock at the end of the third day and sell it at the end of the fourth, leading in this particular case to a loss.
 
The rule can work well when a stock fluctuates about a long-term upward- or downward-sloping course. The rationale for it is that trends should be followed, and that when a stock moves above its X-day moving average, this movement signals that a bullish trend has begun. Conversely, when a stock moves below its X-day moving average, the movement signals a bearish trend. I reiterate that mere upward (downward) movement of the stock is not enough to signal a buy (sell) order; a stock must move above (below) its moving average.
 
Alas, had I followed any sort of moving average rule, I would have been out of WCOM, which moved more or less steadily downhill for almost three years, long before I lost most of my investment in it. In fact, I never would have bought it in the first place. The security guard mentioned in chapter 1 did, in effect, use such a rule to justify the sale of the stocks in his pension plan.
 
There are a few studies, which I’ll get to later, suggesting that a moving average rule is sometimes moderately effective. Even so, however, there are several problems. One is that it can cost you a lot in commissions if the stock price hovers around the moving average and moves through it many times in both directions. Thus you have to modify the rule so that the price must move above or below its moving average by a non-trivial amount. You must also decide whether to buy at the end of the day the price exceeds the moving average or at the beginning of the next day or later still.
 
You can mine the voluminous time-series data on stock prices to find the X that has given the best returns for adhering to the X-day moving average buy-sell rule. Or you can complicate the rule by comparing moving averages over different intervals and buying or selling when these averages cross each other. You can even adapt the idea to day trading by using X-minute moving averages defined in terms of the mathematical notion of an integral. Optimal strategies can always be found after the fact. The trick is getting something that will work in the future; everyone’s very good at predicting the past. This brings us to the most trenchant criticism of the moving-average strategy. If the stock market is efficient, that is, if information about a stock is almost instantaneously incorporated into its price, then any stock’s future moves will be determined by random external events. Its past behavior, in particular its moving average, is irrelevant, and its future movement is unpredictable.
 


 

THE FLOOD THEORY



Most Young Earth Creationists appeal to one or more catastrophes to explain geological features—mountain ranges, sedimentary layers, and so on—that might otherwise seem far older. There's nothing wrong with catastrophe theories as such. Even orthodox scientists suppose catastrophes—comet strikes, volcanic eruptions, floods, and so on—have played an important role in shaping this planet and the life on it. According to most contemporary Young Earth Creationists, the key catastrophe involved in shaping our contemporary landscape was the biblical flood: the flood on which Noah famously floated his ark. They believe that Old Testament story is literally true: Noah really did build an ark onto which he was instructed by God to put seven mated pairs of every clean kind of animal and every kind of bird (Genesis 7:2). The waters then rose, drowning the rest. The current inhabitants of the land and sky are descendents of those who boarded the ark.
So how is the flood supposed to account for various geological features, such as the fossil record? It's claimed that, when the waters rose, they produced huge amounts of silt and mud. This material settled and solidified, eventually forming many of the sedimentary rock layers we find today. Many of the fossils we find within these layers are fossils of creatures drowned by the flood. The flood supposedly also explains other geological features, such as the Grand Canyon, which was carved out when the flood waters subsided.
Perhaps you are wondering why creatures are not buried randomly within the sedimentary layers but are arranged in a very specific order? Why, if the flood theory is true, do we never find the fossils of large mammals within the same layers as dinosaurs? Why do the lower layers contain fossils of only simple sea creatures? Why do humans only appear in only the very topmost layers? Why, if they were all buried by the same catastrophic flood, aren't their remains jumbled up together?
Young Earth Creationists have their answers. They say we should expect the simple sea creatures living at the bottom of the ocean to have been buried first. Birds would be restricted to the higher layers, as they would be able to fly from the rising waters. Humankind, being the smartest, would probably have found ways to avoid being drowned until the last moment, so it is not surprising we find human remains only in the top layers. We should also expect to see some order in the fossil record due, for example, to the fact that different ecological zones were submerged at different times, and also because of the different rates at which the corpses of different species bloat and then sink. “So you see?” say Young Earth Creationists. “The fossil record is, after all, consistent with our theory! It all fits!”
We might say in reply, “But these moves made by Creationists only postpone their difficulties, as they generate a myriad of further puzzles. What about flightless birds, such as penguins and ostriches, which would not have been able to delay being drowned? Why do their fossils never show up in layers lower than other birds? Why do we find sharks, but no dolphins in the lower sedimentary layers, given they occupy similar ecological zones? Surely both would have been buried in the early stages of the flood? In fact we could go on and on and on, citing a mountain of fossil evidence that contradicts the flood theory.” Still, Young Earth Creationists continue to work on developing flood-friendly explanations for these observations.
Of course, it's not just the fossil record that generates puzzles for Young Earth Creationism. Let's think for a moment about the logistics of Noah's expedition. Genesis 16:2 says the ark was 300 × 50 × 30 cubits—that's about 460 × 75 × 44 feet. Not a particularly large vessel (a cross section of 75 by 44 feet is, coinciden-tally, not very much greater than that of my four-bedroom Victorian terraced house). How did at least two of every kind of animal fit aboard this comparatively small vessel? Remember, Noah didn't just need specimens of today's creatures such as African elephants, rhinos, and giraffes. If dinosaurs were drowned in the flood, then Noah must also have put dinosaurs on board his ark. Young Earth Creationists accept this. But then how did Noah get two T. rexes, two stegosauruses, two bronto-sauruses, and so on, safely aboard? These aren't even the very largest dinosaurs. What about, for example, two argentino-sauruses, at 120 feet long and 100 tons each?
Other questions arise. What did Noah feed his creatures during their voyage? How did Noah round up the known 900,000 insect species from around the planet, and how did he ensure they weren't trodden on during the voyage? Also, how did Noah acquire polar bears from the Arctic and possums from Australia—how did they cross the vast oceans and continents to reach the ark?
But Young Earth Creationists don't give up easily. They have constructed answers to all these and other obvious questions about Noah's voyage. For example, the website of Christian Information Ministries suggests that Noah did not need at least two of every named species of dinosaur, merely two of every “kind” (whatever that is, exactly): “Some creationists believe there may have been far fewer animals if Noah only took on board pairs of ‘kinds' as the word is used in Genesis 1. God created these ‘kinds' with potential for rich genetic diversity.” Creation Ministries International endorses this explanation, adding, “Although there are about 668 names of dinosaurs, there are perhaps only 55 different ‘kinds' of dinosaurs.”
The same source also suggests that Noah did not need full-sized adult specimens—young examples would do:
Furthermore, not all dinosaurs were huge like the Brachio-saurus, and even those dinosaurs on the Ark were probably “teenagers” or young adults. Indeed, dinosaurs were recently discovered to go through a growth spurt, so God could have brought dinosaurs of the right age to start this spurt as soon as they disembarked.
 
So how did Noah feed all his creatures while they were at sea? Christian Information Ministries suggests they hibernated:
How Noah and his small family could have cared for this large menagerie is unknown, not to mention the sanitation problem! What we must remember is that this event, i.e., the Flood, had supernatural elements. For instance, the animals came to the Ark against their natural instincts (Gen. 6:20). It is therefore reasonable to assume, as some creationists do, that the animals' metabolism may have been slowed down during their confinement, even to the point where some of the animals may have gone into a state of hibernation.7
 
Of course, once we allow “supernatural elements” to play a role, we could just say that God shrank the dinosaurs to pocket size during their journey. That would deal with many of these problems.
How do Young Earth Creationists explain how polar bears and possums made it all the way to Noah's Ark across the great oceans? According to Ken Ham and Tim Lovett at Answers in Genesis, there were no separate continents at that time. There was a single continent that the flood subsequently broke apart, as they here explain: “As even secular geologists observe, it does appear that the continents were at one time ‘together' and not separated by the vast oceans of today. The forces involved in the Flood were certainly sufficient to change all of this.” Really? The forces were sufficient to push vast continents around the face of the planet, but not enough to sink a wooden vessel with a cross section of 75 by 44 feet? I guess God must have somehow protected the ark from these extraordinary forces.
Even setting aside ark logistics, the flood theory raises a host of other questions, such as, where did all the water sufficient to cover the earth's great mountain ranges go? Answer: there were no great ranges at that time—they were created by the flood. Because the surface of the earth was relatively flat, there was, and still is, more than enough water to cover the land, as Ham and Lovett also explain: “Simply put, the water from the Flood is in the oceans and seas we see today. Three-quarters of the earth's surface is covered with water.”
So how did creatures get back to their respective newly created continents after the ark was finally deposited on the mountains of Ararat (Genesis 8:4)? The marmosets could hardly have walked and swum halfway around the world, across the Atlantic Ocean, to the Amazonian rain forests where they now dwell. I guess Noah must have dropped off the marmosets in South America and the possums in Australia as the waters receded (but how, then, did the ark end up deposited high on the mountains of Ararat?). Or perhaps Noah built them rafts.
So you see: Young Earth Creationists insist they can deal with many of these questions! Admittedly, they don't have all the answers—and don't claim to. But, as they correctly point out, who does? Even orthodox science faces questions it is not currently able to answer, and perhaps never will.

Explanations such as those outlined above are continuously being developed and refined by people describing themselves as “scientists” in multimillion-dollar “research institutes” dedicated to the pursuit of something called “creation science.” These “scientists” insist that, far from falsifying Young Earth Creationism, the empirical evidence is broadly consistent with it. Young Earth Creationism, they maintain, fits the evidence at least as well as its orthodox scientific rivals. Surely, they add, good science is all about developing theories to fit the evidence. But then, because they are developing their theory to make it fit the evidence, what they are practicing is good science. Moreover, if theories are confirmed to the extent that they fit the evidence, then Young Earth Creationism, developed and refined in these ways, is as well confirmed as its rivals.