Coefficient of determination
The coefficient of determination is a measure of how well the linear regression line fits the observed values. For simple linear regression, it is equal to the square of the correlation between the explanatory and response variables.
Here, you'll take another look at the second stage of the advertising pipeline: modeling the click response to impressions. Two models are available: mdl_click_vs_impression_orig
models n_clicks
versus n_impressions
. mdl_click_vs_impression_trans
is the transformed model you saw in Chapter 2. It models n_clicks ^ 0.25
versus n_impressions ^ 0.25
.
broom
is loaded.
This exercise is part of the course
Introduction to Regression in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print a summary of mdl_click_vs_impression_orig
___
# Print a summary of mdl_click_vs_impression_trans
___