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
 curve fitting please help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

thitchen

44 Posts

Posted - 10/19/2012 :  06:35:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.6 and Service Release 0 (Select Help-->About Origin):
Operating System: win7

I have a set of data with
x:
0.03469
0.03476
0.03477
0.03483
0.0348
0.03485
0.03498
0.03503
0.03507
0.03511
0.03511
0.03512
0.03512
y:
0.56647
0.62063
0.67129
0.76376
0.84648
0.92132
1.0525
1.16489
1.26319
1.42917
1.56614
1.78425
1.95479

It is supposed to be fitted with function:
y=bx*(a-x)^(-0.5)+c

which seems like a very straight forward task.
I enter the expression into the fitting function builder, and fit the data, however, originlab keeps saying it's over-parameterized. I'm now totally lost and confused. Please any help is appreciated.

greg

USA
1378 Posts

Posted - 10/19/2012 :  11:56:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The correct definition should be
y = b*x*(a-x)^(-0.5)+c
with parameters a,b,c
Using that, and a simple initialization (all parameters equal to 1), I was able to get a fit of your data
Value Standard Error
a 0.03519 2.60275E-4
b 0.40068 0.40021
c 0.02726 0.54407
Go to Top of Page

thitchen

44 Posts

Posted - 10/19/2012 :  1:53:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Greg,

Thanks for the reply, I tried with your suggestion, now the problem I got it's that the fitting do not even try to iterate once with all initial parameters setting to 1.

the message I got is:

(1) Parameter Initialization was called.
(2) ----------Levenberg-Marquardt-----------
Reduced Chi-sqr = 188.65792818
Iterations Performed = 0
Total Iterations in Session = 0
(3) Fit did not converge - reason unknown.

Please help.

quote:
Originally posted by greg

The correct definition should be
y = b*x*(a-x)^(-0.5)+c
with parameters a,b,c
Using that, and a simple initialization (all parameters equal to 1), I was able to get a fit of your data
Value Standard Error
a 0.03519 2.60275E-4
b 0.40068 0.40021
c 0.02726 0.54407


Go to Top of Page

thitchen

44 Posts

Posted - 10/19/2012 :  1:56:36 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Problem solved. Thanks so much, Greg!

quote:
Originally posted by greg

The correct definition should be
y = b*x*(a-x)^(-0.5)+c
with parameters a,b,c
Using that, and a simple initialization (all parameters equal to 1), I was able to get a fit of your data
Value Standard Error
a 0.03519 2.60275E-4
b 0.40068 0.40021
c 0.02726 0.54407


Go to Top of Page

cc261

22 Posts

Posted - 10/22/2012 :  05:01:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The results from 1stOpt are more accurate:


a 0.035161773138033
b 0.287946048033968
c 0.221136990845496
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