cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Hi everyone, I would like to fit my data with the function describe on the file

ptc-4749353
1-Visitor

Hi everyone, I would like to fit my data with the function describe on the file

Please can you tell me what is wrong in my thinking to solve my problem. which is fit my data with the function which is describe in the file.

Thank you

37 REPLIES 37
Werner_E
25-Diamond I
(To:ptc-4749353)

Again your fit function seems to be cause for the problem - are you really sure about f? I think you cannot ask for a good fit with that function. But then, I may be wrong. If that function has a specific meaning to you, you should know where to search for appropriate guess values, too.

I have gone through the trouble of looking what your function f really looks like. And while it seems on first glance that you have three independent parameters to vary, on closer look we see that there are only two, none of them being a multiplicator of t, either.

Here is what you function basically looks like, below what I think it should look

fit4.png

fit5.png

First of all, I don't undertand why you choose to simplify the expression instead to evaluate it. what is the difference between the two operations (simplify and evaluate) and I also want to remind you that when we have used the same function previoulsly to fit the same data but the difference is that in the previous data, the data was: intensity function of time but now the that is intensity function of potential and this is why the figure turns.

I hope that now you undertand well.

Werner_E
25-Diamond I
(To:ptc-4749353)

Patrick Seumo schrieb:

First of all, I don't undertand why you choose to simplify the expression instead to evaluate it.

I just wanted to see what your function really looks as a couldn't see it from your complex definitioins with all those variables. BTW, You did that yourself. I additionally used the format result menu you reduce the numer of shown decimals. You cannot evaluate the function definition numerically as of the parameters.

remind you that when we have used the same function previoulsly to fit the same data but the difference is that in the previous data, the data was: intensity function of time but now the that is intensity function of potential and this is why the figure turns.

I hope that now you undertand well.

I remember that the first fit was average but your second example didn't find a good fit. I am not looking at what the data might represent - I am looking at the function you try the data to fit (the yellow one) and can not image to achieve a fit with it. Of course I may be wrong but then you would have to spend quite some time playing around with guess and TOL values.

Why do you think your fit function should work for the exact data you had provided? Where do you have it from? Could you check it again against the source.

Your function is different in each case. Tell me what this equation means, comes from thermodynamics or what?

this equation comes from the kinetic of electrochemical reaction at the electrode surface

Sure you had bad model equation. Check them carefully again. Because now when this equation can not be extrapolated.

Sorry bad english

Werner_E
25-Diamond I
(To:jkowalski)

Jan Kowalski schrieb:

Sure you had bad model equation.

I second that! The variable t exists only two times in an expression exp(0.2*t). Ther should be a variable (and to be fitted) factor here to allow for scaling in absicissa direction.

Werner_E
25-Diamond I
(To:ptc-4749353)

Patrick Seumo schrieb:

this equation comes from the kinetic of electrochemical reaction at the electrode surface

I urge you to check it again and to look if it really should apply to the specific data you are trying to fit.

Two other points which may help, as soon as you had found a correct and suitable function for f, are to decrease the value of TOL (your I-values are very small, so genfit could give up too soon) and maybe to throw away data which does not account for the region of the curve you are interested in. In your case I could imagine to restrict the data to values of V from 0 to 0.1. How to do that you can see in the accompanied sheet. Still with the bad function f you don't get a better fit.

Announcements

Top Tags