Am 04.09.2023 um 11:08 schrieb Alecos Papadopoulos:
> > If I am not mistaken, the function invcdf(X,1,1) reflects a > chi-square distribution with 1 degree of freedom and then attempts to > compute a value "z" such that > > Prob( X <= z) = 1 (because the 3rd argument of the invcdf function > is "1"). > > But then "z" is not a real, number, but infinity.

The point is that gretl should never crash or freeze, but either throw an error or return a special value (NaN, infty, whatever).

cheers

sven