I have done scripts before where I do not put columns into the script so that when the script is executed, it brings up the platform and lets them put the information in, such as:
Fit Model(
Y( ),
Effects( ),
Personality( "Standard Least Squares" ),
Emphasis( "Minimal Report" ),
Run(
:height << {Summary of Fit( 1 ), Analysis of Variance( 1 ),
Parameter Estimates( 1 ), Plot Actual by Predicted( 1 ),
Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
Plot Effect Leverage( 1 ), Box Cox Y Transformation( 0 )}
)
);
This brings up the fit model platform for them to enter the information.
But when I try this with the survival platform it does not work.
Names Default To Here( 0 );
Clear Log();
dt = Current Data Table();
If( Not( Is Scriptable( dt ) ),
dtsel = Pick File( "Open File", {"JMP|jmp", "All files|*"} );
If( dtsel == "",
Stop(),
Try( dt = Open( dtsel ), Stop() )
);
);
dt<<Survival(
Y( ),
Grouping( ),
Failure Plot( 1 ),
Show Points( 1 ),
Show Shaded Simultaneous CI( 1 ),
Show Simultaneous CI( 1 )
);
Why does this not work for Survival?
I have JMP Pro 16.0 on a MacBook.