ESBPCS for VCL
Opinion on Numerical Recipes In Pascal?
Thread Starter: Joe Hendricks Started: 10/22/2007 11:58 PM UTC
Replies: 8
Opinion on Numerical Recipes In Pascal?
I know its an old (1989) classic, but supposedly still accurate.  From the reviews at Amazon, the authors' opinions seem they'd be as helpful/interesting as the formulas (after all, I have ESPCS for most formulas!).

Has anyone read it?  If so, whats your opinion?

(the pascal book is gone from the official site now, no plans for a second edition: http://www.nr.com )

JoeH
Re: Opinion on Numerical Recipes In Pascal?
Joe,

I've gone through the 1st Edition (C,FORTRAN) and the 2nd Edition (C++).

I've probably actually read about 80% of the book, and skimmed the rest.   I read the sections that I'm using code from so I can try to understand what they're doing in the code. Their explanations are good, although sometimes I've got to read and re-read to get it to sink in (but that's just me). They provide good references as well. A lot of their algorithms are based on "classic" numerical recipes that you might find on in FORTRAN code on netlib or the like.

I think the book is worth having as a desktop reference. You'll find opinionated reviews about the quality of the code itself, especially the C/C++ code. It's a bit convoluted at times, but it works just fine. I don't have a problem with it.

The pascal code from 1989 seems ok, but the arrays are all [1..whatever] based and seem to use a bunch of global variables. Same as the fortran and original C code. The C++ code changed things and the arrays are 0-based, so the code is just a bit different. Since I usually prefer 0-based arrays (dynamic), I will often just convert the C++ code to Pascal on-the-fly for routines that I might use.

Randy
Re: Opinion on Numerical Recipes In Pascal?
Randy Carr wrote:
I think the book is worth having as a desktop reference.  

Thanks Randy,

I won't need it for the code so much as the help avoiding misuse of ESPCS in our setting;  I tend to oversimplify statistics and know that can get us into trouble.  We plan on using ESPCS for our marketing dashboard and I want to be careful to apply the correct methodology for each measurement.

JoeH
RE: Opinion on Numerical Recipes In Pascal?
Joe,

I seem to recall browsing through the Fortran version many, many years
ago... Can't comment on the Pascal version, but if I recall correctly the
Fortran version was basically just the "recipes" ie the code with not a lot
of explanation... But the Pascal version may be different :)

If you want a couple of good texts to explain the Stats etc in ESBPCS I can
give you a couple - will dig them up in the next day or so :)


Glenn Crouch, mailto:glenn@esbconsult.com
ESB Consultancy, http://www.esbconsult.com
Home of ESBPCS, ESB Calculators, ESBStats and ESBPDF Analysis
Kalgoorlie-Boulder, Western Australia
Re: Opinion on Numerical Recipes In Pascal?
Glenn Crouch wrote:
If you want a couple of good texts to explain the Stats etc in ESBPCS I can
give you a couple - will dig them up in the next day or so :)

Yes, that would be great - I have my college stats and market research textbooks, but they really don't discuss 'gotchas' for the methods.

JoeH
Re: Opinion on Numerical Recipes In Pascal?
Joe,

The best book I have that covers basic Statistics and the Hypothesis Analysis and Inference that is in ESBPCS would be:

Statistics for Management and Economics by Keller and Warrack.

I've used it as my text many times when teaching Business Statistics to Bachelor of Commerce and MBA students. This is a good book for explaining why we are doing things :)

Another good book is:

Weighing the Odds: A Course in Probability and Statistics by David Williams.

Hth


Glenn Crouch, mailto:glenn@esbconsult.com ESB Consultancy, http://www.esbconsult.com Home of ESBPCS, ESB Calculators, ESBStats and ESBPDF Analysis Kalgoorlie-Boulder, Western Australia
Re: Opinion on Numerical Recipes In Pascal?
Thanks for taking the time to get those titles - I am afraid they are a bit steep in price for me, but will see if I can find them used at Univ Washington bookstore locally.

JoeH
Re: Opinion on Numerical Recipes In Pascal?
Joe Hendricks wrote:
Thanks for taking the time to get those titles - I am afraid they are a bit steep in price for me, but will see if I can find them used at Univ Washington bookstore locally.

You may be able to borrow them from the Library???

Glenn Crouch mailto:glenn@esbconsult.com
ESB Consultancy http://www.esbconsult.com
Home of ESBPCS & ESB Calculators
Kalgoorlie-Boulder, Western Australia
Re: Opinion on Numerical Recipes In Pascal?
Glenn Crouch wrote:
You may be able to borrow them from the Library???

My library is in a little one horse town, hehe - I think not :-)

-- JoeH | write a letter, save a life: http://takeaction.amnestyusa.org | write a check, save a family: http://www.worldvision.org/sponsor.nsf/family/famspon_about