<?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 Error 22-322/Error 202-322 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395662#M66480</link>
    <description>&lt;P&gt;SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code...I am trying to run a proc phreg as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=cars;&lt;/P&gt;&lt;P&gt;model (t1, t2)*status(0)=variables;&lt;/P&gt;&lt;P&gt;output out=gas&lt;/P&gt;&lt;P&gt;ressco=name1 name2 name3&lt;/P&gt;&lt;P&gt;resmart=name1 name2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error messages for ressmart name2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA, LD, LMAX, LOGLOGS, LOGSURV, NUM_LEFT, OUT, RESDEV, RESMART, RESSCH, RESSCO, STDXBETA, SURVIVAL, WTRESSCH, XBETA.&lt;/P&gt;&lt;P&gt;Error 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not use the programming statements method so not sure why this will not work? &amp;nbsp;When I remove the ressmart line, the code runs for the other output statistics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 17:50:08 GMT</pubDate>
    <dc:creator>Wafflecakes</dc:creator>
    <dc:date>2017-09-13T17:50:08Z</dc:date>
    <item>
      <title>Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395615#M66468</link>
      <description>&lt;P&gt;SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a proc phreg with my code like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=;&lt;/P&gt;&lt;P&gt;model (t1,t2)*status(0)= variables;&lt;/P&gt;&lt;P&gt;output out=Miles&lt;/P&gt;&lt;P&gt;ressco=name1 name2&lt;/P&gt;&lt;P&gt;resmart=name1 name2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error 22-322: Syntax error, expecting one of the following: ;,/, ATRISK, DFBETA, LD, LMAX, LOGLOGS, LOGSURV, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NUM_LEFT, OUT, RESDEV, RESMART, RESSCH, RESSCO, STDXBETA, SURVIVAL, WTRESSCH, XBETA.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error 202-322: The option or parameter is not recognized and will be ignored&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am curious to know why this is. &amp;nbsp;Output is not allowed when data is set up via programming statements, but I did not use that. &amp;nbsp;Also, when I remove the line for resmart, the code runs for the other output statistics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:01:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395615#M66468</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395624#M66469</link>
      <description>&lt;P&gt;Post your exact code and log please.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395624#M66469</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395628#M66470</link>
      <description>I edited the post.</description>
      <pubDate>Wed, 13 Sep 2017 16:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395628#M66470</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T16:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395633#M66471</link>
      <description>&lt;P&gt;You have a space with Name&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;_&lt;/STRONG&gt;&lt;/FONT&gt;2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you can't name them the same thing, name1/name2&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395633#M66471</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T16:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395640#M66472</link>
      <description>&lt;P&gt;Use the insert code icon (looks like {i}) to paste in SAS logs. Otherwise the forum will reformat to text to look like pretty paragraphs of text and mess up the formatting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your posted code is using the same variable names for different statistics. You need to give each output variable a different name.&lt;/P&gt;
&lt;P&gt;Also your posted code has a space in the middle of the last output variable name. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is easier to see if you use the insert SAS code icon (looks like the SAS run icon) as it will display in fixed font. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg ;
  model (t1,t2)*status(0)= variables;
  output out=Miles
    ressco=name1 name2
    resmart=name1 name 2
  ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395640#M66472</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-09-13T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395641#M66473</link>
      <description>Sorry, there is no space, that was a typo here. I still get the same error message.</description>
      <pubDate>Wed, 13 Sep 2017 17:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395641#M66473</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T17:00:46Z</dc:date>
    </item>
    <item>
      <title>Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395662#M66480</link>
      <description>&lt;P&gt;SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code...I am trying to run a proc phreg as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=cars;&lt;/P&gt;&lt;P&gt;model (t1, t2)*status(0)=variables;&lt;/P&gt;&lt;P&gt;output out=gas&lt;/P&gt;&lt;P&gt;ressco=name1 name2 name3&lt;/P&gt;&lt;P&gt;resmart=name1 name2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error messages for ressmart name2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error 22-322: Syntax error, expecting one of the following: ;, /, ATRISK, DFBETA, LD, LMAX, LOGLOGS, LOGSURV, NUM_LEFT, OUT, RESDEV, RESMART, RESSCH, RESSCO, STDXBETA, SURVIVAL, WTRESSCH, XBETA.&lt;/P&gt;&lt;P&gt;Error 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not use the programming statements method so not sure why this will not work? &amp;nbsp;When I remove the ressmart line, the code runs for the other output statistics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395662#M66480</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T17:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395669#M66481</link>
      <description>&lt;P&gt;Please post the log with the code and the error. Use a codebox opened with the forum {i} menu icon to preserve formatting. The 322 type errors will usually show an _ where the error was detected and the codebox will preserve the formatting of the log text which the main window doesn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I believe that you meant RESMART not RESSMART. If you see an _ under RESSMART that is the unrecognized option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395669#M66481</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-13T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395670#M66482</link>
      <description>Yes. I meant resmart and I still get the error which shows up under name2. Given my current circumstances, I cannot open the codebox please bare with me.</description>
      <pubDate>Wed, 13 Sep 2017 17:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395670#M66482</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395671#M66483</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. Extra S&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;resmart&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;vs&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;res&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/FONT&gt;mart&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;OUTPUT Statement &lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.phreg.phregoutput" class="AAsection"&gt;
&lt;DIV class="AAoptions"&gt;
&lt;DL class="AAoptions"&gt;
&lt;DD&gt;
&lt;P&gt;&amp;nbsp;OUTPUT Statement&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.phreg.phregoutput" class="AAsection"&gt;
&lt;DIV class="AAoptions"&gt;
&lt;DL class="AAoptions"&gt;
&lt;DT&gt;&lt;SPAN class=" AAterm "&gt;&lt;SPAN class=" AAargument"&gt;keyword=name&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P&gt;&lt;A class="indexterm" name="statug.phreg.a0000000444" target="_blank"&gt;&lt;/A&gt; &lt;A class="indexterm" name="statug.phreg.a0000000445" target="_blank"&gt;&lt;/A&gt; &lt;A class="indexterm" name="statug.phreg.a0000000446" target="_blank"&gt;&lt;/A&gt; specifies the statistics included in the OUTPUT data set and names the new variables that contain the statistics. Specify a &lt;SPAN class=" AAargument"&gt;keyword&lt;/SPAN&gt; for each desired statistic (see the following list of &lt;SPAN class=" AAargument"&gt;keywords&lt;/SPAN&gt;), an equal sign, and either a variable or a list of variables to contain the statistic. &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;The &lt;SPAN class=" AAargument"&gt;keywords&lt;/SPAN&gt; that accept a list of variables are DFBETA, RESSCH, RESSCO, and WTRESSCH. For these &lt;SPAN class=" AAargument"&gt;keywords&lt;/SPAN&gt;, you can specify as many names in &lt;SPAN class=" AAargument"&gt;name&lt;/SPAN&gt; as the number of explanatory variables specified in the MODEL statement.&lt;/STRONG&gt; &lt;/FONT&gt;If you specify &lt;SPAN class=" AAmathtext"&gt;k&lt;/SPAN&gt; names and &lt;SPAN class=" AAmathtext"&gt;k&lt;/SPAN&gt; is less than the total number of explanatory variables, only the changes for the first &lt;SPAN class=" AAmathtext"&gt;k&lt;/SPAN&gt; parameter estimates are output. The &lt;SPAN class=" AAargument"&gt;keywords&lt;/SPAN&gt; and the corresponding statistics are as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;RESMART does not accept a list of variables&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FYI - I'll merge your two posts, I'm not sure why you posted it twice.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395671#M66483</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T17:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395672#M66484</link>
      <description>I thought my initial post was deleted - sorry. Ok that makes sense, but how would I get the martingale residuals that I need then? Does it output it for all variables automatically?</description>
      <pubDate>Wed, 13 Sep 2017 17:56:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395672#M66484</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395673#M66485</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/161013"&gt;@Wafflecakes&lt;/a&gt;&amp;nbsp;&lt;STRONG&gt;please&lt;/STRONG&gt; do not post the same question multiple times and do not edit the posts after the fact - especially your initial posts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any clarifications should go in a new post. Otherwise this makes it hard to follow a thread and understand what's happening if things are changing. This is more of a personal pet peeve, but it helps things flow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395673#M66485</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T17:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395680#M66486</link>
      <description>&lt;P&gt;My apologies. &amp;nbsp;Any thoughts on how I would still generate the martingale residuals?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 18:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395680#M66486</guid>
      <dc:creator>Wafflecakes</dc:creator>
      <dc:date>2017-09-13T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395712#M66487</link>
      <description>&lt;P&gt;From what I'm reading, the martingale residual is a single value, not by variable. I could be mistaken, my Survival analysis is rusty.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 18:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395712#M66487</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322/Error 202-322</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395714#M66488</link>
      <description>&lt;P&gt;This works for me:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Myeloma;                                                       
   input Time VStatus LogBUN HGB Platelet Age LogWBC Frac
         LogPBM Protein SCalc;
   label Time='Survival Time'
         VStatus='0=Alive 1=Dead';
   datalines;
 1.25  1  2.2175   9.4  1  67  3.6628  1  1.9542  12  10
 1.25  1  1.9395  12.0  1  38  3.9868  1  1.9542  20  18
 2.00  1  1.5185   9.8  1  81  3.8751  1  2.0000   2  15
 2.00  1  1.7482  11.3  0  75  3.8062  1  1.2553   0  12
 2.00  1  1.3010   5.1  0  57  3.7243  1  2.0000   3   9
 3.00  1  1.5441   6.7  1  46  4.4757  0  1.9345  12  10
 5.00  1  2.2355  10.1  1  50  4.9542  1  1.6628   4   9
 5.00  1  1.6812   6.5  1  74  3.7324  0  1.7324   5   9
 6.00  1  1.3617   9.0  1  77  3.5441  0  1.4624   1   8
 6.00  1  2.1139  10.2  0  70  3.5441  1  1.3617   1   8
 6.00  1  1.1139   9.7  1  60  3.5185  1  1.3979   0  10
 6.00  1  1.4150  10.4  1  67  3.9294  1  1.6902   0   8
 7.00  1  1.9777   9.5  1  48  3.3617  1  1.5682   5  10
 7.00  1  1.0414   5.1  0  61  3.7324  1  2.0000   1  10
 7.00  1  1.1761  11.4  1  53  3.7243  1  1.5185   1  13
 9.00  1  1.7243   8.2  1  55  3.7993  1  1.7404   0  12
11.00  1  1.1139  14.0  1  61  3.8808  1  1.2788   0  10
11.00  1  1.2304  12.0  1  43  3.7709  1  1.1761   1   9
11.00  1  1.3010  13.2  1  65  3.7993  1  1.8195   1  10
11.00  1  1.5682   7.5  1  70  3.8865  0  1.6721   0  12
11.00  1  1.0792   9.6  1  51  3.5051  1  1.9031   0   9
13.00  1  0.7782   5.5  0  60  3.5798  1  1.3979   2  10
14.00  1  1.3979  14.6  1  66  3.7243  1  1.2553   2  10
15.00  1  1.6021  10.6  1  70  3.6902  1  1.4314   0  11
16.00  1  1.3424   9.0  1  48  3.9345  1  2.0000   0  10
16.00  1  1.3222   8.8  1  62  3.6990  1  0.6990  17  10
17.00  1  1.2304  10.0  1  53  3.8808  1  1.4472   4   9
17.00  1  1.5911  11.2  1  68  3.4314  0  1.6128   1  10
18.00  1  1.4472   7.5  1  65  3.5682  0  0.9031   7   8
19.00  1  1.0792  14.4  1  51  3.9191  1  2.0000   6  15
19.00  1  1.2553   7.5  0  60  3.7924  1  1.9294   5   9
24.00  1  1.3010  14.6  1  56  4.0899  1  0.4771   0   9
25.00  1  1.0000  12.4  1  67  3.8195  1  1.6435   0  10
26.00  1  1.2304  11.2  1  49  3.6021  1  2.0000  27  11
32.00  1  1.3222  10.6  1  46  3.6990  1  1.6335   1   9
35.00  1  1.1139   7.0  0  48  3.6532  1  1.1761   4  10
37.00  1  1.6021  11.0  1  63  3.9542  0  1.2041   7   9
41.00  1  1.0000  10.2  1  69  3.4771  1  1.4771   6  10
41.00  1  1.1461   5.0  1  70  3.5185  1  1.3424   0   9
51.00  1  1.5682   7.7  0  74  3.4150  1  1.0414   4  13
52.00  1  1.0000  10.1  1  60  3.8573  1  1.6532   4  10
54.00  1  1.2553   9.0  1  49  3.7243  1  1.6990   2  10
58.00  1  1.2041  12.1  1  42  3.6990  1  1.5798  22  10
66.00  1  1.4472   6.6  1  59  3.7853  1  1.8195   0   9
67.00  1  1.3222  12.8  1  52  3.6435  1  1.0414   1  10
88.00  1  1.1761  10.6  1  47  3.5563  0  1.7559  21   9
89.00  1  1.3222  14.0  1  63  3.6532  1  1.6232   1   9
92.00  1  1.4314  11.0  1  58  4.0755  1  1.4150   4  11
 4.00  0  1.9542  10.2  1  59  4.0453  0  0.7782  12  10
 4.00  0  1.9243  10.0  1  49  3.9590  0  1.6232   0  13
 7.00  0  1.1139  12.4  1  48  3.7993  1  1.8573   0  10
 7.00  0  1.5315  10.2  1  81  3.5911  0  1.8808   0  11
 8.00  0  1.0792   9.9  1  57  3.8325  1  1.6532   0   8
12.00  0  1.1461  11.6  1  46  3.6435  0  1.1461   0   7
11.00  0  1.6128  14.0  1  60  3.7324  1  1.8451   3   9
12.00  0  1.3979   8.8  1  66  3.8388  1  1.3617   0   9
13.00  0  1.6628   4.9  0  71  3.6435  0  1.7924   0   9
16.00  0  1.1461  13.0  1  55  3.8573  0  0.9031   0   9
19.00  0  1.3222  13.0  1  59  3.7709  1  2.0000   1  10
19.00  0  1.3222  10.8  1  69  3.8808  1  1.5185   0  10
28.00  0  1.2304   7.3  1  82  3.7482  1  1.6721   0   9
41.00  0  1.7559  12.8  1  72  3.7243  1  1.4472   1   9
53.00  0  1.1139  12.0  1  66  3.6128  1  2.0000   1  11
57.00  0  1.2553  12.5  1  66  3.9685  0  1.9542   0  11
77.00  0  1.0792  14.0  1  60  3.6812  0  0.9542   0  12
;

proc phreg data=myeloma;
 model Time*VStatus(0)=LogBUN HGB Platelet Age LogWBC
                         Frac LogPBM Protein SCalc;
output out=gas
ressco=name1
resmart=name2
dfbeta=name3 name4 namd5;
;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Sep 2017 18:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-22-322-Syntax-error-expecting-one-of-the-following-ATRISK/m-p/395714#M66488</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T18:42:13Z</dc:date>
    </item>
  </channel>
</rss>

