A quantitative comparison between the predicted and observed directions of SHmax is obtained by the calculation of the average azimuth and by a normalized chi−squared test.
norm_chisq(obs, prd, unc)
Arguments
obs: Numeric vector containing the observed azimuth of SHmax, same length as prd
prd: Numeric vector containing the modeled azimuths of SHmax, i.e. the return object from model_shmax()
unc: Uncertainty of observed SHmax, either a numeric vector or a number
The value of the chi-squared test statistic is a number between 0 and 1 indicating the quality of the predicted SHmax
directions. Low values (≤0.15) indicate good agreement, high values (>0.7) indicate a systematic misfit between predicted and observed SHmax directions.