<?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: LOCF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692461#M210971</link>
    <description>&lt;P&gt;Please post example data in usable form, as shown&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Derive-the-Last-non-consecutive-missing-date/m-p/682900/highlight/true#M206752" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 09:35:25 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-10-19T09:35:25Z</dc:date>
    <item>
      <title>LOCF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692457#M210969</link>
      <description>&lt;P&gt;Dear All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to impute the missing obs with previous value, but have no idea, though I referred below good link:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Last-Observation-Carried-Foward/m-p/309339#M66511" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Last-Observation-Carried-Foward/m-p/309339#M66511&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, all the missing variable should be imputed from the previous value, as this would be the accumulative number of subjects till some timepoint.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The datafile in xlsx has been attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692457#M210969</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2020-10-19T09:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: LOCF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692461#M210971</link>
      <description>&lt;P&gt;Please post example data in usable form, as shown&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Derive-the-Last-non-consecutive-missing-date/m-p/682900/highlight/true#M206752" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692461#M210971</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-19T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: LOCF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692462#M210972</link>
      <description>&lt;P&gt;The generic way to carry over is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
retain _var1;
if var1 ne . /* if var1 is numeric, otherwise "" */
then _var1 = var1;
else var1 =_var1;
drop _var1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692462#M210972</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-19T09:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: LOCF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692716#M211082</link>
      <description>Perfect, that is what I want.</description>
      <pubDate>Mon, 19 Oct 2020 22:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LOCF/m-p/692716#M211082</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2020-10-19T22:09:02Z</dc:date>
    </item>
  </channel>
</rss>

