semd: spectral emd

Description Usage Arguments Value

View source: R/scores.R

Description

earth mover's distance between dual-tree wavelet spectra

Usage

1
semd(dt1, dt2, a = 1, dir = TRUE)

Arguments

dt1, dt2

forecast and observed spectrum

a

ratio between scale- and directional component

dir

whether or not to include direction information

Value

a single value, the emd. If dir=FALSE, the value is signed, indicating the direction of the scale error.


sad documentation built on Nov. 8, 2020, 4:25 p.m.

Related to semd in sad...