yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Example estimating from regression line


3m read
·Nov 11, 2024

Lizz's math test included a survey question asking how many hours students spent studying for the test. The scatter plot below shows the relationship between how many hours students spend studying and their score on the test. A line was fit to the data to model the relationship. They don't tell us how the line was fit, but this actually looks like a pretty good fit if I just eyeball it.

Which of these linear equations best describes the given model? So as you know, this point right over here shows that some student at least self-reported they studied a little bit more than half an hour, and they didn't actually do that well on the test. Looks like they scored a 43 or 44 on the test.

This right over here shows, or like this one over here, is a student who says they studied two hours, and it looks like they scored about a 64 or 65 on the test. This over here, or this over here, looks like a student who studied over four hours, or they reported that, and they got, looks like, a 95 or 96 on the exam.

And so then, these are all the different students; each of these points represents a student. They fit a line, and when they say which of these linear equations best describes the given model, they're really saying which of these linear equations describes or is being plotted right over here by this line that's trying to fit to the data.

So essentially, we just want to figure out what is the equation of this line. Well, it looks like the Y intercept right over here is 20, and it looks like all of these choices here have a y intercept of 20, so that doesn't help us much. But let's think about what the slope is. When we increase by one, when we increase along our x-axis by one, so change in X is one, what is our change in y?

Our change in y looks like, let's see, we went from 20 to 40. It looks like we got went up by 20, so our change in y over change in X for this model, for this line that's trying to fit to the data, is 20 over one. So this is going to be our slope, and if we look at all of these choices, only this one has a slope of 20, so it would be this choice right over here.

Based on this equation, estimate the score for a student that spent 3.8 hours studying. So we would go to 3.8, which is right around, let's see, this would be 3.8, would be right around here. So let's estimate that score. If I go straight up, where do we intersect our model? Where do we intersect our line?

So it looks like they would get a pretty high score. Let's see, if I were to take it to the vertical axis, it looks like they would get about a 97. So I would write my estimate is that they would get a 97 based on this model.

Once again, this is only a model; it's not a guarantee that if someone studies 3.8 hours they're going to get a 97, but it could give an indication of what maybe might be reasonable to expect, assuming that the time studying is the variable that matters.

But you also have to be careful with these models because it might imply, if you kept going, that if you study for nine hours, you're going to get a 200 on the exam, even though something like that is impossible. So you always have to be careful extrapolating with models and keep it, take it with a grain of salt.

This is just a model that's trying to fit to this data, and you might be able to use it to estimate things or to maybe set some form of an expectation, but take it all with a grain of salt.

More Articles

View All
Safari Live - Day 316 | National Geographic
This program features live coverage of an African safari and may include animal kills and carcasses. Viewer discretion is advised. Good afternoon, everybody! Welcome to Juma in the Sabi Sands in South Africa, where we have found a beautiful European roll…
Tracing function calls | Intro to CS - Python | Khan Academy
What exactly happens when the computer executes a function call? Well, let’s trace a program with a function definition to find out. When we run the program, the computer, as normal, reads the program line by line starting at the top of the file. When th…
Warren Buffett on One Last Day with Charlie Munger | Berkshire Hathaway 2024
Hi, my name is Andrew Ncas, and I’m wondering if you had one more day with Charlie, what would you do with him? [Applause] Well, it’s kind of interesting because, in effect, I did have one more day. I mean, it wasn’t a full day or anything, but he, we al…
How do QR codes work? (I built one myself to find out)
When QR codes first came out, I thought they were awful, never going to catch on. This is a flow chart from the time that really resonated with me. The problem as I saw it was that QR codes are ugly, and they mean nothing to people. I would rather just se…
One of the Most Important Decisions You'll Make (Hint: It's About Love)
Who do we give our love to and who do we receive love from? I think it’s a huge decision, the most, maybe the most important one, one of the most important decisions. I use the word love. Um, I think different people mean different things by love, so I’m …
Brave New Words - Supt. Buffington, PhD, Tim Krieg, PhD, & Sal Khan
Hi everyone, s here from KH Academy and as some of you all know, I have released my second book, Brave New Words, about the future of AI in education and work. It’s available wherever you might buy your books. But as part of the research for that book, I …