Results 1 to 8 of 8

Math Help - Method of Least Squares

  1. #1
    Member
    Joined
    Apr 2008
    Posts
    204

    Method of Least Squares

    The following relationship is thought to exist between a response
    y and a predictor x" alt="x" />:

    y
    = ae^x" alt="ae^x" />.

    For a sample (
    x_{1}" alt="x_{1}" />, y_{1}), . . . , ( x_{n}" alt="x_{n}" />, y_{n}), use the method of least squares to determine an estimator for a.

    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Apr 2008
    Posts
    204
    The following relationship is thought to exist between a response y and a predictor x:

    y = ae^x.

    For a sample (

    x_{1}, y_{1}), . . . , ( x_{n}, y_{n}), use the method of least squares to determine an estimator for a.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Apr 2008
    Posts
    204
    Please if ANYONE can give ANY help I would be sooo grateful!!!please!!
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by wik_chick88 View Post
    The following relationship is thought to exist between a response y and a predictor x:

    y = ae^x.

    For a sample (


    x_{1}, y_{1}), . . . , ( x_{n}, y_{n}), use the method of least squares to determine an estimator for a.
    \ln y = \ln \left( a e^x \right) = \ln a + \ln e^x = \ln a + x.

    So get a least squares regression line for \ln y versus x and use it to estimate the value of a.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member
    Joined
    Apr 2008
    Posts
    204
    Quote Originally Posted by mr fantastic View Post
    \ln y = \ln \left( a e^x \right) = \ln a + \ln e^x = \ln a + x.

    So get a least squares regression line for \ln y versus x and use it to estimate the value of a.
    how do i calculate the least squares regression line?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by wik_chick88 View Post
    how do i calculate the least squares regression line?
    You go to your classnotes or textbook, find the relevant formulae and then substitute the appropriate data into those formulae. Alternatively, you enter the data into a calculator or software package and let the technology do it for you.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Member
    Joined
    Apr 2008
    Posts
    204
    Quote Originally Posted by mr fantastic View Post
    You go to your classnotes or textbook, find the relevant formulae and then substitute the appropriate data into those formulae. Alternatively, you enter the data into a calculator or software package and let the technology do it for you.
    thanks so much for your help my classnotes are very unhelpful but i looked it up on the internet and i worked out the least squares regression line to be:

    y = 0.45646x - 0.34665

    can you tell me if this is right?

    also, what do i do from here?
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by wik_chick88 View Post
    thanks so much for your help my classnotes are very unhelpful but i looked it up on the internet and i worked out the least squares regression line to be:

    y = 0.45646x - 0.34665

    can you tell me if this is right?

    also, what do i do from here?
    If you correctly inputted the correct data into the formula then your line will be correct (you inputted ln y and x, yes?).

    From my first post, \ln a = -0.34665 \Rightarrow a = \, ....

    By the way, things don't look so good ..... Your model predicts that the line of best fit of ln y versus x should have a gradient close to 1 ........ So either:

    1. You've made a mistake.

    2. Perhaps you should be using a model y = a e^{bx} ........ In which case your best estimate for b is b = 0.45646 (assuming your line is correct).

    3. Your data is terrible.

    4. Your model is terrible (see 2.)
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Method of Least Squares
    Posted in the Calculus Forum
    Replies: 7
    Last Post: April 27th 2011, 06:05 AM
  2. Replies: 1
    Last Post: December 11th 2010, 11:16 PM
  3. Help please--->Method of Least Squares
    Posted in the Algebra Forum
    Replies: 1
    Last Post: April 14th 2010, 11:06 AM
  4. How To Find "n" For Method Of Least Squares?
    Posted in the Calculus Forum
    Replies: 1
    Last Post: April 7th 2010, 12:49 AM
  5. Replies: 0
    Last Post: November 30th 2009, 05:18 AM

Search Tags


/mathhelpforum @mathhelpforum