<?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 How to obtain outcome values among categorical exposures in a mixed model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-outcome-values-among-categorical-exposures-in-a/m-p/903706#M44832</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well. I am trying to get&amp;nbsp;outcome values among categorical exposures in a mixed model.&lt;/P&gt;
&lt;P&gt;Exposure in this study is the perceived risk of ADRD.&lt;/P&gt;
&lt;P&gt;Outcome is the cognitive score.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to get the figure below but I do not know how to get outcome values&amp;nbsp;in a mixed model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nwang5_0-1700244419720.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89973iAF324855E849CFCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nwang5_0-1700244419720.png" alt="nwang5_0-1700244419720.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;here is my code:&lt;/P&gt;
&lt;P&gt;proc mixed covtest noclprint data = hrslong02 method=REML PLOTS(MAXPOINTS=none );&lt;BR /&gt;class hhidpn percived(ref="Unlikely") RAGENDER(ref="Female") race(ref="1") edu_4cat(ref="Lt High-school") married(ref="1") emply(ref="1");&lt;BR /&gt;model cogtot = percived visit_time percived*visit_time age10 RAGENDER race edu_4cat married emply hhincomelog_baseline &amp;nbsp;/ solution cl ddfm = SATTERTHWAITE;&lt;BR /&gt;random intercept visit_time / subject=hhidpn type=un ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 18:09:28 GMT</pubDate>
    <dc:creator>nwang5</dc:creator>
    <dc:date>2023-11-17T18:09:28Z</dc:date>
    <item>
      <title>How to obtain outcome values among categorical exposures in a mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-outcome-values-among-categorical-exposures-in-a/m-p/903706#M44832</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well. I am trying to get&amp;nbsp;outcome values among categorical exposures in a mixed model.&lt;/P&gt;
&lt;P&gt;Exposure in this study is the perceived risk of ADRD.&lt;/P&gt;
&lt;P&gt;Outcome is the cognitive score.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to get the figure below but I do not know how to get outcome values&amp;nbsp;in a mixed model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nwang5_0-1700244419720.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89973iAF324855E849CFCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nwang5_0-1700244419720.png" alt="nwang5_0-1700244419720.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;here is my code:&lt;/P&gt;
&lt;P&gt;proc mixed covtest noclprint data = hrslong02 method=REML PLOTS(MAXPOINTS=none );&lt;BR /&gt;class hhidpn percived(ref="Unlikely") RAGENDER(ref="Female") race(ref="1") edu_4cat(ref="Lt High-school") married(ref="1") emply(ref="1");&lt;BR /&gt;model cogtot = percived visit_time percived*visit_time age10 RAGENDER race edu_4cat married emply hhincomelog_baseline &amp;nbsp;/ solution cl ddfm = SATTERTHWAITE;&lt;BR /&gt;random intercept visit_time / subject=hhidpn type=un ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 18:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-outcome-values-among-categorical-exposures-in-a/m-p/903706#M44832</guid>
      <dc:creator>nwang5</dc:creator>
      <dc:date>2023-11-17T18:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain outcome values among categorical exposures in a mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-outcome-values-among-categorical-exposures-in-a/m-p/903711#M44833</link>
      <description>&lt;P&gt;By "&lt;SPAN&gt;outcome values", do you mean predicted values? if so, you would add the OUTP=preddata option in the MODEL statement in PROC MIXED. Then the preddata data set would contain the predicted values.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jill&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 18:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-obtain-outcome-values-among-categorical-exposures-in-a/m-p/903711#M44833</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2023-11-17T18:26:37Z</dc:date>
    </item>
  </channel>
</rss>

