This article describes how to go from a Latent Class Choice Model, Hierarchical Bayes, or Ensemble of Models output created in Displayr:
- A document containing a Latent Class or Hierarchical Bayes Choice Model or Ensemble of Models output created in Displayr.
- Select the Latent Class Choice Model output in your document.
- From the object inspector, click SAVE VARIABLE(S) > Proportion of Correct Predictions.
- A new variable will appear in the data set.
Proportion correct information is not able to be saved to a variable for models with simulated data and models created using a CHO data file where respondent IDs were not specified.
Prediction accuracy is measured in terms of the proportion of a respondent's questions in which the best alternative was correctly predicted. If cross-validation is used, the predictions are made on only the holdout (out-of-sample) questions. Otherwise, predictions are made on all of the respondents' questions.
McLean, M. W. (2018, July 24). How to Use Hierarchical Bayes for Choice Modeling in Displayr [Blog post]. Accessed from https://www.displayr.com/how-to-hierarchical-bayes-choice-model-displayr/.