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

Hi All,

 

I am currently working on an analysis with a binary outcome. I have a dataset in which some of the variables I want to include in the model were measured at the zipcode level. Meaning patients in the same zipcodes would have the same values. How do I account for this in my logistic regression model? 

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ
Fit the logistic model in PROC GEE. See the Generalized Estimating Equations example in the Getting Started section of the GEE documentation.

View solution in original post

2 REPLIES 2
StatDave
SAS Super FREQ
Fit the logistic model in PROC GEE. See the Generalized Estimating Equations example in the Getting Started section of the GEE documentation.
derbygun
Fluorite | Level 6

Okay, thank you.  I wanted to ask what the repeated measure would be in this case. I am confused if it would be the zip code or the person_id.  in my dataset, patients in the same zipcodes were assigned the same values for the variables I am interested in 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 491 views
  • 1 like
  • 2 in conversation