Session Ready
Exercise

Extracting model elements

The model object created by ols() contains many elements. In order to perform further analysis on the model results, you need to extract its useful bits. The model coefficients, the fitted values, and the residuals are perhaps the most important pieces of the linear model object.

mdl_price_vs_conv is available.

Instructions 1/4
undefined XP
  • 1
    • Print the parameters of mdl_price_vs_conv.
    • 2
      • Print the fitted values of mdl_price_vs_conv.
    • 3
      • Print the residuals of mdl_price_vs_conv.
    • 4
      • Print a summary of mdl_price_vs_conv.