bug in covariance_source.cpp??

Brian Gough bjg@network-theory.co.uk
Sat Apr 12 10:49:00 GMT 2003


Juan Jose Gomez Cadenas writes:
 > In covariance_source.cpp, the function gsl_stats_covariance
 > calls the function covariance_m but I believe it should
 > call the function covariance


The _m function takes a precomputed mean, rather than a "known
mean" (in the statistical sense), so I believe the factor of
1/(n-1) is ok and should be the same for both cases.  Maybe
this should be clarified in the documentation though.

-- 
Brian



More information about the Gsl-discuss mailing list