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

Add a New Comment Rich Markup

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


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    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.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-12ab.
    Corresponding source code