IniziaInizia gratis

Using residuals (1)

In the next few exercises, you will calculate residuals from a data set that complies with the linear regression technical conditions. For the linear model conditions to hold, the points should be scattered throughout the residual plot with no discernible pattern. Here, the residual plot looks like a scattering of points.

Questo esercizio fa parte del corso

Inference for Linear Regression in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Using hypdata_nice, draw a scatter plot of response vs. explanatory
___
Modifica ed esegui il codice