residual plots change without re-running the model
PageG opened this issue · 2 comments
PageG commented
Hello,
When I fit a model and then check the residual plots, each time I run the 'plot' command, the residual plots change. I've included two images showing an example of the change when running 'plot' twice on the same model. As you can see, in one plot the residuals look good, in the other they look less good. What's going on here?
BertvanderVeen commented
Thanks for your question! The residuals used in gllvm are randomized quantile residuals, which include a random component (see? residuals for some information) . As such, they will always look different from plot to plot, unless you set a seed.
PageG commented
OK, good to know. Many thanks.