Hi,
I am using the following code to define formula in the column "Response Prediction Formula" in my table. As can be seen in the code, a parameter called "tuning" is defined in the formula. Now, instead of 1 parameter, I have to define k parameters in the formula such as tuning1, tuning2, ...tuningk. Is there a way I can do this using a for loop? Please let me know. Thanks!!!
Eval(
Substitute(
Expr(
:Response Prediction Formula << set formula(tuning=1,b0=1,b1=1; b0+b1*f11)
:Response Prediction Formula << setFormula( Parameter( {tuning = initialValueTBD,b0 = 0,b1 = 1}, b0+b1*f11 ) ),
),
Expr(initialValueTBD), 1,
Expr(f11), evalexpr(f11)
)
);