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!
> 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)
~
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.
~
> 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!~