% Given the following variables: 
% ‘rmse_a’ holds one model’s RMSE between VM and super-set DMOS. 
% ‘rmse_b’ holds another model’s RMSE between VM and super-set DMOS. 
% AND where rmse_a > rmse_b (i.e., model A has a worse RMSE than model B) 
% ‘num_clips_a’ holds the number of clips used to compute rmse_a 
% ‘num_clips_b’ holds the number of clips used to compute rmse_b 
% ‘df’ is the degrees of freedom, computed as when calculating RMSE in section B.7 
% ‘ci’ is the confidence level: 0.95 for 95% confidence, 0.75 for 75% confidence, etc. 
% The variable ‘is_same’ becomes 1 if the two models are statistically equivalent, 
% and 0 if model A has significantly worse performance than model B. 
% 
% The function finv computes the inverse of the F cumulative distribution function and is found 
% in the MATLAB Statistical Toolbox. 
 
if (rmse_a.^2) / (rmse_b.^2) < finv(ci, num_clips_a-df, num_clips_b-df), 
 is_same = 1; 
else 
 is_same = 0; 
end