Introduction to Modeling

In this mission, you'll learn about the fundamentals of building models with R. We'll cover concepts, principles, and rules that will be critical not only for the remainder of this Linear Modeling in R course, but for all of your future work modeling with R.

This mission starts with the basics: what is a model? Why are models useful in data science? What kinds of questions can different sorts of models help us answer?

Then, we'll take a closer look at modeling in R and start digging into the specifics. There are two primary goals we might have for a model: predicting the future (prediction model) or understanding how different variables are affecting a result (inference model). In this course, we'll dig deeper into both types of model, the concepts that underlie them, and how we can approach building both predictive and inference models that are statistically sound.


  • Understand what a model is and why we model
  • Learn the concepts underlying prediction and inference models

Mission Outline

  1. Introduction
  2. Motivation
  3. General Model Form
  4. Prediction
  5. Inference
  6. Error
  7. Estimating f with Parametric Models
  8. Residuals
  9. Comparing Model Predictions to Reality
  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);