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


Reply via email to