Hello @GCardin ,
What kind of information do you want to get from the univariate Cox survival analysis report?
If you want to get all p-values of effect likelihood ratio tests, one idea is to use column switcher and jsl.
1. Fit the proportional hazards model and set the column switcher from the red triangle.
![2023-09-04 143801.png 2023-09-04 143801.png](https://community.jmp.com/t5/image/serverpage/image-id/56198iC2E99D5D9610676F/image-size/medium?v=v2&px=400)
2. Write the following code in the scripting window and edit line 9 in the script.
rpt = Current Report();
colswitcher_obj = rpt[ColumnSwitcherCOntextOutlinebox( 1 )] << get scriptable object;
colswitch_list = colswitcher_obj << get list;
/* Loop through each column in the colswitch_list */
For( i = 1, i <= N Items( colswitch_list ), i++,
/* Change here */
dt1 = rpt[Outline Box( "Effect Likelihood Ratio Tests" )][Table Box( 1 )] <<
make combined data table;
/* Concatenate the tables */
If( i == 1,
main_tb = dt1;
main_tb << Set Name( "All" );
,
Try( main_tb << Concatenate( dt1, Append to First Table ) );
Close( dt1, No Save );
);
/* Close temporary tables and switch next column */
colSwitcher_obj << Next;
);
3. Run the script from the Edit menu.
You can get data table containing information for p-values.
I hope it helps.