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

    DrDu

    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 Discussions: Logarithmic Regression By Hand
  1. Logarithmic regression (Replies: 1)

  2. Multiple Regression (Replies: 0)

  3. Regression analysis? (Replies: 11)

  4. Linear regression (Replies: 7)

  5. Logistic Regression (Replies: 1)

Loading...