<?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 Can you regress sasdate on a continuous variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-you-regress-sasdate-on-a-continuous-variable/m-p/816340#M322195</link>
    <description>&lt;P&gt;Is the following regression appropriate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;REG&lt;/STRONG&gt; DATA=work.wastewater PLOTS = (FITPLOT);&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;'30nov2021'd&lt;/STRONG&gt; &amp;lt;= sasdate &amp;lt;= &lt;STRONG&gt;'9jan2022'd&lt;/STRONG&gt; ;&lt;/P&gt;&lt;P&gt;MODEL LOGMGC = sasdate / clb;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2022 15:33:54 GMT</pubDate>
    <dc:creator>RACHEL2425</dc:creator>
    <dc:date>2022-06-03T15:33:54Z</dc:date>
    <item>
      <title>Can you regress sasdate on a continuous variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-regress-sasdate-on-a-continuous-variable/m-p/816340#M322195</link>
      <description>&lt;P&gt;Is the following regression appropriate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;REG&lt;/STRONG&gt; DATA=work.wastewater PLOTS = (FITPLOT);&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;'30nov2021'd&lt;/STRONG&gt; &amp;lt;= sasdate &amp;lt;= &lt;STRONG&gt;'9jan2022'd&lt;/STRONG&gt; ;&lt;/P&gt;&lt;P&gt;MODEL LOGMGC = sasdate / clb;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 15:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-regress-sasdate-on-a-continuous-variable/m-p/816340#M322195</guid>
      <dc:creator>RACHEL2425</dc:creator>
      <dc:date>2022-06-03T15:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can you regress sasdate on a continuous variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-regress-sasdate-on-a-continuous-variable/m-p/816341#M322196</link>
      <description>&lt;P&gt;Of course, you CAN do this and get results. Is it appropriate? That depends on a lot of things, including an assumption that&amp;nbsp;&lt;SPAN&gt;LOGMGC&amp;nbsp;increases or decreases linearly as the day changes over this time period. Only you can determine if that is a good assumption for your problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; More naturally, people use time series models to model the effect of changing time on some response, this does not impose a linear response, but allows for all different types of response of the variable&amp;nbsp;LOGMGC&amp;nbsp;to the change in day, including modeling the effect of auto-correlation, periodic changes, and other time series effects.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 15:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-regress-sasdate-on-a-continuous-variable/m-p/816341#M322196</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-03T15:41:08Z</dc:date>
    </item>
  </channel>
</rss>

