Link to home
Start Free TrialLog in
Avatar of vendrig
vendrig

asked on

Statistical functions

Hi!
I'm looking for a freeware class or library that lets me do statistical operations, such as mean and standard deviation.
So I want to give a list or array of doubles as input and get the results back. I should be able to do this in an easy way (otherwise I might as well program it all myself).
I'm using Visual C++ 6.
Avatar of nietod
nietod

There is a commercial library at

http://www.nr.com

I don't know of any free ones, but mean and SD are VERY simple, you should be able to to them yourself.
Avatar of vendrig

ASKER

Hi nietod!
Yeah, I could do it myself, done it for Java once. But I kinda expected it to be already done in C++. And I hope to get more than mu/sigma as a bonus. Because I'll think of something new every week;-) Plus it's nice if someone else tested the code already.
Not looking for a commercial one.
Hi,
 Hope this helps:

http://www.vsl.ist.ucf.edu/groups/vtb/ZCAP_PROGRAMR_HTML/aindex.html

There is a file for:
1. mean.c
2. statistics.c

There are others too check thme out.

Bye
Abdij
Avatar of vendrig

ASKER

Hi Abdij!
numautil.c seems to be what I need here. But I only see the header files, where can I get the source or the library?
Hi,

 Here it is
http://www.vsl.ist.ucf.edu/groups/vtb/
There is a .gz file containing the source.

Hope this helps,
Bye
Abdij
Avatar of vendrig

ASKER

Could you give the URL of that gz, I don't see it anywhere.
If winzip doesn't eat it try searching for gzip. Maybe its available from delorie...
Avatar of vendrig

ASKER

Kangaroo: thanks, but I know what to do with a gz file. I just don't see the package with source files anywhere on that page.
Mh, they are 'out of the air' (http://www.delorie.com/).
Eigenlijk is het de moeite niet om het www af te zoeken. Als je je ie meel even geeft dan stuur ik het gewoon op.
Ah that's what you mean.
Avatar of vendrig

ASKER

Kangaroo: WinZip can handle gz, no problem. If you happen to have that statistics package, you can send it to jeroeneke@iname.com
Alas, a misunderstanding. I was talking about the gzip exacutable.
Avatar of vendrig

ASKER

Ah, jammer...
Hi,

Search for .tar.gz on this page.
I am planning to download and send the zip to you.

http://www.vsl.ist.ucf.edu/groups/vtb/projectZCAP.html

Bye
Abdij
ASKER CERTIFIED SOLUTION
Avatar of AlexVirochovsky
AlexVirochovsky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vendrig

ASKER

abdij: please do not mail it! It's way too big! Now I have the valid URL, so I can download it myself.
Hi,
 Thanx Man.

All the best
Enjoy
Bye
Abdij
Avatar of vendrig

ASKER

Well, I got Alex's program running before the download of that package was finished (it's over 150MB and even at 50kbps that's a lot). It does exactly what I want, so I'll give him the points.
Thanks for all the efforts.