I wrote some code to check my ordinal / clmm models against the data (and to learn to use ggplo2). The function pred() is from clmm tutorial to calculate predictions based on the model. The function plot.probabilities3() is for plotting prediction and distribution form the data. Update: changed extreme subject visualization. Area seemed not appropriateContinue reading “Model–data comparison”
Visualizing random effects when using ordinal package and clmm. This function is based on clmm2 tutorial code and illustrates the effects of each judge taste on evaluating the bitterness of wines.
Update: Added visualizations produced with the scripts Update 2: Updated plot.probabilities() so that response variable can have arbitrary levels I have been using ordinal package to crunch data. Tutorial for mixed models is only for clmm2 and not for clmm. Here are code for visualizing predicted probabilities for clmm. All the code is based on clmm2 tutorial.