Step by step
Before you start: Load the mtcars sample: Data › Sample data › mtcars. Getting started shows how.
Choose Linear Regression
Click Regression in the menu bar; under Essentials choose Linear Regression.
Fill in the form
In What you want to predict or explain, choose
mpg. In Columns that may explain it, choosewtandhp. Leave the options at their defaults unless you need otherwise.Run the analysis
Press Run analysis. The Result Card opens on the Results tab: what to know first, then the interpretation in words and the Key Results.
Find the chart
Scroll down the Results tab to the chart.
Read Learn More
Open Learn More for the idea in plain words, the assumptions and the formula. Code gives the same analysis as Python, R and MATLAB code (and SAS where the tab offers it), and Export sends the card to a report or slides: see Read a Result Card.
More in this family
Logistic Regression
Load the Titanic sample: Data › Sample data › Titanic. Getting started shows how.
Click Regression in the menu bar; under Essentials choose Logistic Regression. In Yes/no outcome to predict, choose Survived. In Columns that may explain it, choose Sex, Age and Pclass. Then press Run analysis.
Poisson Regression
Load the Defects per Lot sample: Data › Sample data › Defects per Lot. Getting started shows how.
Click Regression in the menu bar; under Counts & Categorical choose Poisson Regression. In Count to predict, choose defects_total. In Columns that may explain it, choose shift. In Exposure (time at risk) (optional), choose lot_size. Then press Run analysis.
Lasso Regression
Load the Diabetes sample: Data › Sample data › Diabetes. Getting started shows how.
Click Regression in the menu bar; under Shrinkage choose Lasso Regression. In What you want to predict or explain, choose target. In Columns that may explain it, choose age, bmi, bp, s1, s2, s3, s4, s5 and s6. Then press Run analysis.
What you should see
A Linear Regression card whose header already summarizes the model (R², F, p). The interpretation names the significant predictors and gives the fitted equation; Key Results list R², adjusted R², the F-statistic and its p-value, AIC, BIC, N, the decision and the top predictor.
Common problems
- A predictor is missing from the list.
Check its type in Data > Column Properties…. Categorical predictors are encoded automatically where the method allows them.
- The outcome is a yes/no or a count.
Use Logistic Regression for a binary outcome and Poisson Regression for counts; both are in the Regression menu.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- How does ad spend predict sales after controlling for region?
- Does body mass predict whether a penguin is female?
Last reviewed November 16, 2026.
