The SAS Output Delivery System and reporting techniques

I'm not able to get Regression OUTPUT for all all runs of in loop using ODS

Reply
N/A
Posts: 0

I'm not able to get Regression OUTPUT for all all runs of in loop using ODS

%macro runRegH;
ods listing close;
ods OUTPUT FitStatistics(persist=PROC)=Fit ParameterEstimates(persist=PROC)=PAR;
%do I = 1 %to 25;
%do j = 1 %to 25;
Proc reg data=Loreal.Loreal_adstock;
V&i&j: model VL_RSH = Trend WTD HL&i MHL&j;
LogV&i&j: model Log_VRA = Log_Trend Log_WTD HL&i MHL&j;
BY BRANDS Markets;
Run;
%end;
%end;
quit;
%mend runRegH;
Ask a Question
Discussion stats
  • 0 replies
  • 91 views
  • 0 likes
  • 1 in conversation