Results 1 to 10 of 10

trend/linest regression error

Threaded View

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

    trend/linest regression error

    This is a fairly simple section of a spreadsheet I use to find a point on a line defined by two points. I use the =TREND() function for this. I had never noticed this before (maybe because I have been using version 2002 until about a week ago), but on occasion, the TREND() function will return an incorrect result. The behavior I am describing is illustrated in the attached spreadsheet.

    Explanation of spreadsheet.

    input data for the functions is in columns A through E. In order to understand what the TREND function was doing, I calculated the slope and intercept using both LINEST() and the separate SLOPE and INTERCEPT functions. I observe that LINEST() appears to force slope=0 for some reason. I'm guessing that it is somehow detecting "co-linearity" and consequently declaring the slope 0. I know when I first read that MS had introduced this co-linearity test into the LINEST() function that I was concerned that it would occasionally falsely/erroneously detect co-linearity.

    I'm not sure that I really need anyone to propose a solution -- the obvious solution is to use the algebraic function in column Q or use the SLOPE()/INTERCEPT() functions instead of TREND()/LINEST() in this case. What I'm interested in is 1) does this only occur in this one installation of Excel (I will test this tomorrow at work on both 2007 and 2002)? 2) Has anyone else experienced situations where these co-linearity tests have erroneously detected co-linearity and forced needed coefficients to 0?
    Attached Files Attached Files
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with multiple regression using LINEST function
    By joe71010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 11:56 AM
  2. Using LINEST and TREND with a dynamic range
    By bn8959 in forum Excel General
    Replies: 0
    Last Post: 02-11-2012, 11:37 AM
  3. [SOLVED] Want to use trend() and linest() but some cells are empty, #N/A, o
    By ACcompressor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2006, 07:55 PM
  4. [SOLVED] LINEST, LOGEST, GROWTH or TREND??
    By NlCO in forum Excel General
    Replies: 1
    Last Post: 08-23-2005, 08:05 AM
  5. [SOLVED] How to clear "linest ( ) function error " in regression analysis?
    By dev in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 08-21-2005, 04:05 PM

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