SqErr: Calculate the squared error between forecast and observation

Description Usage Arguments Value See Also Examples

View source: R/SqErr.R

Description

Calculate the squared error between forecast and observation

Usage

1
SqErr(fcst, obs)

Arguments

fcst

a N-vector representing N time instances of real-valued forecasts

obs

a N-vector representing N time instances of real-valued observations

Value

numeric N-vector of squared errors

See Also

AbsErr, ScoreDiff, SkillScore

Examples

1
2

Example output

[1] 0.06256669

SpecsVerification documentation built on March 26, 2020, 7:55 p.m.