Interactions with understandable coeffs
The previous model with the interaction term returned coefficients that were a little tricky to interpret. In order clarify what the model is predicting, you can reformulate the model in a way that returns understandable coefficients. For further clarity, you can compare the results to the models on the separate house age categories (mdl_0_to_15, mdl_15_to_30, and mdl_30_to_45).
taiwan_real_estate, mdl_0_to_15, mdl_15_to_30, and mdl_30_to_45 are available.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Intermediate Regression in R
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Model price vs. house age plus an interaction, no intercept
mdl_readable_inter <- ___
# See the result
mdl_readable_inter
# Get coefficients for mdl_0_to_15
___
# Get coefficients for mdl_15_to_30
___
# Get coefficients for mdl_30_to_45
___