Hello everyone, I am running quantile regression where a simple sas code is like PROC QUANTREG DATA=dataExample; MODEL y=x1 / QUANTILE=0.1 0.3 0.5 0.7; RUN; Here, I want to replace QUANTILE values in proc statement by those that I previously generate as a macro variable from the code below proc sql noprint; select count(*) into :NObs from quants; select G into :q1-:q%let(left(Nobs)) from quants; quit; Now, how I can insert values from q1, q2, ..., q(last) in the proc quantreg statement above. I do not want to do this manually because number of quantiles are keep changing Many Thanks
... View more