+ Reply to Thread
Results 1 to 3 of 3

Regression made with LINEST not giving correct value

  1. #1
    Forum Contributor timtim89's Avatar
    Join Date
    01-05-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    141

    Regression made with LINEST not giving correct value

    Hi all,

    My problem is that I have a number of countries for which I have a couple of observations (y,x) on which I want to make a 3th degree polynomium regression. I use the function LINEST and can doublecheck the results by plotting in the observations in a graph and ask for the build-in application to do the regression. I most cases my result is the same as that regression, but for some reason that I cannot figure out, one (Country7) gives me a completely different regression. Want I get using LINEST is obviously not in acordance with the observation. Please take a look at the attachment.

    I would be very happy if someone could figure out, what is wrong.

    Thanks in advance.

    Timo
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,861

    Re: Regression made with LINEST not giving correct value

    The regression itself looks correct to me. I think where you are going wrong is in creating the line chart. If you look at the known_x's that go into each regression (columns Q-U), you will notice that the known_x's for country 7 are different from the known_x's for country 1. However, in rows 16 and 17 where you are putting the data for the line chart data series, you are plotting country 7's known_y's against the same known_x's as country 1. I think your problem will be fixed if you adjust the placement of country 7's known_y values in row 17 so that they correspond to the actual known_x's for country 7 (7,000 should go in D17 and so on).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor timtim89's Avatar
    Join Date
    01-05-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Regression made with LINEST not giving correct value

    Ah that did the trick! Matching the values as you suggested. Perfect, thanks a lot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] trend/linest regression error
    By MrShorty in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-07-2013, 01:16 PM
  2. Regression - Predicting trends with LINEST
    By excelbuddy82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2013, 11:34 AM
  3. Help with multiple regression using LINEST function
    By joe71010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 11:56 AM
  4. [SOLVED] SUMIF not giving me the correct answer
    By Cathy Brausa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2012, 02:05 AM
  5. [SOLVED] End(xlDwon).Row Not giving the correct value
    By WarEagleWire in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-20-2012, 11:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1