BookmarkSubscribeRSS Feed
MisoLee
Calcite | Level 5

Hi!

I have a survey sample with complex sampling design. So suppose I have to use commands like "proc surveyfreq" to get estimates. However, the dependent variable of interest is a dichotomous indicator reflecting rare events (e.g. smoking). For example, only 20 of 20000 students are smokers. I want to see how other factors (e.g. gender) influence the likelihood of being a smoker. Is there any method to deal with this kind of data? If yes, any special issue I should pay attention to? Thank you!

1 REPLY 1
ballardw
Super User

Surveylogistic or Surveyreg are probably good starting points. Assuming predominately class type data for most of the independent variables, gender, ethnicity, race then mostly Surveylogistic.

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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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