Hi everyone, i'm new to this forum and hope to get along with you all:) I'm a student using JMP but am facing some difficulties in scripting pertaining to the fit model part. The following illustrates the fit model code which i can't seem to get it working:
a=0;
var_list={:param1,:param2};
rs_list={:test1,:test2,:test3,:test4,:test5};
obj=Fit Model(
Y(var_list[1]),
Effects( response surface(:test1,:test2,:test3,:test4,:test5) ),
Personality( Standard Least Squares ),
Emphasis( Effect Screening ),
Run()
);
if(a==1,
obj<<Profiler(1, Confidence Intervals( 1 ),Desirability Functions( 1 ),
var_list[1]<<Response Limits( {Goal( Maximize ), Importance( 1 )} ),
maximize desirability(1),
);
obj << {Lack of Fit( 0 ), Sorted Estimates( 1 ),
Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
Plot Residual by Predicted( 0 ), Plot Effect Leverage( 0 )};
);
if(a==0,
obj<<Profiler(1, Confidence Intervals( 1 ),Desirability Functions( 1 ),
var_list[1]<<Response Limits( {Goal( Minimize), Importance( 1 )} ),
maximize desirability(1),
);
obj << {Lack of Fit( 0 ), Sorted Estimates( 1 ),
Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
Plot Residual by Predicted( 0 ), Plot Effect Leverage( 0 )};
);
i have 10 variables in a list and would like to use them all to go through a series of least square analysis via fitmodelling but i can't seem to get it to work. the code above was initially planned to be inserted into a for loop to loop 10 times (this might vary as the number of variables might be more or less) but the thing is i would like to use a loop to command jmp to perform the desired analysis from the list above...also, is it possible to place rs_list into the response surface function above? (i can't seem to get the list to work too)...any ideas or advice is greatly appreciated! thanx in advance and have a nice day ahead!:)