Statistical study of magnetic disturbances at the Earth's surface