The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Getting exact values of polynomial fit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bur2000

Germany
36 Posts

Posted - 10/18/2013 :  06:42:17 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.6
Operating System: Win 7

I did a 9th order polynomial fit and Origin did output the fitting parameters B1-B9. The fit worked well, the values calculated by Origin are very close to the original values.

However, when I use the parameters in Excel the calculated values differ significantly from those in Origin. It's not a problem in Excel, I used a pocket calculator and got the same wrong results.

Here's the parameter table from Origin:

Intercept 17.54397
B1 1.23021
B2 0.05444
B3 -0.01853
B4 0.00163
B5 -7.70248E-5
B6 2.15435E-6
B7 -3.58271E-8
B8 3.27741E-10
B9 -1.27133E-12

For x = 10.04374 Origin gets 27.2526715364701, but I get 27.20678141 (using Intercept + B1*x^1 + B2*x^2 and so on).

I guess the Bx values in the report table are not the values actually used by Origin, but rounded ones. Is that so and how can I access the exact values Origin used? I need these for some calculation in Excel.

Thanks.

Edited by - bur2000 on 10/18/2013 06:56:13 AM

greg

USA
1378 Posts

Posted - 10/18/2013 :  08:53:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
High order polynomials vary significantly with only minor changes to significant digits of input values...

Click the drop-down button next to Parameters on your Report sheet and choose "Create Copy as New Sheet".
Double click the top of the Value column to open Column Properties.
Set Digits to "Significant Digits=" and enter 15 for Significant Digits and click OK.
Go to Top of Page

bur2000

Germany
36 Posts

Posted - 10/21/2013 :  07:04:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot, that was exactly what I was looking for!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000