Community Trekker

Joined:

Mar 27, 2015

## DOE Scripting: Get the power

Hi JMP-Gurus, again.

I'm playing around with DoEs in JSL. Now I was wondering how I could get the power for the factors? I tried

dsd = DOE(Definitive Screening);

dsd << Make Design;

dsd << Get Power;

But somehow the "Get Power"-functions seems to return a "DOE"-object instead of the vectors that I expected. At the same time the demo code from the scripting index works:

Names Default To Here( 1 );

dt = Open(

"\$SAMPLE_DATA/Design Experiment/Bounce Data.jmp"

);

d = DOE(

Evaluate Design,

X( :Silica, :Sulfur, :Silane ),

Y( :Stretch )

);

d << Get Power;

But I would prefer to get the power without having to set up the whole design and then creating a new DOE-Evaluation-object. This seems to be a bit inconvenient for me.

Thanks for any help,

Sebastian!

1 ACCEPTED SOLUTION

Accepted Solutions

Joined:

Nov 1, 2013

Solution

## Re: DOE Scripting: Get the power

You're correct that it currently is only recognized by Evaluate Design - we'll look into getting that corrected in a future version. In the meantime, this should work with the jsl you provided above:

rpt = dsd << report;

rpt[OutlineBox("Power Analysis")][NumberColBox("Power")]<<getasmatrix;

2 REPLIES

Joined:

Nov 1, 2013

Solution

## Re: DOE Scripting: Get the power

You're correct that it currently is only recognized by Evaluate Design - we'll look into getting that corrected in a future version. In the meantime, this should work with the jsl you provided above:

rpt = dsd << report;

rpt[OutlineBox("Power Analysis")][NumberColBox("Power")]<<getasmatrix;

Community Trekker

Joined:

Mar 27, 2015

## Re: DOE Scripting: Get the power

Thanks a lot. That does the job!