Adding asterisks based on P-values. When you do statistical procedures in SAS and use ODS you can save results in SAS data sets. Such data contains P-values, so you can create a new variable that indicates statistical significance using *. These below have to happen in data steps. Example 1 length sig $ 4; if probz < .1 then sig="*"; if probz < .05 then sig="**"; if probz < .01 then sig="***"; if probz < .001 then sig="****"; if probz < -999 then &var1.sig=""; Example 2 (when using macro) length &var1.sig $ 4; if probz < .1 then &var1.sig="*"; if probz < .05 then &var1.sig="**"; if probz < .01 then &var1.sig="***"; if probz < .001 then &var1.sig="****"; if probz < -999 then &var1.sig=""; You can put this underneath a table that you create. Note. * p < .10, ** p < .05, *** p < .01, **** p < .001 ************** ************** ************** ************** HERE IS A SAMPLE SYNTAX. See how I used ODS statement in PROC MIXED to save results in SAS data sets. ************** ************** ************** ************** proc mixed data=std2 covtest noclprint ; class DSCHCD schooltype ; model &outcome =GRADE sfemale noneng momcollg minority grade /solution ddfm=bw ; random intercept &var1 /sub=DSCHCD s; ods output solutionF=XX&var1 CovParms=XXC&var1; run; data B&var1; retain stat &var1.estimate &var1.sig; set XX&var1; if effect="&var1"; length &var1.sig $ 4; &var1.estimate=estimate; if probt < .1 then &var1.sig="*"; if probt < .05 then &var1.sig="**"; if probt < .01 then &var1.sig="***"; if probt < .001 then &var1.sig="****";if probt < -999 then &var1.sig=""; stat="Effect "; keep &var1.estimate &var1.sig stat; run; data BC&var1; retain stat &var1.estimate &var1.sig; set XXC&var1; if covparm="&var1"; length &var1.sig $ 4; if probz < .1 then &var1.sig="*"; if probz < .05 then &var1.sig="**"; if probz < .01 then &var1.sig="***"; if probz < .001 then &var1.sig="****"; if probz < -999 then &var1.sig=""; &var1.estimate=estimate; stat="Variance"; keep &var1.estimate &var1.sig stat; run; data BOTH&var1; retain outcomes; set B&var1 BC&var1; length outcomes $ 30; Outcomes ="&taitoru"; run;