@Lop wrote:
Dear #Rick_SAS and #PaigeMiller thanks for replying.
So far I tried the option you suggested and I got the same described problem. Perhaps it may be related to the syntaxis I am using.
/*Option 1*/
proc robustreg data=cpro.fstqwom_dum method=mm plots=all ; model inbody_pbf=sittaqdum2 sittaqdum3 sittaqdum4 age bmi waist bsa exerc2 smokdum2 smokdum3 drinkdum2 drinkdum3 jobdum2 jobdum3 jobdum4 jobdum5 jobdum6 jobdum7 jobdum8 jobdum9 jobdum10 jobdum11 jobdum12 jobdum13 / diagnostics leverage (opc mcdinfo) ; output out=robrefsittapbfresw5 weight=wgt ; test sittaqdum2 sittaqdum3 ; run ;
/*Option 2*/ proc robustreg data=cpro.fstqwom_dum method=mm plots=all ; class sdta_quart exerc2 smoking drinking a7_1 ; model inbody_pbf=sdta_quart age bmi waist bsa exerc2 smoking drinking a7_1 / diagnostics leverage (opc mcdinfo) ; output out=robrefsittapbfresw5 weight=wgt ; test sdta_quart ; run ;
Sure would be nice if you showed us the relevant portions of your SASLOG, with error message.
The problem may be that your different categorical variables are perfectly correlated with one another, and so even by reducing the number of dummy variables by 1, or by using the CLASS statement, the matrix still can't be inverted.
... View more