<?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: Changing date and string variable for regression analysis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301912#M63959</link>
    <description>&lt;P&gt;Thank you very much. I will check that.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Oct 2016 14:01:33 GMT</pubDate>
    <dc:creator>scottmaya</dc:creator>
    <dc:date>2016-10-02T14:01:33Z</dc:date>
    <item>
      <title>Changing date and string variable for regression analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301889#M63948</link>
      <description>&lt;P&gt;I have a set of Direct Mail Program data, which includes the mail campaign start and end dates, the offers provided to customer and the number of customer responses.&lt;/P&gt;&lt;P&gt;I want to do multiple regression analysis to how these variables can impact the response rate of customers. I am new to SAS so can you give me any idea on how to convert the dates and offer types into useful numeric variables for analysis.&lt;/P&gt;&lt;P&gt;Your help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 15:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301889#M63948</guid>
      <dc:creator>scottmaya</dc:creator>
      <dc:date>2016-10-01T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Changing date and string variable for regression analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301890#M63949</link>
      <description>&lt;P&gt;Depending on the PROC you use you may not need to change your character variables. The CLASS statement will handle the parameterization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otjerwise, for dates, make sure they're numeric with a dare format. Use INPUT() to convert them if required. If you need to calculate date variables such as lag lead or moving averages look at PROC EXPAND.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 16:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301890#M63949</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-01T16:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing date and string variable for regression analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301912#M63959</link>
      <description>&lt;P&gt;Thank you very much. I will check that.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2016 14:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-date-and-string-variable-for-regression-analysis/m-p/301912#M63959</guid>
      <dc:creator>scottmaya</dc:creator>
      <dc:date>2016-10-02T14:01:33Z</dc:date>
    </item>
  </channel>
</rss>

