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

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

[Octave-patch-tracker] [patch #10092] [octave forge] (statistics) compat


From: Nicholas Jankowski
Subject: [Octave-patch-tracker] [patch #10092] [octave forge] (statistics) compatible expfit implementation
Date: Sat, 7 Aug 2021 04:20:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

URL:
  <https://savannah.gnu.org/patch/?10092>

                 Summary: [octave forge] (statistics) compatible expfit
implementation
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Sat 07 Aug 2021 04:20:10 AM EDT
                Category: Forge : new function
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

inspired by bug #38063, attached is a working, matlab compatible version of
expfit for the statistics package.  It calculates the mean and confidence
intervals for the mean of a sample of exponentially distributed data, allowing
for right-censoring and adjustable sample frequency. 

extending a bit from matlab capabilities, this expfit allows you to use
censoring and frequency options with nD sample arrays, where matlab restricts
their use to sample vectors only.

added BISTs for most input and option combinations and errors. all tests pass
and help text renders without error. header text appears to match other
functions in the package, although it differs from core octave.

patch also updates Index.in and NEWS.

Note - as discussed in the mentioned bug report, this will create a namespace
collision with an expfit function in the optim package until that function is
renamed. 

m file attached. will make patch after getting a patch number. 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 07 Aug 2021 04:20:10 AM EDT  Name: expfit.m  Size: 10KiB   By:
nrjank
matlab compatible expfit function for statistics pkg
<http://savannah.gnu.org/patch/download.php?file_id=51746>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10092>

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




reply via email to

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