Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fit with constraints?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23353] Re: Fit with constraints?
  • From: "Martin Rommel" <Martin_Rommel at mac.com>
  • Date: Thu, 4 May 2000 02:59:20 -0400 (EDT)
  • Organization: Semitest
  • References: <8eg5ee$giq@smc.vnet.net> <8ekvpr$qb0@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

> http://support.wolfram.com/Math/Statistics/NonlinearOptimization.html
>
> may have the information you want.

No, it doesn't. I checked the website (at least superficially). The answer
which is as simple as I expected (still I did not think of it) came from
Dave Withoff of Wolfram Research.

>Fixing a point or setting an intercept just means using a model
>that always passes through a particular point, as in
>
>In[1]:= Fit[{{1,2},{3,7},{4,6},{7,9},{11,14}}, x-4, x]
>
>Out[1]= 1.64706 (-4 + x)
>
>which fits the data to a straight line that passes through 4 (that is,
>it sets the y intercept to 4). If you have an example where you're
>not sure how to do this, you could try posting your example, or
>contacting technical support. In any case, fixing a point is just
>a simple modification of the model in the input to Fit.
>
>Dave Withoff
>Wolfram Research





  • Prev by Date: Re: Making Mathematica "beep"
  • Next by Date: Re: Could we build matrix with codition instruction?
  • Previous by thread: Re: Fit with constraints?
  • Next by thread: Re: collect derivatives