`plotAdded(mdl)`

plotAdded(mdl,coef)

h = plotAdded(mdl,___)

h = plotAdded(mdl,coef,Name,Value)

`plotAdded(`

produces
a generalized added variable plot for all terms in the full, fitted
regression model `mdl`

)`mdl`

, except the constant term.

`plotAdded(`

produces
an added variable plot for the `mdl`

,`coef`

)`coef`

terms in `mdl`

,
after adjusting for all other terms.

returns
handles to the lines in the plot, using any of the previous syntaxes.`h`

= plotAdded(`mdl`

,___)

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

= plotAdded(`mdl`

,`coef`

,`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.

An added variable plot illustrates the incremental effect on the response of specified terms by removing the effects of all other terms. The slope of the fitted line is the coefficient of the linear combination of the specified terms projected onto the best-fitting direction. The adjusted response includes the constant (intercept) terms, and averages out all other terms.

Was this topic helpful?