[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Computing R-square for linear regression
From: |
Barrett C. Foat |
Subject: |
Re: [Help-gsl] Computing R-square for linear regression |
Date: |
Tue, 25 Sep 2007 12:11:13 -0500 |
User-agent: |
KMail/1.9.3 |
R-sq. should be (1 - chi-square / SST),
where SST is the sum-squared total: the summed deviations between the
independent variable observations and the independent variable mean.
This page has some useful definitions:
http://mtsu32.mtsu.edu:11308/dictionary/formula.htm
chi-square is the same as SSE: sum squared error.
Barrett Foat
On Tuesday 25 September 2007 11:52, Julian Winter wrote:
> Hi,
>
> Can anyone tell me how to get the R-square value from the GSL linear
> regression functions, specifically, gsl_multifit_linear and
> gsl_fit_linear? They only seem to return the chi-square.
>
> Thanks,
>
> Julian Winter
> GDA Corp.
> 200 Innovation Blvd., Suite 234
> State College, PA 16803
> 814-237-4060 (tel)
> 814-689-3375 (fax)
> address@hidden
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
> 9/25/2007 8:02 AM
>
>
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl