[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?
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
-------------------------------------------------------------

**How to get Correlation factor?**,
*ASG* **<=**