Choice Modeling - Trace Plots

From Q
Jump to navigation Jump to search
VizIcon Trace Plot.svg

Create a diagnostic plot of the trace of the parameter estimates

Code

var heading_text = "Trace Plot";
if (!!form.setObjectInspectorTitle)
    form.setObjectInspectorTitle(heading_text);
else 
    form.setHeading(heading_text);

form.dropBox({label: "Input", name: "formInput", types: ['RItem:FitChoiceHB,FitMaxDiffHB'], required: true, prompt: "Select a Hierarchical Bayes model output created using Anything > Advanced Analysis > Choice Modeling or Anything > Advanced Analysis > Marketing > MaxDiff"});
choice.model.trace.plots <- TracePlots(formInput)