An economics of magical thinking