Design of Experiments Guide > Column Properties > Coding > Example of Assigning Coding
Publication date: 07/08/2024

Example of Assigning Coding

This example demonstrates model fits with uncoded and then coded factors. You first fit a model with uncoded factors. Then you assign the Coding property to the factors and rerun the model to obtain meaningful parameter estimates.

1. Select Help > Sample Data Folder and open Tiretread.jmp.

2. Select Analyze > Fit Model.

3. Select ABRASION and click Y.

4. Select SILICA, SILANE, and SULFUR and click Macros > Response Surface.

5. Check Keep dialog open.

6. Click Run.

7. Click the Response ABRASION red triangle and select Estimates > Show Prediction Expression.

Figure A.17 Prediction Expression for Model with Uncoded Factors 

Prediction Expression for Model with Uncoded Factors

The coefficients do not help you compare effect sizes. The sizes of the coefficients do not reflect the impact of the effects on ABRASION over the range of their settings. Also, the coefficients are not easily interpreted. For example, the coefficients do not facilitate your understanding of the predicted response when SILICA is at the midpoint of its range.

Apply the Coding column property to the three factors to see how coding makes the coefficients more meaningful.

8. In the Tiretread.jmp data table, select SILICA, SILANE, and SULFUR in the Columns panel. Click the Columns red triangle and select Standardize Attributes..

9. Select Column Properties > Coding in the Standardize Properties panel.

10. Click OK.

An asterisk appears in the Columns panel next to SILICA, SILANE, and SULFUR indicating that these have been assigned a column property.

11. In the Fit Model window, click Run.

12. Click the Response ABRASTION red triangle and select Estimates > Show Prediction Expression.

Figure A.18 Prediction Expression for Model with Coded Factors 

Prediction Expression for Model with Coded Factors

The coefficients for the coded factors enable you to compare effect sizes. SILANE has the largest effect on ABRASION over the range of design settings. The effects of SILICA and the SILANE*SULFUR interaction are large as well.

The coefficients for the coded factors are also more easily interpreted. For example, when all factors are at the center of their ranges, the predicted value of ABRASION is the intercept, 139.12.

13. Close the Tiretread.jmp sample data table without saving the changes.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).