Author |
Topic |
|
helporigin8
29 Posts |
Posted - 01/09/2018 : 09:30:09 AM
|
Please, can someone tell me how to plot 95% confidence bands for user defined function? This option works fine for all functions except for those that I defined. What could be the problem?
Thanks A. |
|
arstern
USA
237 Posts |
Posted - 01/09/2018 : 10:36:07 AM
|
Hi,
You should be able to select the confidence bands in the nonlinear fit dialog under the Settings tab -> Fitted Curves tab.
Aviel OriginLab |
|
|
helporigin8
29 Posts |
Posted - 01/09/2018 : 10:46:12 AM
|
Yes, I am able to select it, but as a result, when I use my function (that has similar shape as Gaussian) I always get empty columns for confidence bands values. But when I use Gaussian instead, program generates it normally. |
|
|
arstern
USA
237 Posts |
Posted - 01/09/2018 : 3:16:04 PM
|
Hi,
Could you please send your .opj project file and fitting function file to tech@originlab.com.
The example I showed above is an example where I was able to apply a user-defined fitting function and obtain the xy values for the confidence bands. Taking a look at how you are setting up the fitting function might help.
Thanks Aviel OriginLab |
|
|
helporigin8
29 Posts |
Posted - 01/10/2018 : 05:33:28 AM
|
I have sent files to email. Thank you |
|
|
arstern
USA
237 Posts |
Posted - 01/10/2018 : 09:58:07 AM
|
Hi,
What version of Origin do you have? I recommend trying Origin 2018 to see if you still get this error. You can download and install a 21 day evaluation license here: https://www.originlab.com/demodownload.aspx
One thing you might try is changing the parameters. In Origin 2018, when I used your fit parameter settings, the fit succeeded and Origin filled the confidence band columns, however the fit does not look like a good fit.
When I changed the parameter initial values which was automatically determined by Origin, the fit seems more accurate.
-Aviel |
|
|
helporigin8
29 Posts |
Posted - 01/11/2018 : 05:38:48 AM
|
Thank you. I will try to use Origin 2018. Now, I would like to use this function in Peak Analyzer. But it is not listed there... |
|
|
arstern
USA
237 Posts |
Posted - 01/11/2018 : 3:16:31 PM
|
Hi,
When a fitting function is created, the function is added to the User Defined fitting function folder. To move this to the PFW (Peak Functions Wizard) fitting folder: Open the Fitting Function Organizer by selecting Tools-> Fitting Function Organizer or select F9.
With the Fitting Function Organizer open-> Select the dropdown tab for the User Defined folder. Right-Click the defined function that you want to use in the Peak and Analyzer and select Share To.
With the Share Dialog open, select the dropdown tab and choose PFW. Select OK.
The fitting function should be now also viewed in the PFW folder and ready to use in the Peak Analyzer.
Thanks Aviel
|
Edited by - arstern on 01/11/2018 3:27:43 PM |
|
|
helporigin8
29 Posts |
Posted - 01/12/2018 : 06:59:35 AM
|
Thank you! :) |
|
|
|
Topic |
|