Extracting leverage and influence
In the last few exercises you explored which observations had the highest leverage and influence. Now you'll extract those values from an augmented version of the model, and visualize them.
mdl_price_vs_dist is available. dplyr, ggplot2 and ggfortify are loaded.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Introduction to Regression in R
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
mdl_price_vs_dist %>%
# Augment the model
___ %>%
# Arrange rows by descending leverage
___ %>%
# Get the head of the dataset
___