Hi. In the Distribution platform, is there a way to refer back to a fitted distribution if the Fit Distribution("All") option is used?
Context: I have a script that fits multiple distributions to my data using the Distribution platform. When I include the Fit Distribution("All") option, the report includes a table "Compare Distributions" with the ranking of each distribution. For example:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dist = Distribution(
Continuous Distribution(
Column(dt:Height),
Quantiles(0),
Vertical(0),
Outlier Box Plot(0),
Fit Distribution("All")
)
);
dist << (Fit Handle[1] << Set Spec Limits for K Sigma(3)); //Does nothing
My problem occurs when I want to use the "Set Spec Limits for K Sigma" command. Naturally I must indicate which one of the specific fits this is meant for. I've tried using Fit HandleI[1], intending to refer to the first fit in the "Compare Distributions" table, but this has no effect.
In the example above, I can use Set Spec Limits for K Sigma command in the GUI (i.e. report window), so in theory I believe I should be able to do this programmatically as well. So far the best option I can think of is to use the above code to identify the best distribution, the re-perform a separate fit using that specific distrubtion, which I would then be able to refer the Set Spec Limits for K Sigma command to. This involves extra computation and code though, which I would prefer to avoid.
Any help is appreciated. Thanks.