Then you are not using the data that you attached in your first post. With those data, there are no warnings with the code you show. In the data you attached, there are 8 distinct response levels, and fitting the full model on all those levels with that small amount of data is not remotely feasible. So, you have to consider what you CAN do. If you combine the response levels down to three levels as done by the DATA step I gave, then you can fit the main effects model and you can even treat WEEK as categorical if you want. And the results show that WEEK is not significant, VARIETY is significant, and HARVEST is marginally significant. If you are willing to drop WEEK from the model, then you can fit the model with VARIETY and HARVEST and their interaction IF you assume that the multiple parameters on each of those model effects on the two logits are same... that is, that the two HARVEST parameters on the two logits are the same and similarly for VARIETY and the interaction. That can be done using the EQUALSLOPES option. (You can even test that equality assumption by also using the UNEQUALSLOPES= option in turn for each of the model effects which seems to show that the assumption is reasonable to the extent that the data can detect it). That model fits without error and shows that the HARVEST*VARIETY interaction is also not significant. So, if you again accept that it has no effect and drop it from the model, that leaves a model with just the HARVEST and VARIETY main effects. (You can play the same game of checking the equal parameters assumption for both effects in that model, and again the assumption seems reasonable). The equal slopes model on just HARVEST and VARIETY as done below again indicates that VARIETY is significant and HARVEST is marginally significant.
proc logistic data=one;
class harvest variety / param=glm;
model y=harvest variety / link=glogit equalslopes;
run;
... View more