patchGNU Octave - Patches: patch #9003, Add statistical distributions to...

 
 

patch #9003: Add statistical distributions to package 'statistics'

Submitted by:  None
Submitted on:  Sat 14 May 2016 01:45:54 PM UTC  
 
Category: Forge : new functionPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Wed 14 Dec 2016 12:11:02 PM UTC, comment #6:

Included in Octave 4.2.0

Armin Müller <arm_in>
Fri 20 May 2016 02:13:15 PM UTC, comment #5:

OK, I modified the test to hopefully pass for all versions and added your patch to the package.

Nir Krakauer <nir_krakauer>
Fri 20 May 2016 09:20:00 AM UTC, comment #4:

I am running v. 4.1.0+ and there is no report of error when testing bbsinv. Your error is version-dependent.

Dag Lyberg <dagl>
Thu 19 May 2016 03:37:47 PM UTC, comment #3:

Thanks. With Octave 3.8.2, I get one failing test. Can you please check it?

> test bbsinv

***** assert (bbsinv (x, zeros (1,6), ones (1,6), ones (1,6)), y, eps)
!!!!! test failed
ASSERT errors for: assert (bbsinv (x, zeros (1, 6), ones (1, 6), ones (1, 6)),y,eps)

Location | Observed | Expected | Reason
(3) 0.51565 0.51565 Abs err 3.3307e-16 exceeds tol 2.2204e-16
shared variables
scalar structure containing the fields:

x =

-1.00000 0.00000 0.25000 0.50000 1.00000 2.00000

y =

0.00000 0.00000 0.51565 1.00000 Inf NaN

Nir Krakauer <nir_krakauer>
Wed 18 May 2016 03:02:37 PM UTC, comment #2:

I am trying to upload a new patch file (statistics2.patch). It is derived from the statistics library, instead of Octave Core (statistics.patch). The content is the same, except GEV and Rayleigh are removed.

(file #37200)

Dag Lyberg <dagl>
Tue 17 May 2016 05:26:46 PM UTC, comment #1:

Thank you for the contributions. However,some of the functions, for example gev* and rayl*, are already implemented in the Statistics package [1]. If you can base your patch on the current development version [2], it will be easier to add in the new functions.

[1] http://octave.sourceforge.net/statistics/overview.html
[2] https://sourceforge.net/p/octave/statistics/ci/default/tree/

Nir Krakauer <nir_krakauer>
Sat 14 May 2016 01:45:54 PM UTC, original submission:

- bbspdf.m, bbscdf.m, bbsinv.m, bbsrnd.m - Birnbaum-Saunders distribution
- burrpdf.m, burrcdf.m, burrinv.m, burrrnd.m - Burr distribution
- gevpdf.m, gevcdf.m, gevinv.m, gevrnd.m - generalized extreme-value distribution
- gppdf.m, gpcdf.m, gpinv.m, gprnd.m - generalized Pareto distribution
- nakapdf.m, nakacdf.m, nakainv.m, nakarnd.m - Nakagami distribution
- raylpdf.m, raylcdf.m, raylinv.m, raylrnd.m - Rayleigh distribution
- tripdf.m, tricdf.m, triinv.m, trirnd.m - triangular distribution

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37200:  statistics2.patch added by dagl (95KiB - text/x-patch)
file #37155:  statistics.patch added by None (138KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arm_in (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by dagl (Updated the item)
  • -unavailable- added by nir_krakauer (Posted a comment)
  • -unavailable- added by None (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 logged-in users 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
    Thu 07 Jul 2016 01:40:17 AM UTClachlanCategoryNone=>Forge : new function
    Wed 18 May 2016 03:02:37 PM UTCdaglAttached File-=>Added statistics2.patch, #37200
    Sat 14 May 2016 01:45:54 PM UTCNoneAttached File-=>Added statistics.patch, #37155

    Back to the top


    Powered by Savane 3.1-cleanup1