Mercurial > octave-nkf
changeset 18572:564a74b2d509 stable
sign_test.m: Replace use of deprecated function 'binomial_cdf' (#41779).
* sign_test.m: Use binocdf in place of deprecated function binomal_cdf.
author | mfasi <mogrob.sanit@gmail.com> |
---|---|
date | Thu, 06 Mar 2014 17:32:49 +0100 |
parents | bfb735b70978 |
children | c08776badd3d |
files | scripts/statistics/tests/sign_test.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/tests/sign_test.m Tue Mar 11 00:15:20 2014 +0100 +++ b/scripts/statistics/tests/sign_test.m Thu Mar 06 17:32:49 2014 +0100 @@ -57,7 +57,7 @@ y = reshape (y, 1, n); n = sum (x != y); b = sum (x > y); - cdf = binomial_cdf (b, n, 1/2); + cdf = binocdf (b, n, 1/2); if (nargin == 2) alt = "!=";