Subscribe Bookmark RSS Feed

how to set alpha level for DOE in JSL

robert_mcintyre

Community Trekker

Joined:

Aug 21, 2014

What is the syntax for setting alpha level in JSL for DOE?

3 REPLIES
markbailey

Staff

Joined:

Jun 23, 2011

By example:

doe# = 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( 11149312 ),

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}

);

doe report# = doe# << Report;

doe report#["Power Analysis"][NumberColEditBox(1)] << Set Values( [0.15] );

Learn it once, use it forever!
robert_mcintyre

Community Trekker

Joined:

Aug 21, 2014

Thanks Mark. I had hoped it was as simple as "Set Significance Level (.15)"

Got it.

ryan_lekivetz

Joined:

Nov 1, 2013

If you follow Mark's example, the following works for me in 12.2:

doe# << set significance level(.15);

Cheers,

Ryan