Hi all, i calculated the RMSE of these Data:
Y_hat=[ 9.774614325191857 9.453084986417043 9.502166049524247 7.817755496590051 7.031233831915310 8.392026077578970 6.881255539731626 6.488927374899896 6.779374282307657 6.47479031404751713.84298863187664913.11376417219028514.24429284198112812.470726075747763]Y=[ 8.900000000000000 8.600000000000000 9.167000000000000 7.000000000000000 7.030000000000000 7.270000000000000 7.430000000000000 7.270000000000000 7.370000000000000 7.03000000000000015.02999999999999913.17000000000000013.36999999999999913.630000000000001]
my calculation is based on the Formula: RMSE= sqrt(mean((Y_hat-Y)^2)). with the calculation i got RMSE=0.7894.
But with the Statistics Toolbox of matlab I got RMSE=0.885 which is the sqrt of my calculated Value!!!. Who is wrong: I or the Toolbox??
Thank you!
Best Answer