I am currently working with the HSLS:09 survey data. This dataset combines data from four mains surveys (students, parents, math teachers and science teachers). Each one of these surveys has a different analytical weight associated with them. My logistic analysis uses variables from all these surveys. Do you know how can I incorporate these different survey weights in the PROC SURVEYLOGISTIC or another procedure?
Can anyone help me with this? I am really struggling.
I've never personally done it, but I believe you can use proc glimmix with logistic assumptions.
proc glimmix data= survey;
class dv;
model dv = iv1 iv2 / dist=binomial link=logistic obsweight=weightvariable oddsratio solution;
run;
If binomial doesn't work, it might be bernoulli, which will give the same result. I can't remember if glimmix allows both.
Register Today!
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.