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-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

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