in reply to standard deviation accuracy question

How are you calcing standard deviation in Excel? There's STDEV, STDEVA, STDEVP, STDEVPA, off the top of my head.

Excel's STDEVP uses the n-1 as the denominator, so you should probably use

my $elements = $#ar;
just to compare apples and apples.
--
jpg