SqErr {SpecsVerification} | R Documentation |
Calculate the squared error between forecast and observation
SqErr(fcst, obs)
fcst |
a N-vector representing N time instances of real-valued forecasts |
obs |
a N-vector representing N time instances of real-valued observations |
numeric N-vector of squared errors
AbsErr, ScoreDiff, SkillScore
data(eurotempforecast)
mean(SqErr(rowMeans(ens), obs))