Re: Nonlinear regression
- To: mathgroup at smc.vnet.net
- Subject: [mg43573] Re: Nonlinear regression
- From: guillerm at aida.usal.es (Guillermo Sanchez)
- Date: Sun, 21 Sep 2003 05:42:14 -0400 (EDT)
- References: <bkhbam$7ju$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You need to put your starting values in a list.
Example: {a, {-120, -112}, -100, -150}, {b, { -0.3, -.28}, -0.2,
-0.5}, {c, {90, 95}, 80, 100}, {d, {-0.02, -.17}, -0.01, -0.03} ]
Guillermo
RCFlorigan at hotmail.com (Robert Florigan) wrote in message news:<bkhbam$7ju$1 at smc.vnet.net>...
> Hello,
>
> I am trying to do a nonlinear regression, but I need to bound
> (constrain) the parameters. For example,
>
> NonlinearRegress[Data, a + b * Exp[-(x-c)/d], {x}, {a, b, c, d}]
>
> The b in this case, I know must be between 1 and 1000, and the c
> between 0.1 and 10. This is simply because of the physics of the
> model.
>
> Is there a way to force NonlinearRegress to constrain the parameters
> to some range, as in this example?
>
> Thanks,
> Robert