[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get Correlation factor?

From: ASG
Subject: How to get Correlation factor?
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?



Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]