Hello,
I have a function inspired from this Post that seeks to do the process capability in a generalized way for my needs. The one issue I am having is setting this so that it does not assume Normal distribution. I want this to look at each column and choose the best fit option for the analysis.
Here is the function I have more or less (I have cut out simple changing names of columns and such). Is there a simple way of adding to this to accomplish using best fit instead of assuming normal?
ProcessFunc = Function( {TheList},
TheVars = ":Name(\!"" || TheList[1] || "\!")";
For( i = 1, i <= nitems(Rcols), i++,
TheVars = TheVars || "," || ":Name(\!"" || TheList[i] || "\!")"
);
pcVar=Eval(Parse("dt5 << Process Capability(
Process Variables( "|| TheVars|| "))
);"));
pcVar << Overall Sigma Summary Report;
pcVar << Save Spec Limits as Column Properties;
);