class rx sex;If you get only a single coefficient for a categorical variable with more than two levels, you probably forgot to include that variable on the class list. For autoregressive error models (AR), the variable specifying the time (or space) of the samples must be included as a class variable.