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
GroupSquareWolf
Level III

Finding script logs during 4PL analysis

Using JMP16. Trying to write a script to automate a workflow for 4PL regression analysis. 

Please see my screen shot below. Under the Logistic 4P red triangle, when any of the operation listed is being executed, eg "Make Parameter Table" or "save fomula", there is no script recorded in the log. How can I find the scripts for the operations? 

 

Thanks

 

GroupSquareWolf_0-1646516668522.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
jthi
Super User

Re: Finding script logs during 4PL analysis

Scripting Index will help here also.

jthi_0-1646550314465.png

so you will either need to know the original name of column or you can also use index:

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
Column(dt, 1) << Set Name("Test")
-Jarmo

View solution in original post

Georg
Level VII

Re: Finding script logs during 4PL analysis

In addition to proposal of @jthi you can try comand "show properties()", it is sometimes more straightforward to find what actions are allowed for certain objects.

 

Names Default To Here( 1 );
Clear Log();

dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

obj = dt << Fit Curve( Y( :weight ), X( :height ), Group( :sex ) );
obj << fit quadratic;

// show properties(obj);
// show properties(dt);
Show Properties( dt:height );
Georg

View solution in original post

3 REPLIES 3
GroupSquareWolf
Level III

Re: Finding script logs during 4PL analysis

Found the script in Srcipt Index.

A new question:

How to rename the new column generated by "Save formula" and the new table by "Make parameter table" in the script?

Thanks!

dt= Current data table ();

obj= dt << Fit Curve( 
Y( :response ), X( :Log Concentration ), Group( :compounds ), Fit Logistic 4P 
);

obj << (Fit ["Logistic 4P"] <<
Save Parametric Prediction Formula);

obj << Fit ["Logistic 4P"](Make Parameter Table  

re 

jthi
Super User

Re: Finding script logs during 4PL analysis

Scripting Index will help here also.

jthi_0-1646550314465.png

so you will either need to know the original name of column or you can also use index:

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
Column(dt, 1) << Set Name("Test")
-Jarmo
Georg
Level VII

Re: Finding script logs during 4PL analysis

In addition to proposal of @jthi you can try comand "show properties()", it is sometimes more straightforward to find what actions are allowed for certain objects.

 

Names Default To Here( 1 );
Clear Log();

dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

obj = dt << Fit Curve( Y( :weight ), X( :height ), Group( :sex ) );
obj << fit quadratic;

// show properties(obj);
// show properties(dt);
Show Properties( dt:height );
Georg