Stata 11 help for rocfit_postestimation

help rocfit postestimation dialog: rocplot also see: rocfit -------------------------------------------------------------------------------

Title

[R] rocfit postestimation -- Postestimation tools for rocfit

Description

The following command is of special interest after rocfit:

command description ------------------------------------------------------------------------- rocplot plot the fitted ROC curve and simultaneous confidence bands -------------------------------------------------------------------------

The following standard postestimation commands are also available:

command description ------------------------------------------------------------------------- estat AIC, BIC, VCE, and estimation sample summary estimates cataloging estimation results * lincom point estimates, standard errors, testing, and inference for linear combinations of coefficients * test Wald tests of simple and composite linear hypotheses ------------------------------------------------------------------------- * See [R] rocfit postestimation for details on using lincom and test after rocfit.

Special-interest postestimation command

rocplot plots the fitted ROC curve and simultaneous confidence bands.

Syntax for rocplot

rocplot [, rocplot_options]

rocplot_options description ------------------------------------------------------------------------- Main confband display confidence bands norefline suppress plotting of the reference line level(#) set confidence level; default is level(95)

Plot plotopts(plot_options) affect rendition of the ROC points

Fit line lineopts(cline_options) affect rendition of the fitted ROC line

CI plot ciopts(area_options) affect rendition of the confidence bands

Reference line rlopts(cline_options) affect rendition of the reference line

Add plots addplot(plot) add other plots to the generated graph

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

plot_options description ------------------------------------------------------------------------- marker_options change look of markers (color, size, etc.) marker_label_options add marker labels; change look or position cline_options change the look of the line -------------------------------------------------------------------------

Menu

Statistics > Epidemiology and related > ROC analysis > Parametric ROC curve after rocfit

Options

+------+ ----+ Main +-------------------------------------------------------------

confband specifies that simultaneous confidence bands be plotted around the ROC curve.

norefline suppresses the plotting of the 45-degree reference line from the graphical output of the ROC curve.

level(#) specifies the confidence level, as a percentage, for the confidence bands. The default is level(95) or as set by set level.

+------+ ----+ Plot +-------------------------------------------------------------

plotopts(plot_options) affects the rendition of the plotted ROC points, including the size and color of markers, whether and how the markers are labeled, and whether and how the points are connected. For the full list of available plot_options, see [G] marker_options, [G] marker_label_options, and [G] cline_options.

+----------+ ----+ Fit line +---------------------------------------------------------

lineopts(cline_options) affects the rendition of the fitted ROC line; see > [G] cline_options.

+---------+ ----+ CI plot +----------------------------------------------------------

ciopts(area_options) affects the rendition of the confidence bands; see [G] area_options.

+----------------+ ----+ Reference line +---------------------------------------------------

rlopts(cline_options) affects the rendition of the reference line; see [G] cline_options.

+-----------+ ----+ Add plots +--------------------------------------------------------

addplot(plot) provides a way to add other plots to the generated graph; see [G] addplot_option.

+-----------------------------------------+ ----+ Y axis, X axis, Titles, Legend, Overall +--------------------------

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

Examples

Setup . webuse hanley . rocfit disease rating

Test constant equals 0 . test [intercept]_cons

Plot fitted ROC curve and include confidence band . rocplot, confband

Also see

Manual: [R] rocfit postestimation

Help: [R] rocfit


© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index