Calculate the squared error between forecast and observation
SqErr(fcst, obs)
a N-vector representing N time instances of real-valued forecasts
a N-vector representing N time instances of real-valued observations
numeric N-vector of squared errors
AbsErr, ScoreDiff, SkillScore
# NOT RUN { data(eurotempforecast) mean(SqErr(rowMeans(ens), obs)) # }
Run the code above in your browser using DataLab