How to Perform Logarithmic Regression by Hand?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 6K views
Phox
Messages
36
Reaction score
0
I'm trying to write some code to do a regression on data weight (x) and time (y). As best as I can tell, the model should be y = b1 + b2ln(x), but I don't know how you can do this by hand (I know how to in R...). I also know how to do a simple linear regression by hand.

Can it be done using the least squares method?
 
Physics news on Phys.org