How To Graph Residual Plot On Ti 84

Okay, so you've got your TI-84 calculator, and you've heard whispers of something called a "residual plot." Sounds intimidating, right? Like something a NASA scientist would use to launch a rocket? Well, hold on to your hats, because I'm here to tell you it's not as scary as it seems. In fact, it's a super useful tool for anyone who wants to understand how well their data fits a line, and trust me, that's more relevant to everyday life than you might think! Think of it as your data's personal lie detector – it helps you see if your line of best fit is actually the best.
Why should you care? Imagine you're trying to predict how many hours you need to study for an exam based on the number of practice problems you do. You plug the numbers into your calculator, get a line of best fit, and think you're golden. But what if your line isn't actually a good representation of the relationship? The residual plot will show you that! It can help you avoid making wrong assumptions and potentially failing that exam. Or maybe you're trying to figure out the relationship between the age of your car and its value. A residual plot can help you determine if a linear model is even appropriate or if you need to consider other factors (like mileage, condition, etc.).
What's a Residual, Anyway?
Before we dive into graphing, let's quickly understand what a residual actually is. It's simply the difference between the actual data point and the value your line of best fit predicts at that point. In simpler terms, it's the vertical distance between a data point and the regression line.
Must Read
Think of it this way: imagine you're trying to guess how many cookies your friend will eat based on how hungry they say they are on a scale of 1 to 10. You create a "line of best fit" (a mental model, in this case) based on past experience. Now, your friend says they're a 7, and your model predicts they'll eat 5 cookies. But they actually eat 6. The residual is 6 - 5 = 1. Your prediction was off by one cookie. Residuals tell us how "off" our predictions are for each data point.
Let's Get Graphing! (Step-by-Step on Your TI-84)
Alright, let's get down to the nitty-gritty. Here's how to create a residual plot on your TI-84 calculator. I'll break it down into easy-to-follow steps.
Step 1: Enter Your Data
First, you need to enter your data into the calculator. This is where your x-values (the independent variable) and your y-values (the dependent variable) come in. Hit the "STAT" button, then choose "1:Edit..."
You'll see columns labeled L1, L2, etc. Enter your x-values into L1 and your corresponding y-values into L2. Make sure each x-value in L1 corresponds to the correct y-value in L2! This is crucial. Think of L1 as your 'hours studied' and L2 as your 'exam score'.

Pro-tip: If you have old data in L1 and L2, you can clear them quickly by highlighting the list name (L1 or L2) with the cursor, pressing "CLEAR", and then "ENTER".
Step 2: Calculate the Regression Equation
Now, you need to tell the calculator to calculate the line of best fit (also known as the regression equation). Press "STAT" again, then arrow over to "CALC." Choose "4:LinReg(ax+b)".
On the home screen, you'll see "LinReg(ax+b)". If you have a newer TI-84, a menu will pop up. Make sure "Xlist" is L1, "Ylist" is L2, and leave "FreqList" blank. The important part is the "Store RegEQ:" line. This is where you tell the calculator where to store the equation it calculates. Choose Y1 (or any other Y variable) by pressing "VARS", then arrow over to "Y-VARS", choose "1:Function", and then select "1:Y1".
If you have an older TI-84, you'll need to enter "LinReg(ax+b) Y1" directly on the home screen. To get Y1, press "VARS", then arrow over to "Y-VARS", choose "1:Function", and then select "1:Y1". Press "ENTER" to calculate the regression equation.

The calculator will display the equation in the form y = ax + b (or y = mx + b, depending on your calculator). Note down the values of a and b – they're important!
Step 3: Plot the Residuals
This is where the magic happens! We're going to tell the calculator to plot the residuals. Press "2nd" then "Y=" (this takes you to the STAT PLOT menu).
Choose "1:Plot1" (or any available plot). Turn the plot "On" by highlighting "On" and pressing "ENTER".
Now, the key step: Under "Type", choose the scatter plot icon (the one with the dots). For "Xlist", make sure it's set to L1 (your x-values). For "Ylist", this is where you specify the residuals. Press "2nd" then "STAT" to get to the LIST menu. Scroll down until you see "RESID" (it's usually near the bottom). Select "RESID" and press "ENTER". This tells the calculator to use the residuals as the y-values for the plot.

Finally, press "ZOOM" and then choose "9:ZoomStat". This will automatically adjust the window to fit your data and the residual plot. BAM! You should now see your residual plot!
Step 4: Analyze the Residual Plot
Okay, you've got your residual plot. Now what? This is where the "lie detector" aspect comes in. What you're looking for is randomness. A good residual plot should look like a scattered cloud of points, with no discernible pattern.
What to look for (and what to avoid):
- Random Scatter: This is what you want to see. The points are scattered randomly above and below the x-axis (the line where y = 0). This indicates that your linear model is a good fit for the data.
- Patterns: This is what you don't want to see. Common patterns include:
- Curvature: If the residuals form a U-shape or an inverted U-shape, it suggests that a linear model is not appropriate. A curved model might be a better fit.
- Funnel Shape (Heteroscedasticity): If the spread of the residuals increases or decreases as you move along the x-axis, it indicates that the variance of the errors is not constant. This can violate the assumptions of linear regression.
- Outliers: If there are one or two points that are far away from the rest of the residuals, they might be outliers in your data that are unduly influencing your regression.
If you see a pattern in your residual plot, it means your linear model isn't capturing all the information in your data. You might need to try a different type of model (like a quadratic or exponential model) or consider adding other variables to your analysis.

Real-Life Example: Ice Cream Sales
Let's say you own an ice cream shop and you want to predict your daily sales based on the temperature outside. You collect data for a week, recording the temperature (in Celsius) and the number of ice cream cones sold each day.
You enter the data into your TI-84 and get a linear regression equation. Then, you create a residual plot. If the residual plot shows a random scatter, congratulations! Your linear model is probably a good fit, and you can use it to predict sales based on temperature.
But what if the residual plot shows a U-shape? This might suggest that the relationship between temperature and ice cream sales is not linear. Maybe there's a point where sales plateau, even as the temperature keeps rising. In this case, you might need to consider a different type of model that accounts for this non-linearity.
In Conclusion: Your Data's Best Friend
Creating and interpreting residual plots might seem like a complicated process at first, but it's a valuable skill for anyone who works with data. It helps you assess the validity of your models, identify potential problems, and make more informed decisions. So, don't be intimidated! Grab your TI-84, practice with some data, and become a residual plot master. Your data will thank you for it!
