Choice Modeling - Compare Models
Jump to navigation
Jump to search
How to Create
- Add the object by selecting from the menu Automate > Browse Online Library > Choice Modeling > Compare Models
- In Inputs > Input models select at least 2 choice models
Example
Output Example:
Input Example:
Two or more choice models, similar to below:
Options
Input models At least 2 Choice Models.
Ensemble Whether to create an ensemble by taking the average of the respondent parameters across the models.
Output
- Comparison A table comparing metrics from models (and the ensemble, if selected).
- Ensemble Histograms of respondent parameters, as per the underlying Choice Model outputs.
Additional Properties
When using this feature you can obtain additional information that is stored by the R code which produces the output.
- To do so, select Create > R Output.
- In the R CODE, paste: item = YourReferenceName
- Replace YourReferenceName with the reference name of your item. Find this in the Report tree or by selecting the item and then going to Properties > General > Name from the object inspector on the right.
- Below the first line of code, you can paste in snippets from below or type in str(item) to see a list of available information.
For a more in depth discussion on extracting information from objects in R, checkout our blog post here.
Code
▶ Show Code
▶ Show Code