<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is it possible to run multiple univariate Cox survival analysis in one step in JMP ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-run-multiple-univariate-Cox-survival-analysis/m-p/673474#M86097</link>
    <description>&lt;P&gt;I am trying to test multiple variables in independant univariate Cox survival analysis (with years of survival and years of follow-up censor). Is there a way to run multiple variables at once but to have an independant univariate Cox analysis instead of a multivariate analysis ? I have a lot of variables I'd like to test and would prefer not having to clock them all one by one.&lt;/P&gt;&lt;P&gt;Is there a script I should use ?&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 17:56:27 GMT</pubDate>
    <dc:creator>GCardin</dc:creator>
    <dc:date>2023-09-01T17:56:27Z</dc:date>
    <item>
      <title>Is it possible to run multiple univariate Cox survival analysis in one step in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-run-multiple-univariate-Cox-survival-analysis/m-p/673474#M86097</link>
      <description>&lt;P&gt;I am trying to test multiple variables in independant univariate Cox survival analysis (with years of survival and years of follow-up censor). Is there a way to run multiple variables at once but to have an independant univariate Cox analysis instead of a multivariate analysis ? I have a lot of variables I'd like to test and would prefer not having to clock them all one by one.&lt;/P&gt;&lt;P&gt;Is there a script I should use ?&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 17:56:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-run-multiple-univariate-Cox-survival-analysis/m-p/673474#M86097</guid>
      <dc:creator>GCardin</dc:creator>
      <dc:date>2023-09-01T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run multiple univariate Cox survival analysis in one step in JMP ?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-run-multiple-univariate-Cox-survival-analysis/m-p/673959#M86141</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/50024"&gt;@GCardin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What kind of information do you want to get from the univariate Cox survival analysis report?&lt;BR /&gt;If you want to get all p-values of effect likelihood ratio tests, one idea is to use column switcher and jsl.&lt;BR /&gt;1. Fit the proportional hazards model and set the column switcher from the red triangle.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2023-09-04 143801.png" style="width: 373px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56198iC2E99D5D9610676F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-09-04 143801.png" alt="2023-09-04 143801.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Write the following code in the scripting window and edit line 9 in the script.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rpt = Current Report();
colswitcher_obj = rpt[ColumnSwitcherCOntextOutlinebox( 1 )] &amp;lt;&amp;lt; get scriptable object;
colswitch_list = colswitcher_obj &amp;lt;&amp;lt; get list;

/* Loop through each column in the colswitch_list */
For( i = 1, i &amp;lt;= N Items( colswitch_list ), i++, 

	/* Change here */
	dt1 = rpt[Outline Box( "Effect Likelihood Ratio Tests" )][Table Box( 1 )] &amp;lt;&amp;lt;
	make combined data table;

	/* Concatenate the tables */
	If( i == 1,
		main_tb = dt1;
		main_tb &amp;lt;&amp;lt; Set Name( "All" );
	,
		Try( main_tb &amp;lt;&amp;lt; Concatenate( dt1, Append to First Table ) );
		Close( dt1, No Save );
	);

   /* Close temporary tables and switch next column */
	colSwitcher_obj &amp;lt;&amp;lt; Next;
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;3.&amp;nbsp;Run the script from the Edit menu.&lt;BR /&gt;You can get data table containing information for p-values.&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 05:45:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-run-multiple-univariate-Cox-survival-analysis/m-p/673959#M86141</guid>
      <dc:creator>yuichi_katsumur</dc:creator>
      <dc:date>2023-09-04T05:45:43Z</dc:date>
    </item>
  </channel>
</rss>

