BaşlayınÜcretsiz Başlayın

The limits of prediction

In the last exercise you made predictions on some sensible, could-happen-in-real-life, situations. That is, the cases when the number of nearby convenience stores were between zero and ten. To test the limits of the model's ability to predict, try some impossible situations.

Use the console to try predicting house prices from mdl_price_vs_conv when there are -1 convenience stores. Do the same for 2.5 convenience stores. What happens in each case?

mdl_price_vs_conv is available and dplyr is loaded.

Bu egzersiz

Introduction to Regression in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Define a tibble where n_convenience is -1
minus_one <- ___

# Define a tibble where n_convenience is 2.5
two_pt_five <- ___
Kodu Düzenle ve Çalıştır