Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7BE0F0E7 for ; Wed, 17 Apr 2013 06:12:30 +0000 (UTC) Received: (qmail 54555 invoked by uid 500); 17 Apr 2013 06:12:29 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 54200 invoked by uid 500); 17 Apr 2013 06:12:29 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 54132 invoked by uid 99); 17 Apr 2013 06:12:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 06:12:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.57.104.167] (HELO pmx1.univ-reims.fr) (194.57.104.167) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 06:12:22 +0000 Received: from pmx1.univ-reims.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8F98B10A459A for ; Wed, 17 Apr 2013 08:12:00 +0200 (CEST) Received: from smtps.univ-reims.fr (smtps.univ-reims.fr [194.57.104.166]) by pmx1.univ-reims.fr (Postfix) with ESMTP id 7067E10A4570 for ; Wed, 17 Apr 2013 08:12:00 +0200 (CEST) Received: from [192.168.1.100] (87.162-226-89.dsl.completel.net [89.226.162.87]) (Authenticated sender: henon01@smtps.univ-reims.fr) by smtps.univ-reims.fr (Postfix) with ESMTPSA id B30663DE83 for ; Wed, 17 Apr 2013 08:11:59 +0200 (CEST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: non linear regression From: eric henon In-Reply-To: <1FDFC92E-489A-4797-A004-B379CCB278F7@univ-reims.fr> Date: Wed, 17 Apr 2013 08:12:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0681BC0C-D4E3-461B-9E0E-3831767992B3@univ-reims.fr> References: <1FDFC92E-489A-4797-A004-B379CCB278F7@univ-reims.fr> To: "Commons Users List" X-Mailer: Apple Mail (2.1085) X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.4.17.60321 X-URCA-User: henon01 X-URCA-Host: 87.162-226-89.dsl.completel.net X-URCA-Dests: good X-Virus-Checked: Checked by ClamAV on apache.org Sorry, I made a mistake, I'm not used with Jacobian,=20 the jacobian[i][2]=3D -1/x ... (without c parameter ...) and it should be ok using the common apache MultivariateMatrixFunction jacobian ... Eric. Le 17 avr. 2013 =E0 07:52, Eric HENON a =E9crit : > Hello, >=20 > I need to perform a non linear regression using this=20 > function: y =3D a + b lnx -c/x (a,b,c) being the parameters. > I want to do this within the java language. >=20 > I have a set of points (y1,x1), (y2, x2), =85 (yn, xn). >=20 >=20 > The least square solver available in commons apache seemed > to me a possible way to solve this, but it needs the jacobian matrix, > which in my case, depends on the "c" parameter itself =85 >=20 > This, I don't know how to implement the MultiVariateMatrixFunction = jacobian() > in this case.=20 >=20 > jacobian[i][0]=3D 1; > jacobian[i][1]=3D ln x; > jacobian[i][2]=3D ??? (+c/x^2) ?? > The problem is that the "c" parameter appears in the formula here... >=20 > Any help will be appreciated. > Thanks in advance. > Eric >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org >=20 Eric Henon Professeur Universite de Reims Champagne-Ardenne Institut de Chimie Moleculaire de Reims http://www.univ-reims.fr/ICMR CNRS UMR 6229 UFR des Sciences Exactes et Naturelles BP 1039 51687 Reims Cedex 2 (France) =20 T=E9l./Fax : + 33 (0) 3 26 91 84 97 eric.henon@univ-reims.fr --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org