<?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 Re: Error in nonparametric survival analysis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/978116#M378574</link>
    <description>"if you try to put the 0 in the box where you have to put the censoring value"&lt;BR /&gt;Sorry. I don't understand your question.&lt;BR /&gt;Can you start a brand-new session at Stat Forum to let other sas user of statistical expert  to see this ?&lt;BR /&gt;And can you post an example based on sashelp.bmt dataset to illustrate this issue ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Oct 2025 01:28:59 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2025-10-30T01:28:59Z</dc:date>
    <item>
      <title>Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970663#M377130</link>
      <description>&lt;P&gt;I cannot run nonparametric survival analysis with SAS OnDemand for Academics anymore.&lt;/P&gt;&lt;P&gt;It appears this error:&lt;/P&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;76&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 79-322: Expecting a (.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Is there any solution?&lt;/DIV&gt;</description>
      <pubDate>Sun, 13 Jul 2025 14:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970663#M377130</guid>
      <dc:creator>VitoAmoroso</dc:creator>
      <dc:date>2025-07-13T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970665#M377132</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/476205"&gt;@VitoAmoroso&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I cannot run nonparametric survival analysis with SAS OnDemand for Academics anymore.&lt;/P&gt;
&lt;P&gt;It appears this error:&lt;/P&gt;
&lt;DIV class=""&gt;79&lt;/DIV&gt;
&lt;DIV class=""&gt;76&lt;/DIV&gt;
&lt;DIV class=""&gt;ERROR 79-322: Expecting a (.&lt;/DIV&gt;
&lt;DIV class=""&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;Is there any solution?&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hard to tell since you did not share the full log for the step.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2025 17:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970665#M377132</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-07-13T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970667#M377133</link>
      <description>&lt;P&gt;Here is proper log entry showing a similar error I generated. Best is to copy the text from the log for the entire procedure or data step, on the forum open a text box using the &amp;lt;/&amp;gt; and paste the text. The result would look like:&lt;/P&gt;
&lt;PRE&gt;100  data junk;
101     x = rand 'integer',5);
                 ---------
                 22
                 76
ERROR 22-322: Syntax error, expecting one of the following: (, [, {.

ERROR 76-322: Syntax error, statement will be ignored.

102  run;
&lt;/PRE&gt;
&lt;P&gt;The text box is important to preserve formatting as the forum software will reformat text so the indicators of where the error is detected, the underscore characters, will not appear where they should.&lt;/P&gt;
&lt;P&gt;The fix is usually to enter a ( in the appropriate place:&lt;/P&gt;
&lt;PRE&gt;103  data junk;
104     x = rand ('integer',5);
105  run;

NOTE: The data set WORK.JUNK has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2025 17:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970667#M377133</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-07-13T17:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970674#M377134</link>
      <description>&lt;P&gt;Thanks for your reply. This is the full log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/DIV&gt;&lt;DIV class=""&gt;69&lt;/DIV&gt;&lt;DIV class=""&gt;70 /*&lt;/DIV&gt;&lt;DIV class=""&gt;71 *&lt;/DIV&gt;&lt;DIV class=""&gt;72 * Task code generated by SAS Studio 3.8&lt;/DIV&gt;&lt;DIV class=""&gt;73 *&lt;/DIV&gt;&lt;DIV class=""&gt;74 * Generated on '7/13/25, 11:07 PM'&lt;/DIV&gt;&lt;DIV class=""&gt;75 * Generated by 'vitoamoroso0'&lt;/DIV&gt;&lt;DIV class=""&gt;76 * Generated on server 'ODAWS02-EUW1.ODA.SAS.COM'&lt;/DIV&gt;&lt;DIV class=""&gt;77 * Generated on SAS platform 'Linux LIN X64 5.14.0-284.30.1.el9_2.x86_64'&lt;/DIV&gt;&lt;DIV class=""&gt;78 * Generated on SAS version '9.04.01M8P02222023'&lt;/DIV&gt;&lt;DIV class=""&gt;79 * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)&lt;/DIV&gt;&lt;DIV class=""&gt;79 ! Chrome/138.0.0.0 Safari/537.36'&lt;/DIV&gt;&lt;DIV class=""&gt;80 * Generated on web client&lt;/DIV&gt;&lt;DIV class=""&gt;80 ! '&lt;A href="https://odamid-euw1.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT%252B02%253A00&amp;amp;ticket=ST-46149-cZoAGFkZGrP4lyHnOcdVJ" target="_blank" rel="noopener"&gt;https://odamid-euw1.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT%252B02%253A00&amp;amp;ticket=ST-46149-cZoAGFkZGrP4lyHnOcdVJ&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;80 ! fojg3Y-odamid00-euw1'&lt;/DIV&gt;&lt;DIV class=""&gt;81 *&lt;/DIV&gt;&lt;DIV class=""&gt;82 */&lt;/DIV&gt;&lt;DIV class=""&gt;83&lt;/DIV&gt;&lt;DIV class=""&gt;84 ods noproctitle;&lt;/DIV&gt;&lt;DIV class=""&gt;85 ods graphics / imagemap=on;&lt;/DIV&gt;&lt;DIV class=""&gt;86&lt;/DIV&gt;&lt;DIV class=""&gt;87 proc lifetest data=WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class=""&gt;88 time 'Overall survival (months)'n*Censura;&lt;/DIV&gt;&lt;DIV class=""&gt;_&lt;/DIV&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;76&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 79-322: Expecting a (.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;&lt;DIV class=""&gt;89 run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I noticed that the code 0 for censor is the problem. If I insert another value (i.e. 2) the analysis starts...&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 13 Jul 2025 21:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970674#M377134</guid>
      <dc:creator>VitoAmoroso</dc:creator>
      <dc:date>2025-07-13T21:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970680#M377135</link>
      <description>I think the right syntax of proc lifetest is :&lt;BR /&gt;&lt;BR /&gt;proc lifetest data=WORK.IMPORT;&lt;BR /&gt;time 'Overall survival (months)'n*Censura(0);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Here 0 is a value of Cnesura which stands for the censored flag .</description>
      <pubDate>Mon, 14 Jul 2025 00:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/970680#M377135</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-07-14T00:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/971014#M377238</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Error in nonparametric survival analysis&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error message - suddenly, I lost ability to input from task and utility non parametric survival (0) all other numbers work well. Any help would be appreciated (see error message below)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gustavo&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/DIV&gt;&lt;DIV class=""&gt;69&lt;/DIV&gt;&lt;DIV class=""&gt;70 /*&lt;/DIV&gt;&lt;DIV class=""&gt;71 *&lt;/DIV&gt;&lt;DIV class=""&gt;72 * Task code generated by SAS Studio 3.8&lt;/DIV&gt;&lt;DIV class=""&gt;73 *&lt;/DIV&gt;&lt;DIV class=""&gt;74 * Generated on '7/17/25, 10:46 AM'&lt;/DIV&gt;&lt;DIV class=""&gt;75 * Generated by 'garivero0'&lt;/DIV&gt;&lt;DIV class=""&gt;76 * Generated on server 'ODAWS02-USW2.ODA.SAS.COM'&lt;/DIV&gt;&lt;DIV class=""&gt;77 * Generated on SAS platform 'Linux LIN X64 5.14.0-284.30.1.el9_2.x86_64'&lt;/DIV&gt;&lt;DIV class=""&gt;78 * Generated on SAS version '9.04.01M8P02222023'&lt;/DIV&gt;&lt;DIV class=""&gt;79 * Generated on browser 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)&lt;/DIV&gt;&lt;DIV class=""&gt;79 ! Chrome/136.0.0.0 Safari/537.36'&lt;/DIV&gt;&lt;DIV class=""&gt;80 * Generated on web client&lt;/DIV&gt;&lt;DIV class=""&gt;80 ! '&lt;A href="https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-04%253A00&amp;amp;ticket=ST-133605-lEpl7gaDBOK7vMkjyUBtE8Gq" target="_blank" rel="noopener"&gt;https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-04%253A00&amp;amp;ticket=ST-133605-lEpl7gaDBOK7vMkjyUBtE8Gq&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;80 ! S-A-odamid00-usw2'&lt;/DIV&gt;&lt;DIV class=""&gt;81 *&lt;/DIV&gt;&lt;DIV class=""&gt;82 */&lt;/DIV&gt;&lt;DIV class=""&gt;83&lt;/DIV&gt;&lt;DIV class=""&gt;84 ods noproctitle;&lt;/DIV&gt;&lt;DIV class=""&gt;85 ods graphics / imagemap=on;&lt;/DIV&gt;&lt;DIV class=""&gt;86&lt;/DIV&gt;&lt;DIV class=""&gt;87 proc lifetest data=HMAVEN.ALL;&lt;/DIV&gt;&lt;DIV class=""&gt;88 time Overall_survival*Censor_OS;&lt;/DIV&gt;&lt;DIV class=""&gt;_&lt;/DIV&gt;&lt;DIV class=""&gt;79&lt;/DIV&gt;&lt;DIV class=""&gt;76&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 79-322: Expecting a (.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;&lt;DIV class=""&gt;89 run;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Jul 2025 15:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/971014#M377238</guid>
      <dc:creator>garivero70</dc:creator>
      <dc:date>2025-07-17T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/971065#M377248</link>
      <description>you need put 0 or 1 which is the value of Censor_OS after it :&lt;BR /&gt;&lt;BR /&gt;proc lifetest data=HMAVEN.ALL;&lt;BR /&gt;time Overall_survival*Censor_OS(0);&lt;BR /&gt;run;</description>
      <pubDate>Fri, 18 Jul 2025 00:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/971065#M377248</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-07-18T00:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/978093#M378564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;you are right if you correct the code and put the in the code as here = time T*Status(0);&lt;BR /&gt;But if you try to put the 0 in the box where you have to put the censoring value , it wouldn't accept this but i accept any other values not 0 , any solution for this or i should cahnge the coding in the table to have 1 for censoring. This error is even if you tried to use the already uploaded BMT file in SASHELP&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 14:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/978093#M378564</guid>
      <dc:creator>u6988596</dc:creator>
      <dc:date>2025-10-29T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error in nonparametric survival analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/978116#M378574</link>
      <description>"if you try to put the 0 in the box where you have to put the censoring value"&lt;BR /&gt;Sorry. I don't understand your question.&lt;BR /&gt;Can you start a brand-new session at Stat Forum to let other sas user of statistical expert  to see this ?&lt;BR /&gt;And can you post an example based on sashelp.bmt dataset to illustrate this issue ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Oct 2025 01:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-in-nonparametric-survival-analysis/m-p/978116#M378574</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-10-30T01:28:59Z</dc:date>
    </item>
  </channel>
</rss>

