Hello,

and another questions, but I'm confident to finish this project next week ;)

In the ODFF draft spec of CHISQDIST is a constraint for the parameter 'degrees of freedom' to be integer.

Should I implement it:
(1) break with an "illegal argument" error, if the value is not an integer
or
(2) round the value to an integer.

The current implementation of the complement function CHIDIST rounds the incoming value, but the spec has the same constraint for LEGACY.CHIDIST.

I would prefer version (2) to make it consistent with existing CHIDIST. And changing CHIDIST too, I consider to dangerous, because existing documents might no longer work.


The current implementations of CHIDIST and CHIINV have a constraint 'degrees of freedom < 1.0E5'. The spec don't have such restriction nor mention that they might be necessary. The code has no comment, why this constraint has been introduced. Can you tell me? Huge values might overflow oder underflow somewhere, but is that reason enough to reject them from the beginning?

kind regards
Regina


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to