<?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: Adjusting for variables in mixed effects models in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410541#M100310</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, for the ambiguity. My main question is&amp;nbsp;I'm not sure if my code is adjusting for age and employment. This is my first time using the proc mixed function for this sort of model and I wanted to be sure my code was appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Nov 2017 14:52:08 GMT</pubDate>
    <dc:creator>harcluna</dc:creator>
    <dc:date>2017-11-04T14:52:08Z</dc:date>
    <item>
      <title>Adjusting for variables in mixed effects models</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410505#M100301</link>
      <description>&lt;P&gt;*/Hello,*/;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*/I'm creating a mixed-effects repeated model (SAS v9.4 on Mac) to compare the value of y in men (0) versus women (1) over time (days). I would like to adjust for age and employment. I do have some missing values that are missing at random (as opposed to missing completely at random)*/;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input age employment sex pt_id day y;&lt;BR /&gt;cards;&lt;/P&gt;&lt;P&gt;48 1 0 1 0 39.00&lt;BR /&gt;48 1 0 1 1 24.00&lt;BR /&gt;48 1 0 1 2 .&lt;BR /&gt;48 1 0 1 3 .&lt;BR /&gt;48 1 0 1 4 .&lt;BR /&gt;48 1 0 1 5 17.00&lt;BR /&gt;48 1 0 1 6 18.00&lt;BR /&gt;48 1 0 1 7 16.00&lt;BR /&gt;48 1 0 1 8 .&lt;BR /&gt;48 1 0 1 9 19.00&lt;BR /&gt;48 1 0 1 10 19.00&lt;BR /&gt;48 1 0 1 11 21.00&lt;BR /&gt;48 1 0 1 12 21.00&lt;BR /&gt;48 1 0 1 13 24.00&lt;BR /&gt;48 1 0 1 14 .&lt;BR /&gt;48 1 0 1 15 .&lt;BR /&gt;48 1 0 1 16 .&lt;BR /&gt;48 1 0 1 17 .&lt;BR /&gt;48 1 0 1 18 .&lt;BR /&gt;48 1 0 1 19 .&lt;BR /&gt;48 1 0 1 20 .&lt;BR /&gt;48 1 0 1 21 .&lt;BR /&gt;33 0 0 2 0 37.00&lt;BR /&gt;33 0 0 2 1 .&lt;BR /&gt;33 0 0 2 2 24.00&lt;BR /&gt;33 0 0 2 3 .&lt;BR /&gt;33 0 0 2 4 .&lt;BR /&gt;33 0 0 2 5 19.00&lt;BR /&gt;33 0 0 2 6 .&lt;BR /&gt;33 0 0 2 7 .&lt;BR /&gt;33 0 0 2 8 .&lt;BR /&gt;33 0 0 2 9 22.00&lt;BR /&gt;33 0 0 2 10 .&lt;BR /&gt;33 0 0 2 11 .&lt;BR /&gt;33 0 0 2 12 27.00&lt;BR /&gt;33 0 0 2 13 27.00&lt;BR /&gt;33 0 0 2 14 27.00&lt;BR /&gt;33 0 0 2 15 .&lt;BR /&gt;33 0 0 2 16 .&lt;BR /&gt;33 0 0 2 17 .&lt;BR /&gt;33 0 0 2 18 .&lt;BR /&gt;33 0 0 2 19 .&lt;BR /&gt;33 0 0 2 20 .&lt;BR /&gt;33 0 0 2 21 .&lt;BR /&gt;39 1 0 3 0 34.00&lt;BR /&gt;39 1 0 3 1 13.00&lt;BR /&gt;39 1 0 3 2 .&lt;BR /&gt;39 1 0 3 3 .&lt;BR /&gt;39 1 0 3 4 .&lt;BR /&gt;39 1 0 3 5 .&lt;BR /&gt;39 1 0 3 6 .&lt;BR /&gt;39 1 0 3 7 .&lt;BR /&gt;39 1 0 3 8 .&lt;BR /&gt;39 1 0 3 9 .&lt;BR /&gt;39 1 0 3 10 .&lt;BR /&gt;39 1 0 3 11 .&lt;BR /&gt;39 1 0 3 12 .&lt;BR /&gt;39 1 0 3 13 .&lt;BR /&gt;39 1 0 3 14 .&lt;BR /&gt;39 1 0 3 15 .&lt;BR /&gt;39 1 0 3 16 .&lt;BR /&gt;39 1 0 3 17 .&lt;BR /&gt;39 1 0 3 18 .&lt;BR /&gt;39 1 0 3 19 .&lt;BR /&gt;39 1 0 3 20 .&lt;BR /&gt;39 1 0 3 21 .&lt;BR /&gt;30 0 1 4 0 31.00&lt;BR /&gt;30 0 1 4 1 .&lt;BR /&gt;30 0 1 4 2 17.00&lt;BR /&gt;30 0 1 4 3 14.00&lt;BR /&gt;30 0 1 4 4 13.00&lt;BR /&gt;30 0 1 4 5 .&lt;BR /&gt;30 0 1 4 6 .&lt;BR /&gt;30 0 1 4 7 .&lt;BR /&gt;30 0 1 4 8 .&lt;BR /&gt;30 0 1 4 9 .&lt;BR /&gt;30 0 1 4 10 .&lt;BR /&gt;30 0 1 4 11 .&lt;BR /&gt;30 0 1 4 12 .&lt;BR /&gt;30 0 1 4 13 .&lt;BR /&gt;30 0 1 4 14 .&lt;BR /&gt;30 0 1 4 15 .&lt;BR /&gt;30 0 1 4 16 .&lt;BR /&gt;30 0 1 4 17 .&lt;BR /&gt;30 0 1 4 18 .&lt;BR /&gt;30 0 1 4 19 .&lt;BR /&gt;30 0 1 4 20 .&lt;BR /&gt;30 0 1 4 21 .&lt;BR /&gt;79 1 1 5 0 22.50&lt;BR /&gt;79 1 1 5 1 26.00&lt;BR /&gt;79 1 1 5 2 23.00&lt;BR /&gt;79 1 1 5 3 .&lt;BR /&gt;79 1 1 5 4 23.50&lt;BR /&gt;79 1 1 5 5 22.00&lt;BR /&gt;79 1 1 5 6 23.00&lt;BR /&gt;79 1 1 5 7 .&lt;BR /&gt;79 1 1 5 8 .&lt;BR /&gt;79 1 1 5 9 .&lt;BR /&gt;79 1 1 5 10 .&lt;BR /&gt;79 1 1 5 11 .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*/My code so far is */;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data=a;&lt;BR /&gt;class sex employment;&lt;BR /&gt;model y=sex employment day sex*day age;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*/Any help is much appreciated*/;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2017 04:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410505#M100301</guid>
      <dc:creator>harcluna</dc:creator>
      <dc:date>2017-11-04T04:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting for variables in mixed effects models</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410523#M100307</link>
      <description>&lt;P&gt;Hi, it doesn't appear you have actually asked a question that we can help with. It doesn't appear that you have stated a reason for dis-satisfaction for the results you are getting from your code.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2017 10:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410523#M100307</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-04T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting for variables in mixed effects models</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410541#M100310</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, for the ambiguity. My main question is&amp;nbsp;I'm not sure if my code is adjusting for age and employment. This is my first time using the proc mixed function for this sort of model and I wanted to be sure my code was appropriate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2017 14:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adjusting-for-variables-in-mixed-effects-models/m-p/410541#M100310</guid>
      <dc:creator>harcluna</dc:creator>
      <dc:date>2017-11-04T14:52:08Z</dc:date>
    </item>
  </channel>
</rss>

