View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.charting
Jerry W. Lewis Jerry W. Lewis is offline
external usenet poster
 
Posts: 837
Default how i calculate pearson correlation coefficient for excel grap

"James Silverton" wrote:

... Thank you for a
most enlightening reply!


You're welcome, glad it helped.

Have the statistical formulae in Excel 2003 on been rigorously
tested? As you remarked in the reference, it is amazing how long
Microsoft kept using unstable calculation techniques


Univariate statistics functions (StDev, StDevP, Var, VarP) worked fine out
of the box. Bivariate Statistics functions (Slope, Intercept, SteYX, etc)
could produce incorrect results with non-numeric or empty cells in the data
range; that was fixed in a March 2004 patch (as was a bug in the new algorith
for RAND).

When LINEST 2003 estimates a parameter to be exactly zero, the estimate
should be distrusted unless confirmed by alternate calculations; this is
fixed in 2007 beta.

Probability calculations (other than the much improved 2003 NORMDIST and
NORMINV) remain inadequate. ...INV functions do a better job of inverting
....DIST functions, but continuous distribution functions (...DIST) continue
to have limited accuracy and continue to become totally inaccurate in at
least one tail. Algorithms were changed for discrete distributions
functions, but they introduce new numerical problems that are still not fixed
in 2007 beta. The gold standard for probability calculations remains Ian
Smith's library
http://members.aol.com/iandjmsmith/examples.xls
which is actually better (both accuracy and working range) than any other
double precision implementation that I am aware of, (including dedicated
statistics packages and math libraries).

Jerry