How Predictive Analytics Works