John,
Point taken. I believe there is only 2 cases where this can happen:
- Nul input vector. Hopefully I won't be doing stats on that.
- Constant input vector, which in electronics would be called a Dirac pulse: StdDev = 0, but Mean is defined. If I remember correctly, the main property of a Dirac is that it's surface is unity (or a multiple), rather than zero or infinity, yes? Then what is a reasonable value for the skewness of such pulse? Zero? Infinity? Undefined?
Whatever the answer is (it doesn't matter in my case, I just want my iteration loop to go over it without crashing at iteration #1), I will have to test for it and return a special value, by either creating MYSKEWNESS function or modifying lib\NormalTestCommands.txt
Both options are easy to do, but do not feel like a proper approach. May I suggest modifying lib\NormalTestCommands.txt on your source would be more proper?
Gus