*! version 1.2.1 07mar2013

Title

lvr2plot2 -- leverage-versus-squared-residual plot with Cook's D

Syntax for lvr2plot

lvr2plot
[, lab(varname[, all]) *]

lvr2plot_options

Label
lab( varname [, all] ) label points with the values of
varname. by default only potential influential cases are labeled unless
the all sub-option is specified.

Plot

Add plots
"addplot(addplot_option:plot)" add other plots to the enerated graph

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

Description for lvr2plot2

lvr2plot2 is identical to lvr2plot, in that it graphs a
leverage-versus-squared-residual plot (a.k.a. L-R plot), except that
lvr2plot2 also lets the size of the symbols be proportional to Cook's D.
This is also possible with the user written lvr2dplot, except that that
uses old (pre-Stata 8) graphs. Moreover, lvr2plot2 makes it easier to
label the data points.

Options for lvr2plot

Label

lab( varname [, all] ) label points with the values of
varname. by default only potential influential cases are labeled unless
the all sub-option is specified.

Plot

detail displays detailed output of the calculation.

Add plots

addplot(plot) provides a way to add other plots to the generated graph.
See [G-3] addplot_option.

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

sysuse auto
reg price mpg weight i.foreign i.rep78
lvr2plot2
lvr2plot2, lab(make)

Author

Maarten L. Buis, University of Konstanz

maarten.buis@uni-konstanz.de