The gambler's fallacy is the mistaken belief that previous independent events or outcomes can influence the probability of future random events.