Opened 13 years ago

Closed 13 years ago

#450 closed defect (fixed)

pearson_p_value returns NaN when correlation is unity

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.5
Component: statistics Version: 0.4.2
Keywords: Cc:

Description

The problem is that the calculation of t involves a r/sqrt(1-r*r), which isn't sound when r is 1.

Change History (2)

comment:1 Changed 13 years ago by Peter

Status: newassigned

comment:2 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1553]) fixes #450

Note: See TracTickets for help on using tickets.