IniziaInizia gratis

Comparing residual standard error

The other common metric for assessing model fit is the residual standard error (RSE), which measures the typical size of the residuals.

In the last exercise you saw how including both explanatory variables into the model increased the coefficient of determination. How do you think using both explanatory variables will change the RSE?

mdl_price_vs_conv, mdl_price_vs_age, and mdl_price_vs_both are available; dplyr and broom are loaded.

Questo esercizio fa parte del corso

Intermediate Regression in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

mdl_price_vs_conv %>% 
  # Get the model-level coefficients
  ___ %>% 
  # Pull out the RSE
  ___

# Get the RSE for mdl_price_vs_age
mdl_price_vs_age %>% 
  ___


# Get the RSE for mdl_price_vs_both
mdl_price_vs_both %>% 
  ___
Modifica ed esegui il codice