14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

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

428 Performing Choice <strong>Modeling</strong> Chapter 16<br />

Special Data Rules<br />

Subject Data with Response Data<br />

If you have subject data in the Response data table, just select this table as the Select Data Table under the<br />

Subject Data. In this case, a Subject ID column does not need to be specified. In fact, it is not used. It is<br />

generally assumed that the subject data repeats consistently in multiple runs for each subject.<br />

Logistic Regression<br />

Ordinary logistic regression can be done with the Choice <strong>Modeling</strong> platform.<br />

Note: The Fit Y by X <strong>and</strong> Fit Model platforms are more convenient to use than the Choice <strong>Modeling</strong><br />

platform for logistic regression modeling. This section is used only to demonstrate that the Choice<br />

<strong>Modeling</strong> platform can be used for logistic regression, if desired.<br />

If your data are already in the choice-model format, you might want to use the steps given below for logistic<br />

regression analysis. However, three steps are needed:<br />

• Create a trivial Profile data table with a row for each response level.<br />

• Put the explanatory variables into the Response data.<br />

• Specify the Response data table, again, for the Subject data table.<br />

An example of using the Choice <strong>Modeling</strong> platform for logistic regression follows:<br />

1. Select Analyze > <strong>Modeling</strong> > Choice > Select Data Table > Other > OK.<br />

2. Open the sample data set Lung Cancer Responses.jmp. Notice this data table has only one column<br />

(Lung Cancer) with two rows (Cancer <strong>and</strong> NoCancer).<br />

3. Select Lung Cancer as the Profile ID <strong>and</strong> Add Lung Cancer as the model effect. The Profile Data dialog<br />

box is shown in Figure 16.34.

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

Saved successfully!

Ooh no, something went wrong!