In Fit Model, how to Output Grid Table as "Invisible" and store it in a variableUsing the fit model function of JMP, we can output predicted values while fixing the value of another column. The script I use is below:
obj=Fit Model(
Y(:Name( "OutVar1" ), :Name( "OutVar2" ), :Name( "OutVar3" ))
Effects( :Name( "NormVar1" ) ),
Personality( Standard Least Squares ),
Emphasis( Minimal Report ),
By(:Name( "GrpVar1" ), :Name( "GrpVar2" )),
Run
);
obj2=obj<<PROFILER></PROFILER>
Hm, my question is how to I make the table from "Output Grid Table" command as invisible? I also want to store this table in a variable.
I tried this but it didn't work. Not even a table was generated,
obj3=obj2 << Output Grid Table;obj2=obj<<PROFILER></PROFILER>
Any ideas? Thanks.
Re: In Fit Model, how to Output Grid Table as "Invisible" and store it in a variableHi @txnelson,
Thanks for the code. This is very helpful. I find it weird though that the script
Current Data Table()<<SHOW window=""></SHOW>
does not work in itself. Instead, I have to do this:
Show(Current Data Table()<<GET name=""></GET>
Nevertheless, the current script is now working. Thanks again for the help.
Shaira
Re: In Fit Model, how to Output Grid Table as "Invisible" and store it in a variableThe script below will make the data table invisible, and attach a handle to the table. It isn't as smooth as it should be. I suggest you pass this to
support@jmp.com
as an enhancement request. There really should be syntax within the profiler to permit this directly.
obj=Fit Model(
Y(:Name( "OutVar1" ), :Name( "OutVar2" ), :Name( "OutVar3" ))
Effects( :Name( "NormVar1" ) ),
Personality( Standard Least Squares ),
Emphasis( Minimal Report ),
By(:Name( "GrpVar1" ), :Name( "GrpVar2" )),
Run
);
obj2=obj<<PROFILER></PROFILER>