For the latest version of JMP Help, visit JMP.com/help.


Publication date: 06/21/2023

Design with a Linear Time Trend

Use the Custom Design platform to create an experiment for 7 factors that is robust to a linear trend. Often, experiments conducted in a time sequence experience a linear drift in the response. If you randomize the order of the runs, then the drift’s effect does not generally bias the estimated factor effects. However, by accounting for the drift with a linear covariate, you can reduce the variance of those effects.

1. Select File > New > Data Table.

2. Right-click Column1 and select Column Info.

3. Change the column name to Run Order.

4. From the list of Initialize Data options, select Sequence Data.

5. Type 16 next to To.

6. Click OK.

Consecutive integers from 1 to 16 have been entered in the data table.

7. Select DOE > Custom Design.

8. Click Add Factor > Covariate.

9. Select Run Order and click OK.

10. Type 7 next to Add N Factors.

11. Click Add Factor > Continuous.

Figure 5.64 Responses and Factors 

Responses and Factors

12. Click Continue.

13. Open the Alias Terms section.

14. Select all of the effects in the list and click Remove Term.

This omits the interaction effects from the correlation color map, leaving only the main effects.

Note: Setting the Random Seed in step 15 and Number of Starts in step 16 reproduces the exact results shown in this example. In constructing a design on your own, these steps are not necessary.

15. (Optional) Click the Custom Design red triangle, select Set Random Seed, type 1234, and click OK.

16. (Optional) Click the Custom Design red triangle, select Number of Starts, type 100, and click OK.

17. Click Make Design.

Figure 5.65 Design 

Design

18. Open the Design Evaluation > Color Map On Correlations section.

Figure 5.66 Color Map Showing Absolute Correlations with Run Order 

Color Map Showing Absolute Correlations with Run Order

The Color Map shows the following:

The seven continuous factors, X2 through X8, are orthogonal to each other.

Run Order, the linear time trend variable, has extremely low absolute correlation with X2 through X8.

19. Open the Design Evaluation > Estimation Efficiency section.

Figure 5.67 Estimation Efficiency 

Estimation Efficiency

The small absolute correlations of Run Order with X2 through X8 result in very small increases in confidence interval lengths, relative to an ideal orthogonal design. The increases in the lengths of confidence intervals for X2 through X8 are all less than about 0.1%.

In this example, the run order factor is nearly orthogonal to the factor effects. In some cases, your design might have more substantial correlations between the run order factor and other factors. Even in such a situation, including the run order as a factor accounts for any linear trend effect. Including the run order also allows for more precise estimation of the other factor effects.

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