Application of Two-way Fixed Effects Regression on the Error Analysis of Seismic Magnitude Estimation: Hypotheses, Theory and Testing