forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 6:04 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Bug in Invincompletebeta?
PostPosted: Thu Oct 16, 2014 7:11 pm 
Offline

Joined: Thu Oct 16, 2014 6:56 pm
Posts: 1
Hi,

I have been evaluating the C# version of ibetaf.invincompletebeta for use in our project. I ran some tests and tried to compare the output with R function qbeta. For one scenario, invincompletebeta throws the following error message -

System.Diagnostics.Debug.Assert(x>=0 & x<=1, "Domain error in IncompleteBeta");

The inputs to the function are
a = 5280430997.9110432
b = 2.2660810465693549E+17
y = 0.29350430658087134

qbeta() in R and Beta.Inv() in Excel both output 2.33019E-08.

Any thoughts on what is causing the assertion failure?

Thanks
Anil


Top
 Profile  
 
 Post subject: Re: Bug in Invincompletebeta?
PostPosted: Wed Oct 22, 2014 7:02 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Frankly speaking, I am not sure whether it is bug or not. Values you specified are quite tricky. It is possible that both R and Excel use same algorithms to return same erroneous value, i.e. they fail too, just in a different way.

I added this issue to tracker, it will be processed either way (fixed or marked as non-issue) within 1-2 weeks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group