|
From: | Paul Kienzle |
Subject: | Re: How to get Correlation factor? |
Date: | Fri, 17 Jan 2003 05:15:51 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130 |
ASG wrote:
I have two-dimensional data, which I want to fit with a linear regression. I get nice results withoctave-forge/main/optim (http://octave.sf.net) has wpolyfit to do a weighted polynomial fit. It also[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?
returns an error estimate for the parameters. Paul Kienzle address@hidden
------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |