<?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 Run proc mixed with only specific parts of variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Run-proc-mixed-with-only-specific-parts-of-variable/m-p/447991#M283398</link>
    <description>&lt;P&gt;I'm trying to run proc mixed with a variable (drug) that has three components to it (drugs a, b, and c). How do I change the code to run proc mixed ONLY on drugs a and b?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC MIXED DATA=lec2.fevlong ORDER=DATA;&lt;BR /&gt;CLASS pid drug timehr;&lt;BR /&gt;MODEL y=drug timehr drug*timehr/S CHISQ;&lt;BR /&gt;REPEATED timehr /TYPE=UN SUBJECT=pid R RCORR;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Mar 2018 22:31:38 GMT</pubDate>
    <dc:creator>Angmar</dc:creator>
    <dc:date>2018-03-22T22:31:38Z</dc:date>
    <item>
      <title>Run proc mixed with only specific parts of variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-proc-mixed-with-only-specific-parts-of-variable/m-p/447991#M283398</link>
      <description>&lt;P&gt;I'm trying to run proc mixed with a variable (drug) that has three components to it (drugs a, b, and c). How do I change the code to run proc mixed ONLY on drugs a and b?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC MIXED DATA=lec2.fevlong ORDER=DATA;&lt;BR /&gt;CLASS pid drug timehr;&lt;BR /&gt;MODEL y=drug timehr drug*timehr/S CHISQ;&lt;BR /&gt;REPEATED timehr /TYPE=UN SUBJECT=pid R RCORR;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 22:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-proc-mixed-with-only-specific-parts-of-variable/m-p/447991#M283398</guid>
      <dc:creator>Angmar</dc:creator>
      <dc:date>2018-03-22T22:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Run proc mixed with only specific parts of variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-proc-mixed-with-only-specific-parts-of-variable/m-p/447996#M283399</link>
      <description>&lt;P&gt;Without seeing actual values of the variable drug this is just a generic response:&lt;/P&gt;
&lt;P&gt;Add a WHERE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC MIXED DATA=lec2.fevlong ORDER=DATA;&lt;/P&gt;
&lt;P&gt;WHERE data in ('drug a' 'drug b');&lt;BR /&gt;CLASS pid drug timehr;&lt;BR /&gt;MODEL y=drug timehr drug*timehr/S CHISQ;&lt;BR /&gt;REPEATED timehr /TYPE=UN SUBJECT=pid R RCORR;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 23:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-proc-mixed-with-only-specific-parts-of-variable/m-p/447996#M283399</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-22T23:04:02Z</dc:date>
    </item>
  </channel>
</rss>

