cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
ScrivensL
Level I

Nonlinear Fit SSE Grid Scripting Syntax

I'm using JMP 17.2 and I can't find much information online with how to script an SSE Grid using the nonlinear tool under 'Specialized Modeling'. I can see from the scripting index the below, but I can't see how to set the min, max, and number of points programmatically via the scripts. Is someone able to explain the syntax that can be used with SSE Grid with an example of setting the parameter min, max, and number of points?

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Nonlinear Examples/CES Production Function.jmp" );
obj = Nonlinear( Y( :"log($ value)"n ), X( :Model ), Finish );
obj << SSE Grid;
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Nonlinear Fit SSE Grid Scripting Syntax

I'm not sure if there are any other options than setting the values directly to the number col edit boxes and then "clicking" the button

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Nonlinear Examples/CES Production Function.jmp");
obj = dt << Nonlinear(Y(:"log($ value)"n), X(:Model), Finish);
obj << SSE Grid;

ob = Report(obj)[OutlineBox("Specify Grid for Output")];
tb = ob[Table Box(1)];

mins = {0, 1, 2, 3};
maxs = {1, 2, 3, 4};
points = {10, 12, 13, 14};

tb[2] << Set(mins);
tb[3] << Set(maxs);
tb[4] << Set(points);

ob[Button Box(1)] << Click(1);
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Nonlinear Fit SSE Grid Scripting Syntax

I'm not sure if there are any other options than setting the values directly to the number col edit boxes and then "clicking" the button

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Nonlinear Examples/CES Production Function.jmp");
obj = dt << Nonlinear(Y(:"log($ value)"n), X(:Model), Finish);
obj << SSE Grid;

ob = Report(obj)[OutlineBox("Specify Grid for Output")];
tb = ob[Table Box(1)];

mins = {0, 1, 2, 3};
maxs = {1, 2, 3, 4};
points = {10, 12, 13, 14};

tb[2] << Set(mins);
tb[3] << Set(maxs);
tb[4] << Set(points);

ob[Button Box(1)] << Click(1);
-Jarmo