patchGNU Octave - Patches: patch #8690, [octave forge] (statistics):...

 
 

patch #8690: [octave forge] (statistics): Alternative implementation of tcdf

Submitter:  Nir Krakauer <nir_krakauer>
Submitted:  Wed 17 Jun 2015 08:24:56 PM UTC
 
Category:  Forge : new feature Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Thu 28 Jul 2022 01:29:17 AM UTC, comment #5: 

I think we can close this.

Andreas Bertsatos <pr0m1th3as>
Thu 25 Nov 2021 12:33:45 AM UTC, comment #4: 

OK, I added the new implementation to tcdf
http://hg.code.sf.net/p/octave/statistics/rev/c6efc6807a42

Nir Krakauer <nir_krakauer>
Sat 18 Jan 2020 10:45:10 AM UTC, comment #3: 

In the meantime those functions have moved to the OF statistics package.

https://octave.sourceforge.io/statistics/NEWS.html

Maybe it was now easier to apply your changes there.

Kai Torben Ohlhus <siko1056>
Project Member
Thu 08 Sep 2016 03:20:11 AM UTC, comment #2: 

Here is a reimplementation of tcdf.m that calls tcdf_integer_df for integer degrees of freedom. Test it, if you like, and report if there are any problems.

(file #38447, file #38448)

Nir Krakauer <nir_krakauer>
Wed 06 Jul 2016 02:01:40 PM UTC, comment #1: 

Nir, do you think this should be considered for 4.2.0?

If so, please provide a patch instead of the .m file.  (If this is a new file, it will need to be added to a modules.mk file, and its docstring will need to be added to a .txi file.

Do you recommend that this be dispatched from tcdf.m or that users call it explicitly?  In the former case, it may be better to be a subfunction inside tcdf.m

Lachlan Andrew <lachlan>
Wed 17 Jun 2015 08:24:56 PM UTC, original submission:  

For the special (but common) case of integer degrees of freedom, the attached function avoids calling betainc, which considerably reduces computation time when tcdf needs to be found for many t-values under the same number of degrees of freedom.

Nir Krakauer <nir_krakauer>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38447:  tcdf_new.m added by nir_krakauer (5KiB - application/octet-stream)
file #38448:  tcdf_integer_df.m added by nir_krakauer (3KiB - application/octet-stream)
file #34249:  tcdf_integer_df.m added by nir_krakauer (3KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pr0m1th3as (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by nir_krakauer (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 logged-in users can vote.

     

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-28 siko1056 StatusNone Done
        Open/ClosedOpen Closed
    2020-01-18 siko1056 SummaryAlternative implementation of tcdf [octave forge] (statistics): Alternative implementation of tcdf
    2020-01-18 siko1056 CategoryNone Forge : new feature
    2016-09-08 nir_krakauer Attached File- Added tcdf_new.m, #38447
        Attached File- Added tcdf_integer_df.m, #38448
    2015-06-17 nir_krakauer Attached File- Added tcdf_integer_df.m, #34249

    Back to the top


    Powered by Savane 3.9