Find RMSE of mvregress outputs

4 次查看(过去 30 天)
lexi11
lexi11 2017-3-8
Hi,
I am trying to use multivariate regression on three color channel data using mvregress.
data = [red;green;blue]; % this is a 3x20 matrix
Y = data';
X = requiredOutput'; % requiredOutput is a 1x20 vector
[beta,Sigma, resid] = mvregress(X,Y)
After performing this, I need to find RMSE for this regression.
How can I do this?
Thanks in advance.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by