Finding a best fit for the plot

43 Views Asked by At

I have a set of data

  {{0.01`, 0.048210580093612655`}, {0.02`, 
0.04823954678734667`}, {0.03`, 0.04821555471430313`}, {0.04`, 
0.04811564106936836`}, {0.05`, 0.04815182711185681`}, {0.06`, 
0.04800244159194423`}, {0.07`, 0.047987407067919395`}, {0.08`, 
0.04785766284608522`}, {0.09`, 0.047771957661935774`}, {0.1`, 
0.04772401202975343`}, {0.11`, 0.0476528836847016`}, {0.12`, 
0.04757077818998488`}, {0.13`, 0.04752808223718771`}, {0.14`, 
0.04743123828481375`}, {0.15`, 0.047472879479558236`}, {0.16`, 
0.04753933712481332`}, {0.17`, 0.0475047868063725`}, {0.18`, 
0.04757767540247086`}, {0.19`, 0.04759783119112234`}, {0.2`, 
0.04756174676025805`}, {0.21`, 0.04762931320390573`}}

And I'm trying to find a model to plot its best fit, so far, I have managed to come across with two seed, one with function $a\exp[-b (x - c)^8]$ and it produces enter image description here

Another one is $a\exp[-b (x - c)^6] + d \sin(\omega x + \phi)$ , and it produces enter image description here

The second one wasn't that bad but I feel it surely can be improved. Can anyone suggests me a better seed for this model?
I haven't done much this sort of work before, I appreciate any advice!

1

There are 1 best solutions below

3
On

Well, I did a bunch of tries, but I forgot the most basic one. A 6-order polynomial function is probably our best bet, and in fact the result is satisfying. So, with the seed $ax^6+bx^5+cx^4+dx^3+ex^2+fx+g$

and we get

   {a -> -9.30484, b -> -19.5562, c -> 9.04087, d -> -0.72346, e -> -0.073357, f -> 0.00258817, g -> 0.0482028}

Here's the eventual plot

enter image description here

Thanks to anyone who intended to help!