Robuta

https://fr.mathworks.com/help/risk/risk.credit.lgd.regression.modelcalibration.html modelCalibration - Compute R-square, RMSE, correlation, and sample mean error of predicted and... This MATLAB function computes the R-square, root mean square error (RMSE), correlation, and sample mean error of observed vs. r square