NormsDistribution function for java

I need java code to do the same thing Excel does with the following function:

NORMSDIST function

Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. Use this function in place of a table of standard normal curve areas.

Syntax

NORMSDIST(z)

Z is the value for which you want the distribution.

Remarks

    If z is nonnumeric, NORMSDIST returns the #VALUE! error value.
    The equation for the standard normal density function is:

Equation
lulubell-bAsked:
Who is Participating?
 
lulubell-bAuthor Commented:
Can I implement the following in an android app?      

Apache Commons - Math has what you are looking for.

More specifically, check out the NormalDistrubitionImpl class.
0
 
for_yanCommented:
Don't see any reason why such kind of thing  should not work on adnroid
0
 
lulubell-bAuthor Commented:
Perfect, just what I needed. Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.