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
 Problem with own 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

mvodw

Germany
1 Posts

Posted - 07/29/2011 :  11:17:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.0951
Operating System: Win 64 bit

Hello origin community,
i want to fit my data points with a own funktion but i have some trouble with it.

The funktion is:

y = A - B * [1 - exp(-C * sqrt(x)]

The problem is i dont know what exactly to type in the parameter options and the parameter initialise boxes.

Would be very nice if someone could tell me what to write in.
The parameter A should be something between 0.6 and 0.8.
B is something like 0.9 to 1.2.
This both parameters are the important values wich i wanted to know exactly for each of my data sets. C is unimportant for my work but a needed parameter to fit the curve.

Greeting Malte

Hideo Fujii

USA
1582 Posts

Posted - 07/29/2011 :  2:14:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Malte,

You can set the lower and upper bounds for parameters you want in NLFit fitting tool by the following:

1) In NLFit, choose "Bounds" tab, double-click the cell of "LB" (or "UB") for the parameter; Each double-clicking cyclically change between empty, "<=" and "<". Choose either "<=" or "<".
2) Double-click the cell of "LB Value" (or "UB Value"), and enter the lower (or upper) parameter value such as 0.6 for A.
3) Make sure that the values of all parameters are filled (i.e. non the missing value "--"). If you still have "--" for some parameters, fill their initial estimates (a middle value between lower- and upper bounds).
4) You can check the current goodness of parameters visually by pressing Chi^2 button. If the curve is good enough, you can run fitting by pressing "Fit until converged" button.

Hope the above explanation is helpful.

--Hideo Fujii
OriginLab

P.S. You cannot use [...] in the definition of your user-defined function, and you have to use (...), instead. Therefore, you can define, say by Fitting Function Organizer (or Fitting Function Builder in ver. 8.5.1).
y = A - B * (1 - exp(-C * sqrt(x)))

Edited by - Hideo Fujii on 07/29/2011 5:03:19 PM
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