+ Reply to Thread
Results 1 to 6 of 6

Graph of three variables and trendline equation

  1. #1
    Registered User
    Join Date
    05-21-2018
    Location
    india
    MS-Off Ver
    2016
    Posts
    3

    Graph of three variables and trendline equation

    I want to plot a graph of three variables and to add trenline to it.
    PRESSURE HEAD
    A(cm)
    1) 76
    2) 68
    3)51.5
    4) 40
    5) 28
    B (cm) PRESSURE HEAD
    1) 73
    2) 65
    3) 48.5
    4) 37
    5) 24
    V(m/s)VELOCITY
    1) 0.30
    2) 0.29
    3) 0.26
    4) 0.24
    5) 0.19 5) 0.19 Untitled.png
    i want to plot a graph and to get equation of 'V' IN TERMS 'A' AND 'B'
    I tried but didnt get it.
    Plz help
    Last edited by suchitkolpe; 05-21-2018 at 06:30 AM. Reason: ELABORATION OF PROBLEM

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    2,006

    Re: Graph of three variables and trendline equation

    Want to get your question answered quickly?
    Ensure your question is not too vague. Don't assume anyone is familiar with your problem. While you can upload small attachments, describe your problem in the body of the post. We are fortunate to have several Excel gurus, but few mind-readers.
    On the other hand, skip irrelevant details. Be descriptive and concise. Short, direct, and to-the-point questions with apt thread titles are almost always answered promptly.
    Keep the scope reasonably narrow. Questions like, "How do I set up an accounting system in Excel?" might be a long time waiting.
    Explain what you've already tried. ("Calculation is set to automatic, but formulas still don't compute") so helpers don't waste your time or theirs.
    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, click Go Advanced below the text edit window, scroll down and click the Manage Attachments link, browse to the required file, and then push the Upload button, then Close Window to return to your post. (The "paper clip" icon for attachments is not currently working.)
    If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    12,346

    Re: Graph of three variables and trendline equation

    The chart trendlines cannot regress against more than one independent variable, so you will need to do your regression in the spreadsheet.

    Assuming your desired regression is "linear" or "linearizable" (all of the chart trendline types are linear equations), then you can use the LINEST() function https://support.office.com/en-us/art...a-fa7abf772b6d Assuming your table in the OP is A1:C6, a formula like =LINEST(C2:C6,A2:B6,TRUE) will output the best fit plane for that data (V=m1*A+m2*B+c).

    If your desired equation is not linear, then you can use non-linear regression techniques (based on the Solver utility) to perform the regression.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    05-21-2018
    Location
    india
    MS-Off Ver
    2016
    Posts
    3

    Re: Graph of three variables and trendline equation

    i am getting a value from the linest function
    I want that equation (V=m1*A+m2*B+c) to be framed from the available data

  5. #5
    Registered User
    Join Date
    05-21-2018
    Location
    india
    MS-Off Ver
    2016
    Posts
    3

    Re: Graph of three variables and trendline equation

    how to frame a equation between independent and dependent values in multiple regression

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    12,346

    Re: Graph of three variables and trendline equation

    I don't understand the question.

    The LINEST() function should give you the three coefficients m1, m2, and c in three adjacent cells. (recall that LINEST() is an array function and must be entered accordingly -- see instructions in help file).
    Once you have the three coefficients, a simple formula like =[reference to cell containing m1]*[reference to cell containing A]+[reference to cell containing m2]*[reference to cell containing B]+[reference to cell containing c] should be all that is needed to compute V as a function of A and B.

+ 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. Equation with variables into a line graph
    By AveryGray in forum Excel General
    Replies: 3
    Last Post: 09-12-2017, 05:40 PM
  2. Replies: 2
    Last Post: 11-03-2014, 08:04 PM
  3. Excel prints wrong trendline equation on graph
    By justyna-whitney in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-19-2013, 06:13 PM
  4. Scatter graph linear trendline and equation to find unknown
    By S_9 in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 05-09-2013, 08:26 PM
  5. Replies: 3
    Last Post: 03-06-2011, 01:38 PM
  6. graph an equation with 2 independent variables
    By jcavigli in forum Excel General
    Replies: 0
    Last Post: 06-30-2009, 02:48 PM
  7. How to link trendline equation in graph to cell?
    By rossgus in forum Excel General
    Replies: 1
    Last Post: 08-08-2005, 10:05 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