Skip to main content
. 2021 Aug 22;23(8):1093. doi: 10.3390/e23081093
Algorithm 2: SNWFD-DS
DCUSUM-DS: initialize LW, SW, T, β
Compute weights of SW and LW
Compute: medSx, stdSx, medLx, stdLx
Difma=medSxmedLx
Compute: DifmameanSDifma, DifmameanLDifma, DifmastdSDifma, DifmastdLDifma
Difmaresult=DifmameanSDifmaDifmameanLDifma
Compute: DifmameanS, DifmameanL, DifmastdS
Whether Difmaresult>0
Compute: sum(Difmaresult)
Compute: Result=DifmameanL*abs(sum(Difmaresult))
Box(Score(Result))
Whether Score > β
Output: label VA