Subscribe Bookmark RSS Feed

DOE Scripting: Get the power

sebastianhoffme

Community Trekker

Joined:

Mar 27, 2015

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 << Add Factor;

dsd << Add Factor;

dsd << Add Factor;

dsd << Add Factor;

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
Solution

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
Solution

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;

sebastianhoffme

Community Trekker

Joined:

Mar 27, 2015

Thanks a lot. That does the job!