SHAZAM Questions and Answers (Q&A) - RSS feedhttp://community.econometrics.com/questions/SHAZAM Econometrics, Statistics and Analytics Communityen<font color="white">Copyright <b>SHAZAM Analytics, 2018</b></font>Fri, 28 Oct 2011 12:41:44 +0000Residual variancehttp://community.econometrics.com/question/225/residual-variance/Hi should I use the following code to save the residual variance:
assuming sample 1 to 20
OLS Y X / PREDICT=YPRED
GENR RES=(Y-YPRED)**2
GEN1 RVAR=(1/(20-1))*Sum(RES)
Maybe i am missing something..I did not get the residual variance.Please help.JackFri, 28 Oct 2011 12:41:44 +0000http://community.econometrics.com/question/225/