How can a list variable be evaluate within Set Scriptable?
I have list var estimateTimes = {200, 400, 600, 800, 1000}
I want to use this list to determine what which values to estimate probabilities within Life Distribution platform. I thought Eval List() would work, but it does not. There are no probabilities being shown. Only if I hard code the specific values will the probabilities show up.
My code is (though in general, estimateTimes will be created based on the entries in a data table):
estimateTimes = {200, 400, 600, 800, 1000};
Life Distribution(
Y( Column( startTimeCol ), Column( endTimeCol ) ),
Freq( Column( unitCountCol ) ),
<<Fit DS Weibull,
Change Confidence Level( 0.9 ),
Confidence Interval Method( Wald ),
<<Suppress Plot( Nonparametric ),
<<Set Scriptables(
{Custom Estimation( DS Weibull, 1, Estimate Probability( Eval List( estimateTimes ) ) )}
),
SendToReport(
Dispatch(
{"Compare Distributions"},
"1",
ScaleBox,
{Scale( "Log" ), Min( Minimum( stressTimeList ) / 2 ), Max( Maximum( stressTimeList ) * 3 ),
Inc( 1 ), Minor Ticks( 1 )}
),
Dispatch( {"Compare Distributions"}, startTimeCol, TextEditBox, {Set Text( "Stress Time" )} ),
Dispatch(
{"Compare Distributions", "Distribution Profiler"},
startTimeCol,
TextEditBox,
{Set Text( "Stress Time" )}
),
Dispatch( {"Compare Distributions"}, "Distribution Profiler", OutlineBox, {Close( 1 )} )
)
);