[Scipy-tickets] [SciPy] #98: Statistics Review: pearsonr

SciPy scipy-tickets@scipy....
Sun Jan 4 10:01:23 CST 2009


#98: Statistics Review: pearsonr
-------------------------+--------------------------------------------------
 Reporter:  rkern        |        Owner:  rkern            
     Type:  review       |       Status:  assigned         
 Priority:  normal       |    Milestone:  StatisticsCleanup
Component:  scipy.stats  |      Version:  devel            
 Severity:  normal       |   Resolution:                   
 Keywords:               |  
-------------------------+--------------------------------------------------
Old description:

> The function {{{pearsonr}}} in file source:trunk/Lib/stats/stats.py needs
> review.
>
> Please look over the StatisticsReview guidelines and add your comments
> below.

New description:

 The function {{{pearsonr}}} in file source:trunk/Lib/stats/stats.py needs
 review.

 Please look over the StatisticsReview guidelines and add your comments
 below.

Comment (by josefpktd):

 pearson correlation is just standard correlation and can be better handled
 by numpy.corrcoeff with correlation matrix.

 The only contribution here is to add the p-value for the t-test.

 This can be rewritten to use numpy.corrcoeff and stats.t, for bivariate
 normally distributed random variables stats.rdist could be used.

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/98#comment:2>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list