Stata: Data Analysis and Statistical Software
   >> Home >> Resources & support >> FAQs >> R-squared after xtgls

Why does xtgls not report an R-squared statistic?

Title   R-squared after xtgls
Author Allen McDowell, StataCorp
Date April 2003

The R-squared statistic is an ordinary least squares (OLS) concept that is useful because of the unique way it breaks down the total sum of squares into the sum of the model sum of squares and the residual sum of squares. When you estimate the model’s parameters using generalized least squares (GLS), the total sum of squares cannot be broken down in the the same way, making the R-squared statistic less useful as a diagnostic tool for GLS regressions. Specifically, an R-squared statistic computed from GLS sums of squares need not be bounded between zero and one and does not represent the percentage of total variation in the dependent variable that is accounted for by the model. Also, eliminating or adding variables in a model does not always increase or decrease the computed R-squared value.

Bookmark and Share 
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Like us on Facebook Follow us on Twitter Follow us on LinkedIn Google+ Watch us on YouTube
Follow us
© Copyright 1996–2013 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index   |   View mobile site