<?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: EFFECT statement in proc logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100519#M5185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this give you what you expect for the variable laglos?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;set old;&lt;/P&gt;&lt;P&gt;laglos=ifn(seq=1,los,lag1(los));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 18:26:07 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2012-08-21T18:26:07Z</dc:date>
    <item>
      <title>EFFECT statement in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100518#M5184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with 9.3 version. It is indicated in the documentation that effect lag is experimental but I am not sure whether the problem in my code (following) caused by that or the other reason. Appreciate if you could help me out on this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;set old;&lt;/P&gt;&lt;P&gt;laglos=ifn(seq=1,los,lag1(los));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc logistic data= new outdesign = x ;&lt;/P&gt;&lt;P&gt;EFFECT lagelig=lag(elig/within=id period=seq nlag=1);&lt;/P&gt;&lt;P&gt;EFFECT lagpdiagnosis=lag(pdiagnosis/within=id period=seq nlag=1);&lt;/P&gt;&lt;P&gt;class&amp;nbsp; mar mtest(missing) pows(ref='NO') rad(ref='NO') lagelig lagpdiagnosis ;&lt;/P&gt;&lt;P&gt;model rstatus(event='1')= id rtime seq disyear admage disage mar mtest pows rad lagelig lagpdiagnosis laglos/ nofit ctable ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the log is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Variable LAGELIG not found.&lt;/P&gt;&lt;P&gt;ERROR: Variable LAGPDIAGNOSIS not found.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.X may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 0 variables.&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp; EFFECT lagelig=lag(elig/within=id period=seq nlag=1);&lt;/P&gt;&lt;P&gt;21&amp;nbsp;&amp;nbsp; EFFECT lagpdiagnosis=lag(pdiagnosis/within=id period=seq nlag=1);&lt;/P&gt;&lt;P&gt;22&amp;nbsp;&amp;nbsp; class&amp;nbsp; mar mtest(missing) pows(ref='NO') rad(ref='NO') lagelig lagpdiagnosis ;&lt;/P&gt;&lt;P&gt;23&amp;nbsp;&amp;nbsp; model rstatus(event='1')= id rtime seq disyear admage disage mar mtest pows rad lag_elig&lt;/P&gt;&lt;P&gt;23 ! lagpdiagnosis laglos/ nofit ctable ;&lt;/P&gt;&lt;P&gt;24&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Issac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 17:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100518#M5184</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-21T17:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: EFFECT statement in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100519#M5185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this give you what you expect for the variable laglos?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data new;&lt;/P&gt;&lt;P&gt;set old;&lt;/P&gt;&lt;P&gt;laglos=ifn(seq=1,los,lag1(los));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 18:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100519#M5185</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-21T18:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: EFFECT statement in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100520#M5186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. It works correct. I print the "new" data set and it seems OK. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 18:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/EFFECT-statement-in-proc-logistic/m-p/100520#M5186</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-21T18:34:35Z</dc:date>
    </item>
  </channel>
</rss>

