BookmarkSubscribe
Choose Language Hide Translation Bar
robert_mcintyre
Community Trekker

how to set alpha level for DOE in JSL

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

0 Kudos
3 REPLIES 3

Re: how to set alpha level for DOE in JSL

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!
0 Kudos
robert_mcintyre
Community Trekker

Re: how to set alpha level for DOE in JSL

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

Got it.

0 Kudos

Re: how to set alpha level for DOE in JSL

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

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

Cheers,

Ryan