+ Reply to Thread
Results 1 to 3 of 3

multiple variables regression

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2021
    Posts
    114

    multiple variables regression

    I have a data set of 4 * 10.

    I would like to establish a relationship y = f(X1,X2,X3) - linear, power etc etc with the respective R2.

    Are there macros available for this ?

    Many thanks.

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

    Re: multiple variables regression

    I don't think I've seen generic, robust "macros" for this. Most macros for this are specific to a project or spreadsheet.

    If the relationship is "linear" [in the linear algebra sense, meaning v(y)=a1*f1(x1)+a2*f2(x2)+a3*f3(x3)+... kind of relationships], then you can simply use the LINEST() function to do a basic least squares regression http://office.microsoft.com/en-us/ex...005209155.aspx No macros necessary for the basic regression.

    If there are any "non-linear" parts of the function, or you want an objective function (OF) other than a least squares OF, you will need to use a numerical algorithm like Solver to obtain the coefficients. Again, no macros necessary for the basic regression.

    If you need more help, we will need a more specific example of what you are doing.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2021
    Posts
    114

    Re: multiple variables regression

    Quote Originally Posted by MrShorty View Post
    I don't think I've seen generic, robust "macros" for this. Most macros for this are specific to a project or spreadsheet.

    If the relationship is "linear" [in the linear algebra sense, meaning v(y)=a1*f1(x1)+a2*f2(x2)+a3*f3(x3)+... kind of relationships], then you can simply use the LINEST() function to do a basic least squares regression http://office.microsoft.com/en-us/ex...005209155.aspx No macros necessary for the basic regression.

    If there are any "non-linear" parts of the function, or you want an objective function (OF) other than a least squares OF, you will need to use a numerical algorithm like Solver to obtain the coefficients. Again, no macros necessary for the basic regression.

    If you need more help, we will need a more specific example of what you are doing.
    Mr Shorty,

    Noted and thanks.

    I am studying some companies' annual reports and would like to find a relationship between Free Cash Flow and parameters like sales, earnings, return on equity, Price/Earning, Price/Sales etc.

    Cheerio.

+ 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