14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

232 Performing Simple Logistic Regression Chapter 7<br />

Additional Examples of Logistic Regression<br />

8. Move the cross-hair intersection to the prediction line, <strong>and</strong> read the In(dose) value that shows on the<br />

horizontal axis.<br />

In this example, a rabbit with a In(dose) of approximately -0.9 is equally likely to be cured as it is to die.<br />

Figure 7.10 Example of Crosshair Tool on Logistic Plot<br />

Example of Inverse Prediction Using the Inverse Prediction Option<br />

If your response has exactly two levels, the Inverse Prediction option enables you to request an exact inverse<br />

prediction. You are given the x value corresponding to a given probability of the lower response category, as<br />

well as a confidence interval for that x value.<br />

To use the Inverse Prediction option, 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 Inverse Prediction. See Figure 7.11.<br />

7. Type 0.95 for the Confidence Level.<br />

8. Select Two sided for the confidence interval.<br />

9. Request the response probability of interest. Type 0.5 <strong>and</strong> 0.9 for this example, which indicates you are<br />

requesting the values for ln(Dose) that correspond to a 0.5 <strong>and</strong> 0.9 probability of being cured.<br />

10. Click OK.<br />

The Inverse Prediction plot appears.

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

Saved successfully!

Ooh no, something went wrong!