Assessing the Accuracy of the Model

At this point in our Linear Modeling in R course, you've already learned about how to fit and plot a linear model. Now, it's time to get into more depth and assess your model's accuracy so that you can effectively judge it (and potentially make improvements).

To assess your model effectively, you'll learn about calculating the Residual Standard Error and R Squared. You'll learn how to visualize the residuals, and more importantly, you'll learn why visualizing them can be important!

By the end of the mission, you will have built experience with the final, crucial step in any modeling task: assessing accuracy. 

Of course, as you work with the model, you'll also be reviewing programming and statistics concepts from earlier in our Data Analyst in R path


  • Calculate Residual Standard Error and R Squared
  • Learn why visualizing residuals is a good idea

Mission Outline

1. Introduction
2. ​Plotting the Residuals
3. ​Hypothesis Testing
4. ​The t-statistic
5. ​The p-value
6. ​Confidence Intervals
7. ​Residual Standard Error
8. ​The R-squared statistic
9. ​​R-squared and Correlation
10. ​Recap
11. Takeaways


Course Info:


The median completion time for this course is 7.23 hours. View Details

This course requires a premium subscription and includes five missions and one guided project.  It is the 11th course in the Data Analyst in R.


Take a Look Inside

(function(d) { d.addEventListener("DOMContentLoaded", function() { var pathname = d.location.pathname.replace(/^[/]|[/]$/g, "").replace("/", "-"); var tags = d.getElementsByTagName("iframe"); var type = pathname.startsWith("course") ? "?course=" : pathname.startsWith("path") ? "?path=" : null; if (type) { var i; for (i = 0; i < tags.length; i++) { if (tags[i].src.indexOf("signup#iframe") !== -1) { tags[i].src = tags[i].src.replace("#iframe", "") + type + pathname + "#iframe"; } } } }, false); })(document);