I am doing a regression on two variables x and y. And I have two approaches:
- assume the mean of y is in the form: $g(x;\alpha,\beta)=\alpha \rm{exp}(\beta x)$. Then use least squares solution to find the parameters.
- conduct a linear regression of log(y) over x directly and find the least squares solution to intercept and slope.
Can anyone tell me which approach is in general better or it's YMMV case? Thanks!