Statistics & Java

Does anyone know if there are any built in statistics functions in Java?

Here's what I'm trying to figure out: Does Java have a way to calculate the probability under a normal distribution given a specific z-value? Or the other way around (given a probability, what's the z-value)?

Or is this a formula I'll need to generate on my own? It seems like it's something that's common enough, but I can't find anything on it.

Thanks!

[459 byte] By [aasantaviccaa] at [2007-11-27 4:05:49]
# 1
http://jakarta.apache.org/commons/math/~
yawmarka at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 2
wow...that's got a lot. I think I was looking for something not so comprehensive!
aasantaviccaa at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 3

> wow...that's got a lot. I think I was looking for

> something not so comprehensive!

Core Java doesn't have what you describe. You can use a third-party library if you don't want to roll this yourself. If you don't want to use a third-party library, your option is pretty clear... :o)

~

yawmarka at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 4
There's no pleasing some people!
DrLaszloJamfa at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 5
> There's no pleasing some people!:PA'ight...thanks!
aasantaviccaa at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 6

I forgot to mention: if you don't want to use that third-party library, you could always [url=http://www.google.com/search?q=java+statistics+library]Google for something that more closely meets your requirements[/url]. Jakarta Commons Math is just the first one that jumped to mind. Jakarta Commons has a great deal of useful code for those "does Java have XXX?" moments.

~

yawmarka at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 7
Thanks, yawmark.I'm just getting started with JAVA here at work and I wasn't entirely sure what to search for. That helps!
aasantaviccaa at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...
# 8
> Thanks, yawmark.> > I'm just getting started with JAVA here at work and I> wasn't entirely sure what to search for. That helps!You're welcome. Also, note that it's "Java" (like the word, not an acronym).Cheers!~
yawmarka at 2007-7-12 9:10:50 > top of Java-index,Java Essentials,Java Programming...