Real-Time Hazard Analysis for Earthquake Early Warning