views:

349

answers:

2

Is there an open source and/or free statistics package or library for Delphi? I'm looking for something that can compile directly into the executable, so no DLL's. It needs to be compatible with Delphi 2009 and later (the Unicode versions).

Hopefully there is something comprehensive available out there. By comparison, I am used to the amazing features of SAS and R.

I'm looking for distribution functions (normal, binomial, chi square, logit) and regression (linear, non-linear, multinomial) and if possible predictors (e.g. ARIMA).

+2  A: 

There's a large but somewhat out of date list here. I've never seen anything as comprehensive as SAS or R, however. Then again, SAS and R are more comprehensive than most stats packages for any language.

Craig Stuntz
This answer includes the TPMath that skamradt mentions.
lkessler
... but I wish there were something newer.
lkessler
+3  A: 

The library here might be of some help, although I admit I never used the statistic functions so will not be able to vouch for them. You are probably not going to run into many compatibility problems with most of these math libraries, since most of the Unicode changes revolved around strings and characters, not the numerical types.

skamradt
I've used TPMath a lot, including the statistical functions, and have never had any problems with it. It contains many of the standard statistics functions, but may not contain more "obscure" ones (e.g., I remember there are no functions for Kolmogorov-Smirnov tests included).
PhiS