BookmarkSubscribeRSS Feed
jazambuja
Calcite | Level 5

Hi team,

 
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.
1 REPLY 1
tellmeaboutityo
Obsidian | Level 7

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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 457 views
  • 0 likes
  • 2 in conversation