diff scripts/statistics/tests/cor_test.m @ 10606:ec34c7acd057

Replace deprecated function calls in statistics tests Patch provided by Alois Schlögl.
author Rik <octave@nomad.inbox5.com>
date Wed, 05 May 2010 21:14:18 -0700
parents 1bf0ce0930be
children 693e22af08ae
line wrap: on
line diff
--- a/scripts/statistics/tests/cor_test.m	Wed May 05 14:20:58 2010 -0400
+++ b/scripts/statistics/tests/cor_test.m	Wed May 05 21:14:18 2010 -0700
@@ -93,7 +93,7 @@
     t.params = df;
     t.stat = sqrt (df) .* r / sqrt (1 - r.^2);
     t.dist = "t";
-    cdf  = t_cdf (t.stat, df);
+    cdf  = tcdf (t.stat, df);
   elseif (m == "k")
     tau = kendall (X, Y);
     t.method = "Kendall's rank correlation tau";