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 beliefs follow a dynamic structure and conjugate priors are no longer available . Guidance on selecting the number of classes is also provided.