cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

How do I create and modify DOE->Evaluate Design within an application?

I am looking to create the evaluate design window and put in some added modifications through an application. I am unable to correctly identify how to call different parts of the evaluate design report in order to modify them properly. If anyone is able to display the different properties of evaluate design in a sample script, it would be of much help. Thank you.

1 REPLY 1
ian_jmp
Staff

Re: How do I create and modify DOE->Evaluate Design within an application?

Perhaps a variation of this kind of thing?

NamesDefaultToHere(1);

doeObj = DOE(

Custom Design,

{Add Response( Maximize, "Y", ., ., . ),

Add Factor( Continuous, -1, 1, "X1", 0 ),

Add Factor( Continuous, -1, 1, "X2", 0 ),

Add Factor( Continuous, -1, 1, "X3", 0 ),

Add Factor( Continuous, -1, 1, "X4", 0 ),

Add Factor( Continuous, -1, 1, "X5", 0 ), Set Random Seed( 552161 ),

Number of Starts( 1 ), Add Term( {1, 0} ), Add Term( {1, 1} ),

Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ), Add Term( {5, 1} ),

Add Alias Term( {1, 1}, {2, 1} ), Add Alias Term( {1, 1}, {3, 1} ),

Add Alias Term( {1, 1}, {4, 1} ), Add Alias Term( {1, 1}, {5, 1} ),

Add Alias Term( {2, 1}, {3, 1} ), Add Alias Term( {2, 1}, {4, 1} ),

Add Alias Term( {2, 1}, {5, 1} ), Add Alias Term( {3, 1}, {4, 1} ),

Add Alias Term( {3, 1}, {5, 1} ), Add Alias Term( {4, 1}, {5, 1} ),

Set Sample Size( 12 ), Make Design}

);

doeRpt = doeObj << Report;

Wait(2);

doeRpt["Design Evaluation"] << Close(0);

Wait(2);

doeRpt["Design Evaluation"] << Append(ButtonBox("Press Me", Beep(); Web("http://www.jmp.com")));