= MATLAB rmse = The '''`rmse`''' function calculates [[Statistics/Residuals|root mean squared errors]]. <> ---- == Usage == To calculate the root mean squared errors between two vectors representing predictions ('forecasts') and actual values, try: {{{ rmse(F,A) }}} To calculate the root mean squared errors between all elements in two same-sized matrices, try: {{{ rmse(F,A,"all") }}} Note that this is effectively the same as calculating the [[MATLAB/Norm|Frobenius product]] as `norm(F-A,"fro")` and then dividing it by the square root of the number of elements. (Recall that it is root ''mean'' squared errors.) ---- CategoryRicottone