Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Logarithmic Regression By Hand

  1. Dec 1, 2013 #1
    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?
  2. jcsd
  3. Dec 2, 2013 #2


    User Avatar
    Science Advisor

    Well, this is a linear equation in x'=ln(x). So you could do a linear regression of y vs x'.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Logarithmic Regression Hand Date
Line of best fit - for logarithmic-like dataset Aug 4, 2014
Skewness, logarithm and reversing in statistics Apr 28, 2013
Logarithmic regression Mar 29, 2011
Natural logarithm of x Jan 18, 2011
Logarithm Question Dec 8, 2009