Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Experimental Design in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Set up the 2x2 plotting grid and plot nhanes_rcbd
___
___
Code bewerken en uitvoeren