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.

Chapter 25 Comparing Model Performance 635<br />

Additional Example of Model Comparison<br />

Lift Curve Shows lift curves for each level of the response variable. The curves for the different models are<br />

overlaid.<br />

Profiler Shows a profiler for each response based on prediction formula columns in your data. The<br />

profilers have a row for each model being compared.<br />

Related Information<br />

• “ROC Curve” on page 337 in the “Recursively Partitioning Data” chapter<br />

• “Lift Curves” on page 339 in the “Recursively Partitioning Data” chapter<br />

Additional Example of Model Comparison<br />

This example uses automobile data to build a model to predict the size of the purchased car. A logistic<br />

regression model <strong>and</strong> a decision tree model are compared.<br />

Begin by opening the Car Physical Data.jmp sample data table.<br />

Create the Logistic Regression Model<br />

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

2. Select Type <strong>and</strong> click Y.<br />

3. Select the following columns <strong>and</strong> click Add: Country, Weight, Turning Cycle, Displacement, <strong>and</strong><br />

Horsepower.<br />

4. Click Run.<br />

The Nominal Logistic Fit report appears.<br />

5. Save the prediction formulas to columns by selecting Save Probability Formula from the Nominal<br />

Logistic red triangle menu.<br />

Create the Decision Tree Model <strong>and</strong> Save the Prediction Formula to a Column<br />

1. Select Analyze > <strong>Modeling</strong> > Partition.<br />

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

3. Select the Country, Weight, Turning Cycle, Displacement, <strong>and</strong> Horsepower columns <strong>and</strong> click X,<br />

Factor.<br />

4. Make sure that Decision Tree is selected in the Method list.<br />

5. Click OK.<br />

The Partition report appears.<br />

6. Click Split 10 times.<br />

7. Save the prediction formulas to columns by selecting Save Columns > Save Prediction Formula from<br />

the Partition red triangle menu.

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

Saved successfully!

Ooh no, something went wrong!