This is the first time I've used proc glimmix procedure in SAS. Here's the basics: we are looking to use both indivdiual student health/demographic data and school-level geographical/size data to predict school performance. The data sources are two-fold, the first a stratified, clustered random sample of third-graders were taken to provide the individual-level data. That data was then merged with data from the state department of education on school performance indicators. My question is, how do you handle the strata and cluster variables in proc glimmix most effectively. Some sites have suggested just running both of those variables in a random statement, some suggest using the strata variable in the random statement and the cluster variable in the subject option of the random statement. I get this error when doing the latter: "ERROR: Integer overflow on computing amount of memory required." I think this is occuring because of the large number of options, then, in the random statement (there are 377 levels of the cluster variable, over a 100 options in the strata variable). I'm not sure how to fix this. To make matters even more complicated, we're interested in running stratified regression models based upon whether the school had a school-based program of interest. Here's the current code I have, where strata09_n is the strata varaible and buildingirn is the cluster variable and sealprog is the school-based program of interest: Option 1: Proc glimmix data= a; *final model; class ctytype untx ow2 strata09_n buildingirn; model perfindex = lowincome racialmin untx ow2 ctytype enrollment3 / solution; weight finalweight; random strata09_n buildingirn / solution; lsmeans ow2/ilink cl; lsmeans untx/ilink cl; where sealprog = 0; *where sealprog = 1; run; Option 2: Proc glimmix data= a; *final model; class ctytype untx ow2 strata09_n buildingirn; model perfindex = lowincome racialmin untx ow2 ctytype enrollment3 / solution; weight finalweight; random strata09_n / subject=buildingirn solution; lsmeans ow2/ilink cl; lsmeans untx/ilink cl; where sealprog = 0; *where sealprog = 1; run; Any advice/thoughts?
... View more