What is the purpose of the R-squared statistic in linear regression?
-
To measure the correlation between two variables
-
To indicate the proportion of variance explained by the model
-
To assess the model's complexity
-
To determine the number of features in the model