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

Hello Forum,

I wonder if there is SAS macro or another way to identify the variable types.   This paper mentions about it but macro is not provided.  Thank you.

http://www2.sas.com/proceedings/sugi28/088-28.pdf

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

What are your rules for defining a variable as continuous or categorical? Usually the NLEVELS option in proc freq comes in handy. And what type of output would you be looking for, i.e. why categorize them in the first place?

View solution in original post

1 REPLY 1
Reeza
Super User

What are your rules for defining a variable as continuous or categorical? Usually the NLEVELS option in proc freq comes in handy. And what type of output would you be looking for, i.e. why categorize them in the first place?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2487 views
  • 0 likes
  • 2 in conversation