Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

4 parameter curvefit

So I am trying to create a 4 parameter curvefit and fail.

Here is my data:

LogConc, Conc, Signal
-4.031984286, 0.0000929, 92.14734416605359
-4.809668302, 0.0000155, 97.05991086761192
-5.588380294, 0.00000258, 98.5355562414914
-6.366531544, 4.3e-7, 73.4012272963174
-7.144480844, 7.17e-8, 41.570778854406925
-7.924453039, 1.19e-8, 4.269630186951613
-8.701146924, 1.99e-9, 2.3823832448827233
-9.478861916, 3.32e-10, 21.11977788084777
-10.25727487, 5.53e-11, -3.740712218784242
-11.03526908, 9.22e-12, 7.807927421205066

Here is the costum formula I am using:

y = A + ((B-A)/(1+((C/x)^D)))

With the initial values:

A = 0
B = 100
C = 1
D = 0.1

As explained here

Now, in Chart Studio it looks like this:

The parameters don’t look like they are fitted? And where is my fitted curve?

1 Like