Using Linear Regression to Predict an Outcome - dummies (2024)

Statistical researchers often use a linear relationship to predict the (average) numerical value of Y for a given value of X using a straight line (called the regression line).

If you know the slope and the y-intercept of that regression line, then you can plug in a value for X and predict the average value for Y. In other words, you predict (the average) Y from X.

If you establish at least a moderate correlation between X and Y through both a correlation coefficient and a scatterplot, then you know they have some type of linear relationship.

Never do a regression analysis unless you have already found at least a moderately strong correlation between the two variables. (A good rule of thumb is it should be at or beyond either positive or negative 0.50.) If the data don’t resemble a line to begin with, you shouldn’t try to use a line to fit the data and make predictions (but people still try).

Before moving forward to find the equation for your regression line, you have to identify which of your two variables is X and which is Y. When doing correlations, the choice of which variable is X and which is Y doesn’t matter, as long as you’re consistent for all the data. But when fitting lines and making predictions, the choice of X and Y does make a difference.

So how do you determine which variable is which? In general, Y is the variable that you want to predict, and X is the variable you are using to make that prediction. For example, say you are using the number of times a population of crickets chirp to predict the temperature. In this case you would make the variable Y the temperature, and the variable X the number of chirps. Hence Y can be predicted by X using the equation of a line if a strong enough linear relationship exists.

Statisticians call the X-variable (cricket chirps in this example) the explanatory variable, because if X changes, the slope tells you (or explains) how much Y is expected to change in response. Therefore, the Y variable is called the response variable. Other names for X and Y include the independent and dependent variables, respectively.

In the case of two numerical variables, you can come up with a line that enables you to predict Y from X, if (and only if) the following two conditions are met:

  • The scatterplot must form a linear pattern.

  • The correlation, r, is moderate to strong (typically beyond 0.50 or –0.50).

Some researchers actually don’t check these conditions before making predictions. Their claims are not valid unless the two conditions are met.

But suppose the correlation is high; do you still need to look at the scatterplot? Yes. In some situations the data have a somewhat curved shape, yet the correlation is still strong; in these cases making predictions using a straight line is still invalid. Predictions in these cases need to be made based on other methods that use a curve instead.

About This Article

This article is from the book:

About the book author:

Deborah J. Rumsey, PhD, is an Auxiliary Professor and Statistics Education Specialist at The Ohio State University. She is the author of Statistics For Dummies, Statistics II For Dummies, Statistics Workbook For Dummies, and Probability For Dummies.

This article can be found in the category:

Using Linear Regression to Predict an Outcome  - dummies (2024)
Top Articles
How Does the Stock Market Affect Our Mood?: Family Addiction Specialist: Addiction Counselor
Prada or Your Parents? Why Their Retirement May Become Your Responsibility - THE BALLER ON A BUDGET - An Affordable Fashion, Beauty & Lifestyle Blog
Goodbye Horses: The Many Lives of Q Lazzarus
Wisconsin Women's Volleyball Team Leaked Pictures
Tj Nails Victoria Tx
Dee Dee Blanchard Crime Scene Photos
Computer Repair Tryon North Carolina
What's New on Hulu in October 2023
Learn How to Use X (formerly Twitter) in 15 Minutes or Less
Canelo Vs Ryder Directv
The Haunted Drury Hotels of San Antonio’s Riverwalk
Tripadvisor Near Me
Craigslist Dog Kennels For Sale
Guardians Of The Galaxy Vol 3 Full Movie 123Movies
Bc Hyundai Tupelo Ms
Pvschools Infinite Campus
Eka Vore Portal
Chic Lash Boutique Highland Village
Wal-Mart 140 Supercenter Products
The Ultimate Style Guide To Casual Dress Code For Women
Richland Ecampus
Labby Memorial Funeral Homes Leesville Obituaries
Loft Stores Near Me
Heart Ring Worth Aj
Happy Life 365, Kelly Weekers | 9789021569444 | Boeken | bol
Garnish For Shrimp Taco Nyt
Munis Self Service Brockton
2487872771
Marilyn Seipt Obituary
Where to eat: the 50 best restaurants in Freiburg im Breisgau
Things to do in Pearl City: Honolulu, HI Travel Guide by 10Best
Does Royal Honey Work For Erectile Dysfunction - SCOBES-AR
2487872771
Pfcu Chestnut Street
Inmate Search Disclaimer – Sheriff
Kattis-Solutions
O'reilly Auto Parts Ozark Distribution Center Stockton Photos
EST to IST Converter - Time Zone Tool
Solve 100000div3= | Microsoft Math Solver
404-459-1280
Http://N14.Ultipro.com
Santa Cruz California Craigslist
October 31St Weather
Raisya Crow on LinkedIn: Breckie Hill Shower Video viral Cucumber Leaks VIDEO Click to watch full…
Gary Lezak Annual Salary
Sabrina Scharf Net Worth
Samantha Lyne Wikipedia
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
If You're Getting Your Nails Done, You Absolutely Need to Tip—Here's How Much
Wordle Feb 27 Mashable
Access to Delta Websites for Retirees
Itsleaa
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5646

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.