This article describes how to create a new variable containing residuals, the difference between the predicted value and the observed values.

## Requirements

- A regression output in your Displayr document.

## Method

- Select the regression output on a
**Page**. - Go to the
**object inspector > Inputs > SAVE VARIABLES > Residuals**, or go to**Anything**>**Advanced Analysis > Regression > Save Variables(s) > Residuals.**

## Next

How to Run Binary Logit Regression

How to Run a Generalized Linear Model

How to Run a Multinomial Logit Regression

How to Run NBD Regression in Displayr

How to Run Ordered Logit Regression

How to Run Quasi-Poisson Regression

How to Run a Stepwise Regression

How to Save Predicted Values of Regression Models

How to Save Fitted Values of Regression Models

How to Save Probabilities of Each Response of Regression Models