Scripting "make into combined data table" of Fit Life By X with multiple groupsI am trying to build a generic script for Fit Life By X and make into combined data table", as follows:
flx = Fit Life by X(
Distribution( Weibull ),
Nested Model Tests( Location and Scale ),
Y( :Name("Left"), :Name("Right") ),
X( :d ),
By(:Name ,:Location,:Street,:Apt,:Number),
<<FIT weibull=""></FIT>
This generic script will be applied to multiple different data table where the values of all "By" columns will change which makes the line with "....<<Make Combined Data Table" not applicable.
How do I script to make a generic script for this?
Automation and ScriptingWindowsRe: Scripting "make into combined data table" of Fit Life By X with multiple groupsI'm not familiar with Fit Life by X but seems like it provides unnecessary complicated JSL but I'm not sure what could be easily removed. What you want to do, is to find first Weibull results table box for estimates and send the message to that.
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Reliability/Devalt.jmp");
flx = dt << Fit Life by X(
SendToByGroup({:Status == "Censored"}),
Distribution(Lognormal),
Relationship(Arrhenius Celsius),
Y(:Hours),
X(:Temp),
Censor(:Censor),
Censor Code(1),
Freq(:Weight),
<<FIT lognormal=""></FIT>
If you have JMP17 you could also see what type of box path you can get from properties. Use Properties from toolbar

and then find your table box and highlight it

Report(platform)["Results","Weibull Results",TabPageBox(1),"Statistics","Estimates",TableBox(1)]
Quickly looking this could be fairly robust option
Re: Scripting "make into combined data table" of Fit Life By X with multiple groupsI am not sure that I understand the problem. I have questions:
Do you have the data table?
Does the above script run?
If the script runs, what is the resulting table, and how is it different from your expectation?
If you are not able to share your data here, please contact support@jmp.com . And we can address it through that channel. Thanks!