<?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: Estimate statement to get a rate of change in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-statement-to-get-a-rate-of-change/m-p/472722#M24609</link>
    <description>&lt;P&gt;specify a value for year, i'm guessing 1 is not a legit value. Maybe this helps: &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-write-estimate-statements-for-continuous-by-continuous/td-p/195736" target="_blank"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-write-estimate-statements-for-continuous-by-continuous/td-p/195736&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jun 2018 16:31:54 GMT</pubDate>
    <dc:creator>pau13rown</dc:creator>
    <dc:date>2018-06-23T16:31:54Z</dc:date>
    <item>
      <title>Estimate statement to get a rate of change</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-statement-to-get-a-rate-of-change/m-p/472560#M24601</link>
      <description>&lt;P&gt;I am running a mixed model for a continuous measure with years as a continuous independent variable in the study. I also have treatment (1 or 0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc mixed data=dat;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class id tx (ref='0');&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model y=years|tx /s cl noint e;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;random intercept years/type=un sub=id;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;estimate 'Control' years 1 years*tx 0 1/cl;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; estimate 'Treatment' years 1 years*tx 1 0/cl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the class level information:SAS Output&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;tx &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1 0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;But, my estimates are turning up opposite of what I expect. Are my estimate statements correct or can there be any other glitches I should be aware of?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-statement-to-get-a-rate-of-change/m-p/472560#M24601</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-06-22T18:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate statement to get a rate of change</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-statement-to-get-a-rate-of-change/m-p/472722#M24609</link>
      <description>&lt;P&gt;specify a value for year, i'm guessing 1 is not a legit value. Maybe this helps: &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-write-estimate-statements-for-continuous-by-continuous/td-p/195736" target="_blank"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-write-estimate-statements-for-continuous-by-continuous/td-p/195736&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 16:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-statement-to-get-a-rate-of-change/m-p/472722#M24609</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2018-06-23T16:31:54Z</dc:date>
    </item>
  </channel>
</rss>

