Projects  >  Math.NET Iridium (IRID)

  Issues    

 

 HyperLink  http://tracker.opensourcedotnet.info/Default.aspx?p=2&i=87 
IRID-87 - InverseCumulativeDistribution for LogNormal
Created: 21/09/2007 08:01:38    
Revised: 21/10/2007 04:13:23
   Back to Issue Filter   
      
<< >>

Hi,
I have found that there is no method which will find the inverse of cumulative distribution for LogNormal. So I thought it has to get included in your code. So here is the method I have written.

public double InverseCumulativeDistribution(double x)

{

    return (Math.Exp(Fn.ErfInverse(2.0 * x - 1.0) * Constants.Sqrt2 * _sigma + _mu));

}

If you include this method in your LognormalDistribution.cs  class then it will be great. I still request you to test this method then include it in your code, so that it will be beneficial for other people who would like to use your code for their work.


Thanks,
Reval

amit.vadje@revalanalytics.com

 
 
 
Comments (1)Attachments (0)Issue Links (0)History

Christoph Rüegg  

21/10/2007 04:13:23

Thank you very much for the suggestion. I've just added it to the code base.

Resolved as Fixed at revision 288.

 

 

Issue ID IRID-87
Type New Feature New Feature
Priority High High
Severity Major Major
Visibility Everyone 
Assigned To Christoph Rüegg 
Reported By Amit Vadje 
Component Probability Distributions 
Fixed For Version [2008.2.10.364] 2008 February (2008.2.10.364) 
Affected Versions  
Risk Level No Risk 
Status Closed Closed   
Resolution Complete   
Start Date ? 
Due Date ? 
Votes 0  
 Print Friendly