Investigation of the Structure of Earthquake Safety