I have a script that works well in JMP version 5.0.1.2, but doesn't work in
JMP version 5.1. There is a difference in the error messaging between the
two.
I am running a Dunnett's comparison. There are some combinations of the by
variables (stored in the bylizt global) that have only a single level. The
script calls for the Dunnett's automatically. In JMP version 5.0, the
script kept going even if there was no basis for comparison at that
particular combination of by variables.
The problem is that in JMP version 5.1, the script does not create the
oneway plots for all possible combinations of the by variables because of
the Dunnett's error message.
I am trying a work around to separately create the oneway, then add the
compare means statement within a try. Does anyone know the correct syntax
to do this?
CODE for JMP 5.0.1.2
all the rows for the control level are selected earlier in the code
NU1Way = Oneway( Y(eval(parmlizt)),
X( eval(idz[1])), By (eval(bylizt)) , Means and Std Dev(1),
With Control(1), Box Plots(0), Mean Diamonds(1), Comparison
Circles(1),
X Axis proportional(0), Grand Mean(0), Mean Error Bars(0), Std Dev
Lines(0));
REPLACEMENT CODE for JMP 5.1, the line in bold is not executing like I
expected.
NU1Way = Oneway( Y(eval(parmlizt)),
X( eval(idz[1])), By (eval(bylizt)) , Means and Std Dev(1),
Box Plots(0),
X Axis proportional(0), Grand Mean(0), Mean Error Bars(0), Std Dev
Lines(0));
for(i=1, i<=nitems(NU1Way), i++,
try(oneway[i] << compare means(with control(dunnck))) );
Laura
EDC, Systems Engineering Center 6/57/KP MC: 25685
Phone: (585) 722-5760 Email: Laura.Linder@Kodak.com
|