octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64437] Add "type" option to corr() with suppo


From: Rik
Subject: [Octave-bug-tracker] [bug #64437] Add "type" option to corr() with support for "kendall" and "spearman" for Matlab compatibility
Date: Mon, 17 Jul 2023 16:57:17 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64437>

                 Summary: Add "type" option to corr() with support for
"kendall" and "spearman" for Matlab compatibility
                   Group: GNU Octave
               Submitter: rik5
               Submitted: Mon 17 Jul 2023 01:57:15 PM PDT
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 17 Jul 2023 01:57:15 PM PDT By: Rik <rik5>
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.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64437>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]