Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Pearson correlation

Is there a method in Sage to compute Pearson correlation of a finite set? I have data points $(x_1,y_1),\ldots,(x_6,y_6)$ and wondering if there is a shorter way to do it than just write one long expression.