Animal modeling of earthquakes and prediction markets