Am 18.06.2018 um 13:28 schrieb Sven Schreiber:
Am 18.06.2018 um 13:04 schrieb Riccardo (Jack) Lucchetti:
> There are two things left to do (apart from testing):
Great, thanks, I will test (and maybe others, too?).
What about this interpretation of inputs (current git):
<hansl>
set nadarwat_trim 4
series n2 = nadarwat(HA, WA, -2.0, 0) # bw = 2, leave-one-out or not?
series n4 = nadarwat(HA, WA, -2.0) # old style, bw = 2, leave-one-out
eval max(abs(n2-n4)) # gives 0
</hansl>
For the n2 spec there are competing user choices: old-style negative
third arg (meaning leave-one-out) and a zero fourth arg. The old style
prevails right now.
Instead I think this inconsistent input should throw an error.
thanks,
sven