PDA

View Full Version : programming languages that have statistical distributions


Sparky_
Jan4-12, 03:07 PM
hello -

Do you know which programming languages have probability distributions available to use such as the binomial distribution (as an example).

I guess I would like to limit my questions if it's necessary to languages that are either free or cheap - no specialty math packages for thousands of dollars.

My interest is only at the hobby level - nothing for work.

Thanks
Sparky_

Edgardo
Jan4-12, 03:20 PM
R is a programming language used in statistics: The R Project for Statistical Computing (http://www.r-project.org/)
There are several R tutorials on youtube, e.g. R3. Tutorial on Distributions (Econometrics in R) (http://www.youtube.com/watch?v=IcYh-7ZhPuU)

There is also this free Python book: Think Stats, Probability and Statistics for Programmers (http://greenteapress.com/thinkstats/)

TylerH
Jan5-12, 12:02 AM
GCC supports the random number/distribution facilities introduced in C++11: http://en.wikipedia.org/wiki/C%2B%2B0x#Extensible_random_number_facility.

Number Nine
Jan11-12, 04:52 PM
R is the standard for anything statistics related. If you're looking for a bit more versatility, you might look into GNU Octave. Note that these are both very high-level languages; depending on your needs, it may be worthwhile to look into some of the standard C++ libraries.