cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ih
Super User (Alumni) ih
Super User (Alumni)

Design an experiment anticipating autocorrelation.

Is there a way to anticipate and account for potential affects of previous runs in an experiment?  

 

Two use cases:

  • Lab - Samples are prepared using a mixer that cannot be (cost effectively) fully cleaned between runs.  The samples are later treated using a process that, again, cannot be fully cleaned between every run.
  • Continuous Process - A process is not shut down between runs, rather new conditions are set and the process is allowed to stabilize before measuring results.

Of course it is best to fully clean or wait a very long time between runs to ensure independence, but sometimes this is either cost prohibitive, or it is not known how long to wait between runs.  If the investigator wants to accept the possibility that some autocorrelation will exist between runs, what steps can they take to at least measure and ideally account for this? 

 

My ideas so far:

  1. Include previous run conditions (for each step if using the next bullet) as factors in the final model, often as the amount the factor changed from the previous run.  If this value is significant in the final model then autocorrelation influenced the results.
  2. Randomizing run order in each step when possible to determine which step(s) caused autocorrelation (not applicable to a continuous process)
  3. Ensure that when some conditions are tested with movements in both directions prior to the current run and that some runs are repeated with identical conditions.
  4. If the process can be fully cleaned sometimes then ensure the first conditions run after the DOE cover as much of the design space as possible, essentially design a DOE using just those points, even if the power is low.

 

Is it possible to tell JMP to design an experiment accounting for any of these ideas, or are the other tricks to use here?

5 REPLIES 5
statman
Super User

Re: Design an experiment anticipating autocorrelation.

Here are my thoughts, no particular order:

1. I'm not sure I would call your dilemma "autocorrelation".  Seems to me more like you have a covariate or noise that can affect treatments.  Can you measure the "condition or cleanliness" of the mixer in the lab?  Or can you measure the conditions of the continuous process?

2. Can you take advantage of any split-plot designs to handle the noise and desired restrictions on randomization?  Randomizing won't let you assign the variation due to noise.

3. I'm not sure cleaning the process or mixer before every treatment is actually a good idea.  The design space is not really representative of reality (as they seldom or never clean or stop the continuous process in reality).  This would be an inappropriate inference space and might even induce unusual noise or factor effects.

4. Replication is, of course, another good option, though it may be difficult to keep the conditions "constant" within the block.  Can you purposely change the conditions? If so then you might be able to exaggerate the effect between blocks and let the random variation of the condition occur within blocks.  

5. I might also suggest sampling (component of variation) studies to determine the consistency of the mixer or continuous process and possibly even get an idea of the magnitude of the "conditions" on the response variables.  This would give some good clues for deciding how to manage the condition during experimentation.

"All models are wrong, some are useful" G.E.P. Box
Craige_Hales
Super User

Re: Design an experiment anticipating autocorrelation.

#3 - yes. I've been thinking about this in terms of a well-seasoned cast iron skillet. Scrubbing it down to bright metal will use up a lot of good will, really fast. Nobody does that more than once. (Based on three data points.)

Craige
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Design an experiment anticipating autocorrelation.

Thanks @statman  and @Craige_Hales, as always you've given me some things to think about!  To your points:

 

  1. To represent the 'cleanliness' of the mixer we could in theory measure the amount of material left in the mixer and the concentration of contaminate in that material.  The concentration is easy enough (that is the previous run's result) but I don't think quantifying the amount of material is practical in this case.
  2. This might be the crux of my question, maybe I can but I don't know how!  All of the designs I know of or could find would give good distribution of the changes before each run if many runs were included, but that defeats the project goal of doing this with as few runs as possible. I hope to find a design that varies not only the values for each run but also the changes prior to that run.
  3. You could have a good point here, I think there is a trade off between starting with a process that is too clean versus one that is too dirty as compared to the expected run conditions in the future.
  4. Yes in this case we have full control over the conditions, so I agree this is a good approach.  As with point 2, I'm doing this today by manually modifying the DOE design, it would be nice to find an design method that would do it for me.
  5. Good idea!  I was planning to use replicated runs to quantify the measurement error but why go through all that trouble when we could just conduct a measurement system analysis using one of the runs.
P_Bartell
Level VIII

Re: Design an experiment anticipating autocorrelation.

I'll add one thought to @Craige_Hales and @statman 's comments...for you to consider on the analysis side. Make sure you cast a skeptical eye on your residual plots, especially the residuals vs. experimental execution run order plot. Look at those plots for what I call Peter Bartell's '3 second rule.' If you see a pattern in the first 3 seconds...you've got some amount of autocorrelation. If you don't see a pattern in 3 seconds...stop looking. Whatever you did to actually run the experiment didn't result in substantial autocorrelation of the responses.

SamGardner
Level VII

Re: Design an experiment anticipating autocorrelation.

One overall good strategy to minimize the impact of an overall trend in  designed experiment is to randomize the experimental run order.  This has the general effect of balancing the factor levels across the timeline of the experiment.  You can show, as long as the trend or autocorrelation is not a dominant effect, that the impact of that nuisance variation is often small.

 

Create an "artificial blocking" factor and include that in the design (i.e. Blocking factor named "Run Order Group", numbered 1, 2, ...) and build the DOE with that factor in it.   So you could do blocks of size 3 or 4 and randomize within blocks.  That has a similar effect as randomization, but it will tend to more directly balance factor levels within each block, again minimizing the effect of the autocorrelation.