RCBD Model Validation
As we did in the last chapter (and when building any model!) it's a good idea to validate the results. We'll examine the Residuals vs. Fitted and Normal Q-Q plots, though now we'll only see a Constant Leverage plot in place of the other two. A good model has a Q-Q plot showing an approximately normal distribution and no clear patterns across blocks or treatments in the others.
We can also look at Interaction plots. We hope to see parallel lines, no matter which of the block or the treatment is on the x-axis. If they are, they satisfy a key assumption of the RCBD model called Additivity.
The nhanes_rcbd
model object from the last exercise has been loaded for you. Examine the results with summary(nhanes_rcbd)
in the console if you need a refresher.
Diese Übung ist Teil des Kurses
Experimental Design in R
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Set up the 2x2 plotting grid and plot nhanes_rcbd
___
___