`plotAdjustedResponse(mdl,var)`

h = plotAdjustedResponse(mdl,var)

h = plotAdjustedResponse(mdl,var,Name,Value)

`plotAdjustedResponse(`

gives
an adjusted response plot for the variable `mdl`

,`var`

)`var`

in
the `mdl`

regression model.

returns
handles to the lines in the plot.`h`

= plotAdjustedResponse(`mdl`

,`var`

)

plots
with additional options specified by one or more `h`

= plotAdjustedResponse(`mdl`

,`var`

,`Name,Value`

)`Name,Value`

pair
arguments.

For many plots, the Data Cursor tool in the figure window displays the

*x*and*y*values for any data point, along with the observation name or number.

The adjusted response plot shows the fitted response as a function
of `var`

, with the other predictors averaged out
by averaging the fitted values over the data used in the fit. Adjusted
data points are computed by adding the residual to the adjusted fitted
value for each observation.

Was this topic helpful?