InvestorsHub Logo
Post# of 345
Next 10

exp

Followers 3
Posts 277
Boards Moderated 1
Alias Born 03/18/2001

exp

Member Level

Re: None

Friday, 05/16/2003 11:32:35 PM

Friday, May 16, 2003 11:32:35 PM

Post# of 345
a short explanation of the THEORY OF RUNS:
http://www.coonrod.com/scot/poker/math/runs%20of%20winning.txt
From:: cardano
Subject: Long runs of winning and losing
Date: 4/9/97

In another thread (on stripped deck poker) Robert Copps poses the
question of the likelihood of long runs of winning, specifically the
chances of winning 29, 30, 31, or 32 times in a row. Here are some
useful probabilities on this sort of thing:


In order to calculate the likelihood of exceptional runs of good or
bad luck in gambling it is necessary to use the Theory of Runs, usually
only covered in texts of advanced probability theory. The equations
have no analytic solution and the results need to be calculated
numerically. I wrote a program in Mathcad 4.0 to solve these problems.
I need only plug in the values of p, r, and N in order to get P,
where p = probability of an individual event
r = number of consecutive occurrences of the event, or run length
N = number of trials
P = probability of run of length r or longer occurring

Assumptions: events are independent of one another and probability
of individual events remains constant at p, and p is known. In fact
in poker the events may not be completely independent and p is not
known, but must be estimated from past results.

Some sample results:

Assume that a winning poker player wins 80% of his or her sessions.
 
Number of Sessions, N 500 750 1000
r = 29 13.8 20.3 26.3
r = 30 11.2 16.6 21.6
r = 31 9.0 13.5 17.7
r = 32 7.3 10.9 14.4

Numbers in table refer to percentage chance of run of length r
or longer.

Now for the dark side (consecutive losses):
 
Number of Sessions, N 500 750 1000 1500
r = 4 47.3 61.8 72.3 85.5
r = 5 11.9 17.4 22.5 31.9

Food for thought. Of course, a small change in the winning rate
will have a large effect on the results.


an additional article on the THEORY OF RUNS:
http://www.traders.com/Documentation/FEEDbk_docs/Archive/012002/Abstracts_new/gustafson/gustafson.ht....

Let Me Count The Days
Price Persistency
by Gordon Gustafson

Interested in measuring a short-term trend? Here's an indicator you can use.
For years, academics have made the case that price movement is random: future price changes are unrelated to past price changes. Although they are random, runs occur in any series of data. Knowing something about these runs can add valuable information to any trading program.

WHAT IS IT?

Price persistency is the number of days that a market continues to close either up or down. It's another term for a market run. As an indicator, price persistency is a measure of a very short-term trend based only on the history of the market's movement, unfiltered by any complex calculation; all it involves is counting.

To be effective, any indicator must have at least a fairly consistent correlation with whatever market you're going to trade. The advantage of price persistency is in its simplicity. The market is currently in a run or it isn't. It's either been down three days in a row or it hasn't. Of course, this is an oversimplification that ignores the magnitude of the individual changes, which can be important. But for our purposes here -- to form a trading system based on runs -- let's assume the magnitude of the changes doesn't matter.

The usefulness of price persistency is based on the theory of runs. It is the idea that, given the market has moved in a particular direction for x days, the likelihood it will either continue to do so -- or not -- can be estimated and used in a profitable trading system.

A few more assumptions must be made about price persistency in order to apply it to a market. First, in the absence of a filter, the chances of the market being either up or down must be 50%. Similarly, sequential days in the market must be unrelated. And the magnitude, or percentage of change in a day, has no effect on the existence of runs.

THEORY OF RUNS

In any given series, the probability of a run can be calculated by taking the probability of one event's occurrence and multiplying it by itself as many times as we expect it to occur. For example, in a coin flip, there's a 50-50 chance of heads or tails coming up. The chance you'd get two heads in a row is (0.5)(0.5), or 25%. The probability you'd get three heads in a row is (0.5)(0.5)(0.5), or 12.5%, and so on.

This theory assumes each event is independent and one event has no influence on the next. Figure 1 displays the chance of runs occurring in any series where there are two possible outcomes with equal probability of occurrence. For instance, a run of six has about a 1.5% chance of occurring, and will probably occur once in 64 trials.
......

Excerpted from an article originally published in the January 2002 issue of Technical Analysis of STOCKS & COMMODITIES magazine. All rights reserved. © Copyright 2001, Technical Analysis, Inc.


and for those with good high school math background:
http://mathforum.org/library/drmath/view/52147.html











exp system (#board-1623)

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.