Hi Thank you for your response. I think I figured out the structure of the code using proctab. HTN is categorical - yes = 1 and no =0 proc format; picture pctf (round) other = '009.9%'; run; proc tabulate data=data1; class educ income HTN tables educ * (HTN *(n pctn*f=pctf.)), (income all); run; BUT I want the frequency of HTN (as an outcome) PER education category (i.e. column percentage but for each category of education) -- pctn or colpctn give me the percentage or column percentage for ALL the education categories.
... View more