BookmarkSubscribeRSS Feed
Susana0000
Fluorite | Level 6

Hello everyone,

I'm trying to create subsets of my variables in groups of 6.

I'm doing this to check that an observation has at least 6 variables that are complete to include in an evaluation.

Should I use ALLCOMB? If so, how? Because I've been seeing a lot of cryptic code and I can't seem to understand it.

Thanks

 

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

I don't understand this. Please be more specific and include both sample data and your desired result.

 

Makes it much easier to provide a usable code answer. 

Reeza
Super User
Typically, variables are columns and observations are rows.

Are you trying to create subsets of observations or variables?
Show us a small example - make fake data if you cannot share your real data. It should cover as many cases as possible, for example cases where all values are missing, where none are missing and everything in between. Show both the input and expected output, ideally they align so that the input would generate a specific output.

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
  • 334 views
  • 0 likes
  • 3 in conversation