Failing test in Matlab R2008a without the stat toolbox:
>> stk_test stk_sampcrit_eqi
***** test F.quantile_order = 0.9; assert (F.quantile_order == 0.9)
!!!!! test failed
Undefined function or method 'norminv' for input arguments of type 'double'.
The stat toolbox is supposed to be an optional dependency in STK, so this is a problem.
In this revision
https://sourceforge.net/p/kriging/hg/ci/c36bcb988f6aaef8e9c01fbbfd46721ea6b562ac ,
the "norminv" function was changed by an expression using "erfcinv" function.
Is it better ?
Yes, it is better at least for Matlab:
https://sourceforge.net/p/kriging/hg/ci/9d1867212df7d780bb88433b143ad44ffe5f0ef1
I will check in old releases of Octave and close the ticket if it's ok.
Last edit: Julien Bect 2017-07-05
Hmmmmm... erfcinv was introduced in Octave 3.8.0... Here is the final fix:
https://sourceforge.net/p/kriging/hg/ci/a0685e689b0aef06f52074951a714daa65ddd849