I have some data. For example
x 1.2 2.8 4.3
y 7.5 16.1 38.9
I wonder how to find $a$ and $b$ of function $y=a*e^{bx}$ that approximates the data with method of least squares.
I have some data. For example
x 1.2 2.8 4.3
y 7.5 16.1 38.9
I wonder how to find $a$ and $b$ of function $y=a*e^{bx}$ that approximates the data with method of least squares.
Take the logarithm of both sides: $$\ln y = \ln a + bx$$
And now use linear regression to find $a$ and $b$.