*! version 1.0.0 28aug2018
avciplots -- all avciplot added-variable plots in one image

Syntax

avciplots [, options]

options

Plot
marker_options change look of markers (color,
size, etc.)

marker_label_options add marker labels;
change look or position

combine_options any of the options
documented in [G-2] graph combine

Regression line
rlopts(cline_options) affect rendition of
the regression line

nocoef turns off display of coefficent below graph

Confidence interval
noci turns off confidence interval

ciunder confidence intervals underneath scatter

level(level:#) specifies the confidence level

ciopts(fitarea_options:ci_options) affect rendition of
the confidence

ciplot(graph_twoway:plottype) how to plot
CIs; default is ciplot(rline);
a common alternative is ciplot(rarea)

Y axis, X axis, Titles, Legend, Overall
twoway_options any options other than by()
documented in [G-3] twoway_options

Description for avciplots

avciplots combines avciplot added-variable graphs
of all the independent variables into one image, after the
regress command. It shows the linear correlations of
each x variable with the y variable conditional on all the
other x variables.

Options for avciplots

Plot

marker_options
affect the rendition of markers drawn at the plotted points, including
their shape, size, color, and outline; see [G-3] marker_options.

marker_label_options
specify if and how the markers are to be labeled;
see [G-3] marker_label_options.

combine_options
specify any of the options documented in
[G-2] graph combine
to control how avciplots combines
muliple avciplot graphs.

Regression line

rlopts(cline_options) affects the rendition of the regression
(fitted) line. See [G-3] cline_options.

nocoef turns off display of the coefficent, standard error and t
statistic from the regression line below the graph.

Confidence interval

noci turns off display of the confidence interval on the graph.

ciunder confidence interval will be graphed underneath the scatter
plot (i.e. data scatter is graphed on top of confidence interval). This is
mainly useful when graphing a solid confidence interval with option
ciplot(rarea).

level(#) specifies the confidence level, in percent,
for confidence interval of the coefficients; see help level.

ciopts(cline_options) affects how the upper and lower
confidence interval lines are rendered.
See [G-3] cline_options.
If you specify ciplot(), then rather than using
cline_options, you should specify whatever is appropriate.

ciplot(plottype)
specifies how the confidence interval is to be plotted. The
default is ciplot(rline), meaning that the prediction will be
plotted by graph twoway rline.

A common alternative is ciplot(rarea), which will
substitute lines around the prediction for shading.
See [G-2] graph twoway for a list of plottype
choices. You may choose any that expect two y variables and one
x variable.

Y axis, X axis, Titles, Legend, Overall

twoway_options are any of the options documented in
[G-3] twoway_options, excluding by(). These include options
for titling the graph (see [G-3] title_options) and for saving
the graph to disk (see [G-3] saving_option).

Examples

Setup

. sysuse auto

. regress mpg displacement weight foreign c.weight#i.foreign

Create all added-variable plots using the x variables

. avciplots

With solid confidence interval areas

. avciplots, ciplot(rarea) ciunder

Add title and change the order of the graphs

. avciplots, title(Added-Variable Plots) colfirst

Author

John Luke Gallup, Portland State University, USA
jlgallup@pdx.edu