+ Reply to Thread
Results 1 to 2 of 2

Multiple Linear Regression

  1. #1
    Registered User
    Join Date
    11-11-2014
    Location
    Saudi Arabia
    MS-Off Ver
    MS Office 2007
    Posts
    1

    Multiple Linear Regression

    Hello,
    I am trying to run a multiple linear regression using the data analysis add-in. I am selecting a single X input range and 4 separate columns of data to use for the Y range. The Y range columns are next to each other. I am repeatedly getting an error message saying the input range must be a single line or column. I am using Excel 2007. Any help is most appreciated.

    Thanks,
    BK

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

    Re: Multiple Linear Regression

    The way that Excel performs regressions, each call of the regression algorithm can only regress one y=f(x) curve. It sounds like you are trying to get it to regress multiple y=f(x) curves. If you want to do this using the data analysis add-in, you will need to call the add-in 4 times -- once for each of the Y columns.

    This might be one of the real advantages to learning to use the LINEST() function with relative and absolute references (http://office.microsoft.com/en-us/ex...010069838.aspx ). Using the LINEST() function (I usually nest it within a TRANSPOSE() function when I have data in columns like this), you can set the known_y's argument as a relative reference, the known_x argument as an absolute reference, then copy the function across to get the parameters for the four equations.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Replies: 4
    Last Post: 02-10-2014, 04:37 AM
  2. Replies: 0
    Last Post: 02-06-2013, 02:08 PM
  3. Excel 2007 : Non linear regression
    By tiz in forum Excel General
    Replies: 3
    Last Post: 10-19-2011, 09:51 AM
  4. 3-D Linear Regression
    By komonoway in forum Excel General
    Replies: 1
    Last Post: 03-06-2010, 06:37 PM
  5. how do i graph multiple linear regression?
    By enortirol in forum Excel General
    Replies: 0
    Last Post: 02-21-2006, 09:25 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