reverse a logarithm

474 Views Asked by At

I have some data which produces the following logarithmic curve. As you can see, the curve produces the exact opposite of what Im trying to achieve (my data is the line with dots, the logarithm is the light blue line). Do I need to turn it into an exponential? Do I need to find the antilog of this equation and if so any ideas on how I might go about this? Is there a way of reversing a logarithm?

enter image description here

Logarithm Regression y = α * ln(x) + β

α: 8.10790887182717 β: -16.816261044713226

1

There are 1 best solutions below

2
On

What you want, what in fact is the "inverse of the logarithm", is an exponential function $$y = P \cdot Q^x$$ for constants $P,Q$. However, you may also need to adjust it in the y-direction (it's hard to read the exact coordinates of your data), so if the above fails try to adapt a curve for $$y = P \cdot Q^x + R$$ for constants $P,Q,R$.