Latent Variable Models Of Categorical Responses In The Bayesian And Frequentist Frameworks