I was running some exercises on CFA using Mplus and tested two 2 factor models. The only difference was that i was supposed to treat variables used as continuous in one example and as categorical in the other. Then I was instructed to compare AIC and BIC values for both. They were lower for categorical solution. So one would be tempted to go for the model more plausible in terms of AIC and BIC scores. However at the end of the exercise instruction it was stated that the decision to "treat" variables as continuous or categorical should be theory driven... Any example on how theory indicates the aforementioned decision? Thank you