bugGNU Octave - Bugs: bug #64437, Add "type" option to...

 
 

bug #64437: Add "type" option to corr() with support for "kendall" and "spearman" for Matlab compatibility

Submitter:  Rik <rik5>
Submitted:  Mon 17 Jul 2023 08:57:15 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 17 Jul 2023 08:57:15 PM UTC, original submission:  

Matlab's corr() function accepts a NAME/VALUE pair of "type"/("pearson"|"kendall"|"spearman") which determines the type of correlation to compute.  Octave offers three individual functions "corr" (pearson), "kendall", and "spearman".

It would be an easy project to expand the input validation in corr.m to look for the type of correlation and then call the desired Octave function.

Rik <rik5>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code