Hello everyone,
I'm here with a new problem.
I'm trying to change the profiler values with a variable, and cannot manage to make it work.
Here's my code :
Eval(
Eval Expr(
analysis = Life Distribution(
Y( :TTF ),
Censor( :Censor ),
Censor Code( 1 ),
<<Fit Lognormal,
Change Confidence Level( Expr( CL ) ),
Confidence Interval Method( Likelihood ),
<<Set Scale( Lognormal ),
<<Suppress Plot( Nonparametric ),
Interval Type( Simultaneous ),
Show Event Plot Frequency Label( 0 ),
<<Set Scriptables(
{Probability Paper( Profiler( 1, Confidence Intervals( 1 ), Term Value( TTF( Expr( Time_ ) ) ) ) ),
Lognormal Distribution( Profiler( 1, Confidence Intervals( 1 ), Term Value( TTF( Expr( Time_ ) ) ) ) ),
Lognormal Quantile( Profiler( 1, Confidence Intervals( 1 ), Term Value( Probability( 0.5 ) ) ) ),
Lognormal Hazard( Profiler( 1, Confidence Intervals( 1 ), Term Value( TTF( Expr( Time_ ) ) ) ) ),
Lognormal Density( Profiler( 1, Term Value( TTF( Expr( Time_ ) ) ) ) ), Custom Estimation( Lognormal, 0 )}
),
)
)
);What is working :
- Display of life distribution
- Change of confidence interval : with the variable CL
- Change of the name of the profiler horizontal axis : TTF
What is not working :
- Change of the values set by the profiler : should be the value of my variable "Time_"... : the value is the one give by the profiler as default value.
Somehow, JMP do not take into account the variable "Time_". Even if the code do not crash during running.
Can someone help me on this ?
Thanks