<?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: is proc expand appropriate? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212595#M52497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I think proc expand can do&amp;nbsp; that.&lt;/P&gt;&lt;P&gt;Make a year variable.&lt;/P&gt;&lt;P&gt;year&lt;/P&gt;&lt;P&gt;1 &lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put it in ID statement of proc expand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 14:09:05 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-06-24T14:09:05Z</dc:date>
    <item>
      <title>is proc expand appropriate?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212594#M52496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have age-specific rates that are in 5-year age intervals that I want to interpolate to rates for single-years of age. In the past I've done this in excel. Is proc expand the correct procedure? I only see info on changing things from monthly to daily, etc and not from 5-year to 1-year rates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any guidance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 23:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212594#M52496</guid>
      <dc:creator>rachel347</dc:creator>
      <dc:date>2015-06-23T23:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: is proc expand appropriate?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212595#M52497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I think proc expand can do&amp;nbsp; that.&lt;/P&gt;&lt;P&gt;Make a year variable.&lt;/P&gt;&lt;P&gt;year&lt;/P&gt;&lt;P&gt;1 &lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put it in ID statement of proc expand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 14:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212595#M52497</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-06-24T14:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: is proc expand appropriate?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212596#M52498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Xia, for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case anyone is wondering what I ended up doing, here is what I did. The results are very close to the data that I was getting when I did the interpolation in excel.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*I created an empty dataset with all the ages by 1 so that I would have the correct ages to fill in with the interpolated data:*/&lt;/P&gt;&lt;P&gt;data padded;&lt;/P&gt;&lt;P&gt;do age=15 to 44 by 1;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Then I merged that dummy data set onto my data set that had my 5-year fertility rates:*/ &lt;/P&gt;&lt;P&gt;data pad;&lt;/P&gt;&lt;P&gt;&amp;nbsp; merge padded work.fert_rates_2012;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by age;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Then this is the expand options that I used. The convert has the two fertility rate variables--one for hispanic one for non-hispanic and used the age variable as the ID.*/ &lt;/P&gt;&lt;P&gt;proc expand data=pad out=expanded method = spline(natural) &lt;/P&gt;&lt;P&gt;extrapolate;&lt;/P&gt;&lt;P&gt;id age;&lt;/P&gt;&lt;P&gt;convert hisp_irate nonhisp_irate; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 18:06:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/is-proc-expand-appropriate/m-p/212596#M52498</guid>
      <dc:creator>rachel347</dc:creator>
      <dc:date>2015-08-13T18:06:42Z</dc:date>
    </item>
  </channel>
</rss>

