Read section 3.10 (p.184) for an introduction to the gambler's fallacy and an example of how it works.