Session Ready
Exercise

Predicting again

You've followed the prediction workflow several times now with different combinations of explanatory variables. Time to try it once more on the model with three explanatory variables. Here, you'll use the model with 3-way interactions, though the code is the same when using any of the three models from the previous exercise.

taiwan_real_estate and mdl_price_vs_all_3_way_inter are available; dplyr, tidyr and ggplot2 are loaded.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3

Make a grid of explanatory data, formed from combinations of the following variables.

  • dist_to_mrt_m should take a sequence from zero to eighty in steps of ten, all squared (0, 100, 400, …, 6400).
  • n_convenience should take the numbers zero to ten.
  • house_age_years should take the unique values of the house_age_years column of taiwan_real_estate.