+ Reply to Thread
Results 1 to 3 of 3

how to get trendlines with 3 variable inputs (x,y,z)

  1. #1
    Registered User
    Join Date
    12-07-2020
    Location
    Singapore
    MS-Off Ver
    2002
    Posts
    2

    how to get trendlines with 3 variable inputs (x,y,z)

    Variable 'z' is a function of variable 'x' and 'y'.

    I have the numerical values for x,y,z. I'm trying to get a trendline equation of it, preferably in polynomial form.
    Any help would be appreciated.

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

    Re: how to get trendlines with 3 variable inputs (x,y,z)

    Have you chosen a regression equation? What do you want your polynomial to look like? Are you familiar with the LINEST() function?

    For a "polynomial" in 3 dimensions, the process I would expect to use:

    1) Arrange raw data in a simple list with single columns for x, y, z.
    2) Add helper columns to calculate each f(x,y) term.
    Please Login or Register  to view this content.
    3) Use the LINEST() function (z column is the known_y argument and your block of fi(x,y) is your known_x argument) to perform the regression. LINEST() help file: https://support.microsoft.com/en-us/...a-fa7abf772b6d
    4) Evaluate the regression.

    Which step do you have trouble with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    12-07-2020
    Location
    Singapore
    MS-Off Ver
    2002
    Posts
    2

    Re: how to get trendlines with 3 variable inputs (x,y,z)

    Hi, I did a research on linest function and it worked just fine! thank you so much for your help!

+ 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] 2-variable Datatable with inputs in two different tabs
    By MagnusNovak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-13-2020, 04:10 PM
  2. [SOLVED] Condition based on 2 variable inputs
    By U5ED in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-29-2018, 04:51 AM
  3. Variable multi inputs for Output
    By BBNNTT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2017, 09:57 AM
  4. Using variable inputs within an array.
    By Doug24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2014, 04:28 PM
  5. [SOLVED] Creating procedures with variable inputs
    By MarmaladeLover in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2014, 12:03 PM
  6. Formula with 3 variable inputs
    By DJ KooPee in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-26-2011, 10:57 AM
  7. INDEX/MATCH with Variable Inputs
    By MaizeMae in forum Excel General
    Replies: 3
    Last Post: 05-30-2010, 12:20 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