Is there any macro which can give an exploratory analysis for a dataset and create a dataset for all variable at once, char or numeric both.Whatever not applied for char that will be blank
like
Label-Variable name
Type- i.e. char/date/num
length-length of variable
no of record
nmiss
how many unique value
mean
median
mode
std dev
p value etc
If you search over at lexjansen.com for terms like "data dictionary" and "codebook" I think you'll find plenty of user group papers that present macros to do this sort of reporting.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.