Magical thinking
From RationalWiki
Magical thinking is a form of reasoning that learns causative relationships through correlation alone. While science and the scientific method is designed to elucidate causal relationships through careful controlled experiments, magical thinking assigns cause to anything that correlates with an observed effect. For example, coming to believe that a particular piece of jewelry is lucky because a few good things happened when it was worn.
Another common example of magical thinking emerges in alternative medicine. Many diseases have a natural progression and will go away on their own. If someone gets a headache and swallows some water provided by a homeopath, when the headache goes away, they may assign the cause to the water rather than natural progression. This form of magical thinking combined with the placebo effect explains a large amount of supposedly positive anecdotal evidence.
B.F. Skinner's studies of how pigeons reacted to stimuli shows a similar phenomenon, in that the birds frequently repeated the same actions they had been making at times when food was released, as if seeing a pattern, when in fact the food was released at random intervals. This suggests that superstition and behaviours often characterised as "magical thinking" may be more closely connected with blind instinct than with sapient thought.

