Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Is there a bug in FIT?
Replies: 1   Last Post: Jul 11, 1996 12:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jason Welter

Posts: 4
Registered: 12/7/04
Is there a bug in FIT?
Posted: Jul 8, 1996 2:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to fit some data and have discovered that the
FIT function does'nt work with the following data:

data1 = {{1.42 10^13, -1.26}, {1.5 10^13, -1.3}, {1.63 10^13, -1.37}};

When I do:

funcdata1 = Fit[data1,{1,x},x];

Show[{Plot[data1,{x,1.42 10^13,1.63 10^13}],ListPlot[data1]},
Prolog->AbsolutePointSize[16]]

I get terrible results, but when I take the exponents out:

data2 = {{1.42, -1.26}, {1.5, -1.3}, {1.63, -1.37}};

an I do:

funcdata2 = Fit[data2,{1,x},x];

Show[{Plot[data2,{x,1.42,1.63}],ListPlot[data2]},
Prolog->AbsolutePointSize[16]]

It fits it just fine. What is wrong?








Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.