Solution: Perform Analysis of Covariance (ANCOVA) and Plot

Let's look at the solution of the previous exercise.

We'll cover the following

Solution

As we mentioned while giving the exercise, the assignment consists of two steps:

  1. We need to pick a pair of continuous variables.
  2. We need to use predict() to plot it.

Get hands-on with 1200+ tech skills courses.