BookmarkSubscribeRSS Feed
K_S
Quartz | Level 8 K_S
Quartz | Level 8

I am analyzing data from a survey that was implemented in multiple countries. I am working with the assumption that the responses from subjects from the same country are more likely to be similar (within country correlation). How do I account for this in proc surveylogistic? Is it possible to account for this in proc surveylogistic?

3 REPLIES 3
SAS_Rob
SAS Employee

What is the sampling design you are working with and what is your current SURVEYLOGISTIC code?

K_S
Quartz | Level 8 K_S
Quartz | Level 8

The data comes from a large international organization and they did not publish their methodology, but shared the data publicly with weights that adjust for over- /under-sampling by age, education, income, etc. . The survey was implemented in several countries and the weights try to ensure that the data from each country are representative of that country. This is all I know. I am aware that it is likely not possible to appropriately estimate the variance and std errors using the available info. I do not yet have a model as I am in the process of determining which method and sas procedure to use. The data is clustered at the country level (i.e, respondents from the same country are more likely to be similar), I assume, hence the need to take clustering into consideration when fitting the model.

SAS_Rob
SAS Employee
Given the information you shared, it *might* be appropriate to use the CLUSTER statement. Not knowing the survey design makes it difficult to know for sure.

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

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 911 views
  • 1 like
  • 2 in conversation