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

  • venerdì 19 febbraio 2010 10:50
     
     
    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?

Tutte le risposte

  • venerdì 19 febbraio 2010 23:40
     
     Con risposta
    You have to calculate them yourself.
    ______________________________
    Jamie MacLennan
    CTO
    Predixion Software, Inc. jamiemac@predixionsoftware.com
  • sabato 20 febbraio 2010 08:21
    Moderatore
     
     Con risposta

    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
  • domenica 6 maggio 2012 06:47
     
     

    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