Hello,
can anyone help me out. I have attached an Image of a tabulate structure which I have tried but couldn't.
Someone tell me or share the code how to create that.
What does your data look like? We can not give you a code answer if we don't know what your data looks like 🙂
Tabulate is usually used when you want to summarize data. There's nothing indicated in your requirements that show the need for summarization. This would be better suited to PROC REPORT or PRINT.
PROC TABULATE also would need a statistic, here's an example of PROC TABULATE.
proc tabulate data=class;
by sex;
class name age height;
table name*age*height , N ;
run;
What's your "location"? Dept, city or zone, or some combination?
Basically, what you want is a proc print with by.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.