Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Correlation coefficient Date: Mon, 13 Jun 2011 16:04:31 +0200 Lines: 24 Message-ID: <95mjm9F19cU1@mid.dfncis.de> References: <447e021d-67d8-4a1d-9268-67ddc983dc2a@j25g2000vbr.googlegroups.com> <95hkj6Fi8eU1@mid.dfncis.de> <5f9b9ef2-4e51-4c6d-8951-83feb1b5e774@c20g2000vbv.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.dfncis.de 90s5JufDqJjbtEKRVguHBwRTpJKz9CKKr2dwInDQpSuHtOL1+psftcwcSB Cancel-Lock: sha1:AcjK+CLL6mA+Zdum+HWxzVLXwLU= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <5f9b9ef2-4e51-4c6d-8951-83feb1b5e774@c20g2000vbv.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:377 On 13.06.2011 15:22, David Marçal wrote: > The correlation coefficient (R^2) is the Pearson's correlation > coefficient! Of what? Since it didn't occur to you to specify that, I'll assume you mean the simplest use, which would be the number derived directly from x and y distributions: r_xy = Sum((x-)(y-))/sqrt(Sum((x-)^2)*Sum((y- The output of gnuplot is something like this: > > correlation matrix of the fit parameters: > > a b > a 1.000 > b -0.784 1.000 > > So, in a fit linear, my R^2 would be 0.784? This would be my > Perason correlation coefficient, is this correct? Not really. The above is the correlation coefficient between a and b, not between the x and y columns of your data.