BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Bogdan
Calcite | Level 5

The idea is that you can have a dataset with many variables so it would take much time writing each one by one.

How can you add all variable names from a dataset to a matrix, without explicitly writing each one by one ?

If there is no such defined option  (e.g. within use/read/close options), then is there a trick to do that?

1 ACCEPTED SOLUTION
1 REPLY 1

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 1 reply
  • 993 views
  • 0 likes
  • 2 in conversation