<?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 SAS Extrapolation in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327325#M4914</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;ID   Good_Bad
734374  0
4834110 1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I want to extrapolate the 1's 12 times as 0s so that for every 0 I have 12 1s like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ID  Good_Bad
734374  0
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;amp; this has to be done using SAS. Can anyone help out?&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 10:34:49 GMT</pubDate>
    <dc:creator>Lopa2016</dc:creator>
    <dc:date>2017-01-25T10:34:49Z</dc:date>
    <item>
      <title>SAS Extrapolation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327325#M4914</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;ID   Good_Bad
734374  0
4834110 1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I want to extrapolate the 1's 12 times as 0s so that for every 0 I have 12 1s like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ID  Good_Bad
734374  0
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1
4834110 1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;amp; this has to be done using SAS. Can anyone help out?&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327325#M4914</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-25T10:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Extrapolation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327337#M4915</link>
      <description>&lt;P&gt;Try this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input ID Good_Bad ;
infile datalines;
datalines;
734374  0
4834110 1
;
run;



data final(drop=i); 
  set test; 
  by Good_Bad;
  if Good_bad=0 then output;
  if Good_Bad=1 then
   do i= 1 to 12;
        output; 
    end; 
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327337#M4915</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2017-01-25T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Extrapolation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327339#M4916</link>
      <description>&lt;P&gt;Thanks for your reply but I have figured it out!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327339#M4916</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-25T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Extrapolation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327351#M4917</link>
      <description>&lt;P&gt;Use PEVENT on the model statement to apply a prior probability when running a model with low event rates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 12:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327351#M4917</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-25T12:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Extrapolation</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327391#M4918</link>
      <description>&lt;P&gt;Thanks Reeza!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Extrapolation/m-p/327391#M4918</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-25T14:42:33Z</dc:date>
    </item>
  </channel>
</rss>

