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
What are liquid assets and non-liquid assets?
Foreign Investment in U.S. Ag Land – The Latest Numbers
Is Paige Vanzant Related To Ronnie Van Zant
NYT Mini Crossword today: puzzle answers for Tuesday, September 17 | Digital Trends
Danatar Gym
Kokichi's Day At The Zoo
Blackstone Launchpad Ucf
South Park Season 26 Kisscartoon
Do you need a masters to work in private equity?
Acts 16 Nkjv
Violent Night Showtimes Near Amc Fashion Valley 18
How Many Slices Are In A Large Pizza? | Number Of Pizzas To Order For Your Next Party
Restaurants Near Paramount Theater Cedar Rapids
Classic Lotto Payout Calculator
Games Like Mythic Manor
Operation Cleanup Schedule Fresno Ca
Walmart Double Point Days 2022
Shasta County Most Wanted 2022
Days Until Oct 8
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Ein Blutbad wie kein anderes: Evil Dead Rise ist der Horrorfilm des Jahres
Bekijk ons gevarieerde aanbod occasions in Oss.
Valic Eremit
Skycurve Replacement Mat
Villano Antillano Desnuda
Craigslist Fort Smith Ar Personals
Nottingham Forest News Now
Annapolis Md Craigslist
4.231 Rounded To The Nearest Hundred
Log in or sign up to view
Greyson Alexander Thorn
The Posturepedic Difference | Sealy New Zealand
Plasma Donation Racine Wi
Otis Offender Michigan
Martin Village Stm 16 & Imax
Hattie Bartons Brownie Recipe
Goodwill Houston Select Stores Photos
Rise Meadville Reviews
Craigslist Lakeside Az
Craigslist Putnam Valley Ny
Linda Sublette Actress
18 terrible things that happened on Friday the 13th
Ig Weekend Dow
All Characters in Omega Strikers
California Craigslist Cars For Sale By Owner
Lamont Mortuary Globe Az
Brown launches digital hub to expand community, career exploration for students, alumni
Oakley Rae (Social Media Star) – Bio, Net Worth, Career, Age, Height, And More
Dlnet Deltanet
Westport gun shops close after confusion over governor's 'essential' business list
Bluebird Valuation Appraiser Login
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.