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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 769 views
  • 0 likes
  • 2 in conversation