How to get the r squared value from a linear regression model

Answered How to get the r squared value from a linear regression model

  • Friday, February 19, 2010 10:50 AM
     
     
    Hi,

    I have created a Linear Regression data mining model and I would like to query the model for some values that are typically linked to a linear regression model:

    - R squared
    - Adjusted R squared
    - Standard Errors

    Is it possible to get this values from a DMX query, or do I have to calculate them myself?

All Replies

  • Friday, February 19, 2010 11:40 PM
     
     Answered
    You have to calculate them yourself.
    ______________________________
    Jamie MacLennan
    CTO
    Predixion Software, Inc. jamiemac@predixionsoftware.com
  • Saturday, February 20, 2010 8:21 AM
    Moderator
     
     Answered

    While not exposed directly by DMX, these metrics can be easily calculated using a stored procedure.
    This article: http://www.sqlserverdatamining.com/ssdm/Default.aspx?tabid=102&Id=8 contains a stored procedure that does exactly this.


    bogdan crivat [sql server data mining] / http://www.bogdancrivat.net/dm
  • Sunday, May 06, 2012 6:47 AM
     
     

    Hi All,

    I have same requirment to calulate

    - R squared
    - Adjusted R squared
    - Standard Errors

    but i want to fetch data from cube, can any body tell me,  Using Microsoft  data mining   Linear Regression can we do this calulation.

    Thanks & Regaerds,

    Manish Kumar Verma