Earthquake analysis