dear Mr. Paigemiller as you have replied, i run the code in two different ways. Still i am not getting the required output regression output is generated, but R-squared values are not produced separately. i used the code as follows ods output modelfit=modelfit; proc reg data=stocks; model Y1- Y5= X1 X2; RUN; QUIT; OR proc reg data=stocks; model Y1- Y5= X1 X2; ods output modelfit=modelfit; RUN; QUIT; I am getting the following error in log OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; NOTE: ODS statements in the SAS Studio environment may disable some output features. 73 74 proc reg data=stocks; 75 model Y1- Y5= X1 X2; 76 ods output modelfit=modelfit; 77 RUN; 78 QUIT; WARNING: Output 'modelfit' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used. NOTE: PROCEDURE REG used (Total process time): real time 17.00 seconds cpu time 3.96 seconds kindly help me out thanks in advance
... View more