Re: LinearModelFit doesn't work with constraints?

*To*: mathgroup at smc.vnet.net*Subject*: [mg126274] Re: LinearModelFit doesn't work with constraints?*From*: Bill Rowe <readnews at sbcglobal.net>*Date*: Sat, 28 Apr 2012 05:26:30 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com

On 4/27/12 at 6:49 AM, mheaney at gmail.com (Michael B. Heaney) wrote: >Why does this fit work with FindFit but not with LinearModelFit? Can >it be fixed to work with LinearModelFit?: >lmf = LinearModelFit[data, {a + b*x, {a < 0, b< 0}}, {a, b}, {x}] Look at the documentation for LinearModelFit. The syntax is not the same as for FindFit. You've attempted to use FindFit syntax which is the problem.