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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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