14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

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.

230 Performing Simple Logistic Regression Chapter 7<br />

Additional Examples of Logistic Regression<br />

Figure 7.8 Examples of Sample Data Table <strong>and</strong> Logistic Plot Showing an Almost Perfect y by x<br />

Relationship<br />

Example of ROC Curves<br />

To demonstrate ROC curves, proceed as follows:<br />

1. Open the Penicillin.jmp sample data table.<br />

2. Select Analyze > Fit Y by X.<br />

3. Select Response <strong>and</strong> click Y, Response.<br />

4. Select In(Dose) <strong>and</strong> click X, Factor.<br />

Notice that JMP automatically fills in Count for Freq. Count was previously assigned the role of Freq.<br />

5. Click OK.<br />

6. From the red triangle menu, select ROC Curve.<br />

7. Select Cured as the positive.<br />

8. Click OK.<br />

Note: This example shows a ROC Curve for a nominal response. For details about ordinal ROC curves, see<br />

the Recursive Partitioning chapter in the Modeling <strong>and</strong> Multivariate Methods book.<br />

The results for the response by In(Dose) example are shown here. The ROC curve plots the probabilities<br />

described above, for predicting response. Note that in the ROC Table, the row with the highest<br />

Sens-(1-Spec) is marked with an asterisk.

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

Saved successfully!

Ooh no, something went wrong!