27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ROC<br />

Overview<br />

Options<br />

ROC varlist BY varname({varvalue })<br />

{‘varvalue’}<br />

[/MISSING = {EXCLUDE**}]<br />

{INCLUDE }<br />

[/CRITERIA = [CUTOFF({INCLUDE**})] [TESTPOS({LARGE**}) [CI({95**})]<br />

{EXCLUDE } {SMALL } {value}<br />

[DISTRIBUTION({FREE** })]]<br />

{NEGEXPO}<br />

[/PLOT = [CURVE**[(REFERENCE)]] [NONE]]<br />

[/PRINT = [SE] [COORDINATES]].<br />

** Default if subcommand is omitted.<br />

ROC produces a receiver operating characteristic (ROC) curve and an estimate of the area<br />

under the curve.<br />

Distributional Assumptions. In the CRITERIA subcommand, the user can choose the nonparametric<br />

or parametric method to estimate the standard error of the area under the curve.<br />

Currently, the bi-negative exponential distribution is the only parametric option.<br />

Optional Output. In addition to an estimate of the area under the ROC curve, the user may<br />

request its standard error, a confidence interval, and a p value under the null hypothesis that<br />

the area under the curve equals 0.5. A table of cutoff values and coordinates used to plot the<br />

ROC curve may also be displayed.<br />

Basic Specification<br />

The basic specification is one variable as the test result variable and one variable as the<br />

actual state variable with one of its values. ROC uses the nonparametric (distribution-free)<br />

method to calculate the area under the ROC curve. The default and minimum output is a<br />

chart of the ROC curve and a table of the area under the curve.<br />

<strong>Syntax</strong> Rules<br />

• Minimum syntax: You always need a test result variable and one actual state variable<br />

with one of its values in the ROC command line.<br />

1442

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!