|
From: | Alan Mead |
Subject: | Re: [Help-gsl] Multiple Linear Regression example ? |
Date: | Tue, 19 Aug 2014 07:45:58 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
I think you want : https://www.gnu.org/software/gsl/manual/html_node/Multi_002dparameter-fitting.html#Multi_002dparameter-fitting and https://www.gnu.org/software/gsl/manual/html_node/Fitting-Examples.html#Fitting-Examples (search for multifit). -Alan On 8/18/2014 9:18 PM, jean-michel richer wrote:
Hi everybody, I am trying to find a simple example of how to use GSL to perform multiple linear regression. I have searched using Google but couldn't find anything useful. My question is: does someone have an example or could someone give me some clue with the following example: Y = [ 1.72, 1.74, 2.09, 3.13, 2.87, 2.57 ] X = { 1, 7, 54.5, 0, 1, 8, 54.0, 1, 1, 9, 59.5, 1, 1,10, 62.0, 1, 1,11, 60.5, 0, 1,12, 63.0, 0 ] Thank you for your help, JM
-- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org Announcing the Journal of Computerized Adaptive Testing (JCAT), a peer-reviewed electronic journal designed to advance the science and practice of computerized adaptive testing: http://www.iacat.org/jcat
[Prev in Thread] | Current Thread | [Next in Thread] |