Hi, I have been using proc surveylogistic to analyze a binary outcome variable in a public dataset which requires sample weights. My syntax runs fine when I incorporate the weights and add my variables to the model. However, I actually wanted to build a sequential (hierarchical) model by which I first added covariates, then added my predictor in a second step to see what it adds to the model (in terms of R2) over and above the covariates. The way my model stands now I just see their effect all together which is not good from my theoretical standpoint.
After reading through the website, I see that proc logistic has an option / SEQ for accomplishing this type of model; however, I cannot use proc logistic because of my need for weighting.
Is there a way to conduct a sequential logistic regression using surveylogistic? My only thought is to run separate regressions and just note the change in R2. But as a student, who is very new to statistics and to SAS, I don't know if this is proper to do? Are there other suggestions? Forgive me if the answer is obvious! TYIA.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.