<Dl> <Dd> RMSD = ∑ t = 1 T (y ^ t − y t) 2 T . (\ displaystyle \ operatorname (RMSD) = (\ sqrt (\ frac (\ sum _ (t = 1) ^ (T) ((\ hat (y)) _ (t) - y_ (t)) ^ (2)) (T))).) </Dd> </Dl> <Dd> RMSD = ∑ t = 1 T (y ^ t − y t) 2 T . (\ displaystyle \ operatorname (RMSD) = (\ sqrt (\ frac (\ sum _ (t = 1) ^ (T) ((\ hat (y)) _ (t) - y_ (t)) ^ (2)) (T))).) </Dd> <P> (For regressions on cross-sectional data, the subscript t is replaced by i and T is replaced by n .) </P> <P> In some disciplines, the RMSD is used to compare differences between two things that may vary, neither of which is accepted as the "standard". For example, when measuring the average difference between two time series x 1, t (\ displaystyle x_ (1, t)) and x 2, t (\ displaystyle x_ (2, t)), the formula becomes </P>

How to find root mean square error in matlab