From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 16 09:45:25 2003 Subject: How to get Correlation factor? From: ASG To: Octave list Date: Thu, 16 Jan 2003 15:40:01 +0100 I have two-dimensional data, which I want to fit with a linear regression. I get nice results with [p, yf] = polyfit (x, y, 2) And now I need the correlation factor... Is there a nice way to calculate this? It would be also quite good, if anybody knows how to calculate the MSWD (Mean Square Weighted Deviation) for a linear regression? Thanks!!! Andreas ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------