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 function Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

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)

Fri 30 Mar 2018 05:43:53 AM UTC, comment #7:

Closing since this patch looks like it was accepted,

Mike Miller <mtmiller>
Project Administrator
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.


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



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

Attach Files:

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
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by arm_in (Posted a comment)
  • -email is unavailable- added by lachlan (Updated the item)
  • -email is unavailable- added by dagl (Updated the item)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-30 mtmiller StatusNone => Done
        Open/ClosedOpen => Closed
    2016-07-07 lachlan CategoryNone => Forge : new function
    2016-05-18 dagl Attached File- => Added statistics2.patch, #37200
    2016-05-14 None Attached File- => Added statistics.patch, #37155

    Back to the top

    Powered by Savane 3.3