Has someone created manual code to score a dataset using results from proc glm in SAS?
Note: In this study there are two different programs, with 3 versions of two different programs. X01 X02 X03 Y01 Y02 Y03
proc glm data=maindata;
class program_group;
model program_score = prog_group TOBACCO DRUGS ALCOHOL age_on_admit
yrs_in_program stand_test_score
/ solution ss1 ss3;
format program_group $program_group.
;
output out = results predicted=phat r=resid;
ods output parameterestimates = out.program_test_year1;
run;
Do I need to create dummy variables for the 6 different program groups when I run proc glm if I intend to read in the parameter estimates manually and score another dataset?