I get 48.73326433872124 returned as the requested quantile.  That
looks correct to me, given mu = 50, sigma = 5.  (50 -
48.73326433872124) / 5  = 0.253347132 and -0.253347132 is 0.4 on the
std normal cumulative dist.   What do you get?

Phil

On 5/25/07, rakesh <[EMAIL PROTECTED]> wrote:





                                                                                    <%@ page 
import ="org.apache.commons.math.distribution.NormalDistributionImpl" %>
<%
        //double p=0;
        //double p=0.5;
        //double p=1;
        double p=0.4;
        NormalDistributionImpl  nd = new NormalDistributionImpl(50,5);
        double icp = nd.inverseCumulativeProbability(p);
        out.println(icp);
%>

why the above programme does not work for p=0.4?
                 Rakesh.P    &   SathyaJothi.A



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to