+ Reply to Thread
Results 1 to 3 of 3

Solving Nested Multi Variate Polynomial Equation in Excel (Using Linest)

  1. #1
    Registered User
    Join Date
    04-05-2017
    Location
    India
    MS-Off Ver
    2017
    Posts
    1

    Solving Nested Multi Variate Polynomial Equation in Excel (Using Linest)

    Hi,

    Dear forum,

    When doing a polynomial regression with =LINEST for three independent variables, one should use an array after the input-variables to indicate the degree of the polynomial intended for that variable.

    What I would like to do is making a regression for three variables like this:

    The intended model Y = A + (B*X1 + C*X2)(1 + D*X3)

    How should I find the coefficients?

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

    Re: Solving Nested Multi Variate Polynomial Equation in Excel (Using Linest)

    LINEST() requires that your model be in a form Y=a*f1(x1,x2,x3)+b*f2(x1,x2,x3)+c*f3(x1,x2,x3)+... -- in other words, it must be a linear function where the parameters are linear. In this case, when you expand the multinomial, you get B*D and C*D terms which are not truly linear parameters.

    It's possible that, if you spend enough time with the algebra that you can rearrange that into a linear function. However, I would suggest that it might be easiest to approach this using a non-;linear regression algorithm using Solver, rather than trying to coax this into something linear that fits into LINEST(). Would that work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    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: Solving Nested Multi Variate Polynomial Equation in Excel (Using Linest)

    You could regress y = m1 x1 + m2 x2 + m3 x1 x3 + m4 x2 x3 + b using LINEST.
    Last edited by shg; 04-06-2017 at 01:46 PM.
    Entia non sunt multiplicanda sine necessitate

+ 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. Solving an equation in Excel
    By sincerity in forum Excel General
    Replies: 8
    Last Post: 01-17-2016, 12:44 PM
  2. Using LINEST to derive a multiple polynomial equation
    By Richatom in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-08-2014, 09:09 AM
  3. Help with writing polynomial equation in excel
    By el4n in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2012, 10:39 AM
  4. solving a polynomial using excel
    By mpadki in forum Excel General
    Replies: 2
    Last Post: 12-09-2010, 05:50 PM
  5. How to display 4 order Polynomial equation from the Excel in VB6 ?
    By sunlite in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-28-2010, 11:21 AM
  6. Can Excel solve simultaneous polynomial equation?
    By wenlianglo in forum Excel General
    Replies: 0
    Last Post: 03-09-2009, 07:03 PM
  7. Excel Equation Solving...? Critical
    By eyewinkler in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2006, 09:54 AM

Tags for this Thread

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