+ Reply to Thread
Results 1 to 6 of 6

R Squared for multiple independent Variables

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    R Squared for multiple independent Variables

    Hi,

    R Squared for single variable can be easily apply whereby =RSQ(Known_y's, Known_x's) =RSQ(A1:A10,B1:B10).

    However, If I have column C for 2nd variables, =RSQ(A1:A10,B1:C10) is not working.


    can anyone help?
    1. Thank those who have helped you by clicking the Star * below the post.
    2. Please mark your post [SOLVED] if it has been answered satisfactorily.

    Sincerely,
    Farid

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: R Squared for multiple independent Variables

    You can use the following normally-entered formula (just press Enter, as usual):

    =INDEX(LINEST(A1:A10,B1:C10,TRUE,TRUE),3,1)

  3. #3
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: R Squared for multiple independent Variables

    Hi joeu,

    Thanks a lot. Just curious, in case I have 3 independent variables or more than 3, which part need to be changed?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,990

    Re: R Squared for multiple independent Variables

    According to the documentation the R square value will always be in the first column of the third row, so that changing the number of vectors (columns in this case) of x values is all that is needed.
    Examples: for 3 independent variables use: =INDEX(LINEST(A1:A10,B1:D10,TRUE,TRUE),3,1)
    and for 4 independent variables use: =INDEX(LINEST(A1:A10,B1:E10,TRUE,TRUE),3,1)
    Let us know if you have any questions (hopefully one of the mathematicians will pick up).
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: R Squared for multiple independent Variables

    Hi JeteMC,

    Thank you very much.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,990

    Re: R Squared for multiple independent Variables

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Scheduling - Independent Variables
    By ihaque in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-13-2016, 05:13 PM
  2. Scheduling - Independent Variables
    By ihaque in forum Excel General
    Replies: 2
    Last Post: 04-13-2016, 02:07 PM
  3. [SOLVED] Calculating Sum of count of 2 variables squared per row
    By ChemistB in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-09-2015, 11:50 AM
  4. Replies: 0
    Last Post: 02-13-2014, 11:42 AM
  5. Data Validation with Multiple Independent Variables
    By tdames in forum Excel General
    Replies: 1
    Last Post: 09-04-2013, 01:06 PM
  6. Replies: 4
    Last Post: 12-29-2010, 01:02 PM
  7. [SOLVED] how to look up values with two independent variables
    By charlesfung in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2006, 10:35 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