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.

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

Transforming Data<br />

Figure 16.47 Parameter Estimate for Travel Time of Daganzo Data<br />

i<br />

The negative coefficient implies that increased travel time has a negative effect on consumer utility or<br />

satisfaction. The likelihood ratio test result indicates that the Choice model with the effect of Travel Time is<br />

significant.<br />

Transforming Data to One Analysis Table<br />

Rather than creating two or three tables, it can be more practical to transform the data so that only one table<br />

is used. For the one-table format, the subject effect is added as above. A response indicator column is added<br />

instead of using three different columns for the choice sets (Choice1, Choice2, Choice3). The<br />

transformation steps for the one-table scenario include:<br />

• Create or open Stacked Daganzo.jmp from the steps shown in Transforming Data to Two Analysis<br />

Tables.<br />

• Add a new column labeled Response <strong>and</strong> right-click on the column. Select Formula.<br />

• Select Conditional > If from the formula editor <strong>and</strong> select the column Choice Mode for the expression.<br />

• Type “=” <strong>and</strong> select Mode.<br />

• Type 1 for the Then Clause <strong>and</strong> 0 for the Else Clause. Click OK. The completed formula should look<br />

like Figure 16.48.<br />

Figure 16.48 Formula for Response Indicator for Stacked Daganzo Data<br />

• Subset the data table by selecting Subject, Travel Time, <strong>and</strong> Response <strong>and</strong> then select Tables > Subset.<br />

Select Selected Columns <strong>and</strong> click OK. A partial listing of the new data table is shown in Figure 16.49.

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

Saved successfully!

Ooh no, something went wrong!