Linear regression and correlation coefficient.   Enter x and y of the data  and  (possibly) the P
through which the graph is constrained to pass  (if you don't put anything, the centroid is taken)

P:     x separated by "," ↑   -   y separated by "," ↓      

y =  x   +  
xM   yM    ← ↑ Round according to the context!
correlation coefficient  
Es. distanza in linea d'aria (x) e lungo la strada (y) tra Genova e altri capoluoghi di provincia vicini:
55, 70, 155, 160, 155, 115, 105, 165, 110, 115, 85, 165, 110, 155, 105
85, 115, 205, 230, 185, 185, 145, 240, 140, 155, 125, 290, 170, 195, 135
metto (0,0) come P (punto fisso), ottengo (arrotondando) y = 1.42 x, coefficiente di correlazione = 0.913
(se non avessi messo P avrei ottenuto y = 1.37 + 6.83)

esempi