BookmarkSubscribeRSS Feed
Srigyan
Quartz | Level 8

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

 

 

2 REPLIES 2
Quentin
Super User

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.

BASUG is hosting free webinars ! Check out our recordings of past webinars: https://www.basug.org/videos. Be sure to subscribe to our email list for notification of future BASUG events.
Reeza
Super User
If you have SAS Studio or Enterprise Guide, there's a task called 'Characterize Data' that will do this.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 526 views
  • 1 like
  • 3 in conversation