[Coming soon]
proc glimmix data=train_data absconv=0.005;
model y = &covars /s;
random &z /s type=rsmooth knotmethod=equal(20);
run;
proc glimmix data=test nofit outdesign=test2;
model y=&covars /s;
random &z /s type=rsmooth knotmethod=equal(20);
run;
proc score data=test2 score=beta_fix type=parms out=score_fix;
var &covars;
run;
proc score data=test2 score=beta_random type=parms out=score_random;
var _z:;
run;
Reference:
1. SAS Institute, Statistical Analysis with the GLIMMIX procedure Course Notes, SAS Press, SAS Institute
2. D Rupper, M.P. Wand, R.J. Carroll, Semiparametric Regression, Cambridge University Press, Cambridge, 2003