I am trying to save the "Stepwise History" results from the "Fit model" platform into a data table using the
following script:
obj = Fit Model( Y( :Y ), Effects( :X1, :X2, :X3, :X4, :X5, :X6, :X7, :X8, :X9, :X10, :X11, :X12, :X13, :X14 ), Personality( "Stepwise" ), Run( Stopping Rule( "P-value Threshold" ), Prob to Enter( 0.2 ), Direction( "Mixed" ) ) ); obj << go;
r = obj << Report; dt = r[Table Box( 4 )] << Make into Data Table; Close(dt,Save("Testsave.JMP"));
The reult is a data table with the column names from the stepwise history, but with zero rows. So the information I need for the rest of my analysis is not in the table, while the report does show the history.
Does anyone have an idea to get this working?