+ Reply to Thread
Results 1 to 8 of 8

Producing mutivariate statistics in Excel for a known y and known x's

  1. #1
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Producing mutivariate statistics in Excel for a known y and known x's

    Could somebody point me in the right direction for producing multivariate statistics in Excel?

    I was given these functions for bivariate statistics, but I can't seem to find anything for multivariate statistics.

    Parabola: =LINEST(y, x^{1,2})
    Power: =LINEST(LX(y), LN(x))
    Exponential: =LINEST(LN(y), x)
    HTH
    Regards, Jeff

  2. #2
    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: Producing mutivariate statistics in Excel for a known y and known x's

    =linest(a1:a100, b1:d100)

    ai = r*bi + s*ci + t*di + u
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Producing mutivariate statistics in Excel for a known y and known x's

    Thank you shg.

    As I'm thinking about how to implement this, is there anyway to build a range off of user input?

    Example:
    The y's are in B4:B29
    The x's are in column C4:H29
    The user may want to test different x's in the equation, so is there a way to have the user double click in that particular column and only have those ranges added into the known_x's argument of the Linest function?

    For the double click method on row two I'm going to use...

    Please Login or Register  to view this content.

  4. #4
    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: Producing mutivariate statistics in Excel for a known y and known x's

    I'd try to sort this from the UI first, then automate it.

    For example, you could do

    =LINEST(B4:B29, CHOOSE({1,2}, C4:C29, E4:E29))

    You could aggregate the selected columns into an array.

    I don't have time to help on this right now, Jeffrey, but if you hack away, I'll look in ...

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Producing mutivariate statistics in Excel for a known y and known x's

    That sounds good. I'll see what I can come up with.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Producing mutivariate statistics in Excel for a known y and known x's

    Hi shg,

    Thanks again for the lead in the right direction and I have worked out a preliminary way to solve my dilema, but I am going to have to give this much more thought and get some user input to have they want to see it set up. I am going to mark this thread as solved as the OP was answered.

  7. #7
    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: Producing mutivariate statistics in Excel for a known y and known x's

    Depending on the requirement ...

    You could allocate the row above the Marlett checkboxes (which are above the independent values) for coefficients. When a checkbox changes, clear the coefficients row, aggregate the selected x values into an array, run the regression, and then mete out the coefficients to the appropriate columns.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Producing mutivariate statistics in Excel for a known y and known x's

    This sounds like a good option, but not sure on how to write the values into an array. This I will have to look into because the best I could see to do by myself would be to use the Marlett checkboxes to copy a checked column one by one into new columns and then run the Linest off of the new column. Lots of things to consider and test.

+ 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