bugGNU Octave - Bugs: bug #31838, kolmogorov_smirnov_test not working

 
 

bug #31838: kolmogorov_smirnov_test not working

Submitted by:  Muhali <muhali>
Submitted on:  Thu 09 Dec 2010 10:48:52 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 10 Dec 2010 12:03:39 AM UTC, comment #1:

I checked in the following changes:

http://hg.savannah.gnu.org/hgweb/octave/rev/db091f68798c

http://hg.savannah.gnu.org/hgweb/octave/rev/5a4a7febe37c

This should allow the k-s test to work for both DIST_cdf and DISTcdf functions. The problem seems to be fixed for me, so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Thu 09 Dec 2010 10:48:52 PM UTC, original submission:

the kolmogorov_smirnov test looks for norm_cdf which has been replaced by normcdf.

octave:> kolmogorov_smirnov_test(rand(10,1), "norm")
error: @norm_cdf: no function and no method found
error: called from:
error: /usr/local/share/octave/3.3.54+/m/statistics/tests/kolmogorov_smirnov_test.m at line 69, column 5

This likely applies to more than the normal distribution.

patch attached.

M.

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22168:  patch added by muhali (625B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by muhali (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 10 Dec 2010 12:03:39 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 09 Dec 2010 10:48:52 PM UTCmuhaliAttached File-=>Added patch, #22168

    Back to the top


    Powered by Savane 3.1-cleanup1