Markus Neteler wrote: > echo "345.551054 1 1 > 364.229489 1 1 > 382.907925 1 3" | awk ... .... > R = (sumXY - sumX*sumY/tot)/((sumsqX - sumX^2/tot)*(sumsqY - > sumY^2/tot))^0.5; sumsqY = 5 sumY = 5 tot = 5 thus (sumsqY - sumY^2/tot))^0.5 = 0 Hamish