+ Reply to Thread
Results 1 to 4 of 4

Help with multiple regression using LINEST function

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    2

    Help with multiple regression using LINEST function

    I have ~144K rows of data and need help tweaking the LINEST function to run multiple regression against my data structure.

    Attached is a file with an explanation of what I'm trying to do, but here is a summary:

    On a single row, there are 3 columns with X1 variable results, 3 columns with X2 variable results, and 3 columns with Y results.

    The formula I am trying to use to get X1 and X2 slopes and the intercept is:

    {=LINEST(G1:I1,(A1:C1,D1:F1))}

    The problem is splitting the "Known X's" (A1:C1 and D1:F1) so the function recognizes it as two separate sets of variables.

    Any suggestions?? Thank you very much in advance for the help.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help with multiple regression using LINEST function

    =linest(r4:y4, choose({1;2}, b4:i4, j4:q4))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-17-2013
    Location
    Washington
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Help with multiple regression using LINEST function

    Thank you shg, this is exactly what I was hoping for. Cheers

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help with multiple regression using LINEST function

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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