Before revision:  An algorithm based on stochastic optimization is proposed to estimate a model for repeated surveys when  conjugate priors are no longer available . Guidance on selecting the number of classes is also provided.
After revision:  An algorithm based on stochastic optimization is proposed to estimate a model for repeated surveys when conjugate priors are not appropriate . Guidance on selecting the number of classes is also provided.