Home › Forums › General Forums › Methodology › How Can I Simulate Trial Execution Model for Virtual DoE?

Tagged: Design of Experiments, modelling, Simulation

This topic contains 5 replies, has 6 voices, and was last updated by Liam 3 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)

- AuthorPosts
Could you please help me with this problem?

I want to create a computer emulator for a learning purpose. It will emulate a binary outcome and use several Yes/No factors as an input (lets say A B C).

The output will be the % of successes.The output when all factors are at “-” is 5% of successes.

When

A at “+” 5.5% (0.5% gain)

B at “+” 6.5% (1.5% gain)

C at “+” 5% (0% gain)

A and B at “+” (AB interaction) 7.5% (2.5% gain)So I want to implement it in a software as a trial execution model with the list of random trials and outputs(depending on levels of factors A-B-C).

Example of software behavior:

Order of trial ABC Output

1st trial + + + Fail

2nd trial + – + Fail

3rd trial + – – Success

…..

10000 trial + – – FailI want it to look realistic so that not all the time the combination of A+ B- C- will result to “Success” because the process is not physical, it is a human response.

What is the general steps of constructing such an algorithm?

What is the most appropriate tool for this? Excel, JMP, R or simulation software like Anylogic, Promodel?Excel or Minitab or any other ….

Unsure of where you’re going but it sounds interesting.

Why do you want to do this yourself? Configurable simulation software is readily available (for a price, of course). Even if you’re a talented computer scientist / software engineer this is a very difficult and time-consuming endeavor, you’re unlikely to do as well as what you can get “off the shelf”, and since you’re only looking at a specific scenario it won’t be useful for anything else.

It seems any software can help generate three sets of data according to your assumptions. Then you need to process it to get exact model. That’s why it is easier to do in software where you are running DOE analysis.

If you know the formula, and how each X behaves (some typical value and variance), and you want to see how the results will behave… try a Monte Carlo Simulation. There is software for this, but you can use excel. Create column A, B, C, and a column Y for your formula (=A+B+A*B… whatever). Then for A, create a random number equation that has the same typical value and the distribution and create several thousand rows. Repeat for B, C, etc and fill your Y equation down.

This is probably easiest using MINITAB where they have numerous distributions and you quickly generate thousands of rows.

Google: “Understanding Monte Carlo Simulation with an Example” and click the Minitab Blog link.

Yes, sounds like Monte Carlo would be a good fit here. I’d be happy to link you to an online SIMUL8 Simulation example that can do this. Can you explain more about the success criteria and the way that you want the randomization to occur? I.e. why is +-+ a fail and +– is a success? Should the variation in occurrence of these be totally random in each trial or set by % likelihood?

General steps would be

1) set your arrival behaviour; how many occurrences to test per trial, the likelihood of each variance + and -.

2) define you success criteria; usually we will do this with if statements or by using the ‘Route out by type’ function in SIMUL8.

3) have a means of recording results; in this case the success count or %.

4) Assess your trial results; in Monte Carlo typically by % occurrence.- AuthorPosts

Viewing 6 posts - 1 through 6 (of 6 total)

© Copyright iSixSigma 2000-2018. User Agreement. Any reproduction or other use of content without the express written consent of iSixSigma is prohibited. More »