Frequency and impact of earthquakes