14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - 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.

208 Performing Logistic Regression on Nominal <strong>and</strong> Ordinal Responses Chapter 7<br />

Logistic Fit Platform Options<br />

Two-level nominal effects are coded 1 <strong>and</strong> -1 for the first <strong>and</strong> second levels, so range odds ratios or their<br />

reciprocals would be of interest.<br />

Dose Response Example<br />

In the Dose Response.jmp sample data table, the dose varies between 1 <strong>and</strong> 12.<br />

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

2. Select Analyze > Fit Model.<br />

3. Select response <strong>and</strong> click Y.<br />

4. Select dose <strong>and</strong> click Add.<br />

5. Click OK.<br />

6. From the red triangle next to Nominal Logistic Fit, select Odds Ratio.<br />

Figure 7.10 Odds Ratios<br />

The unit odds ratio for dose is 1.606 (which is exp(0.474)) <strong>and</strong> indicates that the odds of getting a Y =0<br />

rather than Y = 1 improves by a factor of 1.606 for each increase of one unit of dose. The range odds ratio<br />

for dose is 183.8 (exp((12-1)*0.474)) <strong>and</strong> indicates that the odds improve by a factor of 183.8 as dose is<br />

varied between 1 <strong>and</strong> 12.<br />

Inverse Prediction<br />

For a two-level response, the Inverse Prediction comm<strong>and</strong> finds the x value that results in a specified<br />

probability.<br />

To see an example of inverse prediction:<br />

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

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

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

4. Select heat <strong>and</strong> click X, Factor.<br />

5. Select count <strong>and</strong> click Freq.

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

Saved successfully!

Ooh no, something went wrong!