Neither Code 1 or Code 2 is correct. You need to include Age_group, Income_group, Education, and Gender in the CLASS statement (as in Code 2) as well as in the MODEL statement (Code 1).
The default is PARAM=EFFECT, so you do not need to include that specification unless you just want to.
I hope this helps.
... View more