<?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: Glimmix model low coefficients in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934410#M1938</link>
    <description>&lt;P&gt;The age_cat4 coefficient shouldn't be low. By proc freq, the percent of preterm birth was 21.8%, 11.0%, 9.6% and 17.6% in age_cat1,&amp;nbsp;age_cat2,&amp;nbsp;age_cat3, and age_cat4, respectively.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yinghui&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 15:09:40 GMT</pubDate>
    <dc:creator>xuyi</dc:creator>
    <dc:date>2024-07-02T15:09:40Z</dc:date>
    <item>
      <title>Glimmix model low coefficients</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934345#M1934</link>
      <description>&lt;P&gt;Hi, I am running a GLIMMIX to predict the probability of preterm baby birth. Each mom can have multiple births in the dataset, so mom’s medical record number (mrn) was set as random effect in the model. The outcome variable (gestational_weeks_lt37) was whether baby was born less than 37 weeks (preterm, event=1). I'm interested in variation among mom’s age categories. My model is like this:&lt;/P&gt;&lt;P&gt;ods output LSmeans=meansAge4;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=ptb2_final method=laplace;&lt;/P&gt;&lt;P&gt;&amp;nbsp;class mom_mrn age_cat4 (ref='3');&lt;/P&gt;&lt;P&gt;&amp;nbsp;model gestational_weeks_lt37(event='1')=age_cat4/dist=binary link=logit solution oddsratio;&lt;/P&gt;&lt;P&gt;&amp;nbsp;random intercept/subject=mom_mrn;&lt;/P&gt;&lt;P&gt;lsmeans age_cat4/cl ilink;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I would like to get the probability of preterm in each mom’s age category relative to the reference age group. The overall outcome variable by frequencies for preterm was 10.9%, and in the 4 groups was from 9.6% to 21.8%. I expected the probabilities from the model are close to 10%, so the lsmeans should be around 0.1. However, I got the intercept as -11.11, so when I calculate the probabilities, they are all close to 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xuyi_0-1719867152861.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98079iBE14ABAC2D2E6F74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xuyi_0-1719867152861.png" alt="xuyi_0-1719867152861.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why are the coefficients so low? What's wrong with my codes?&lt;BR /&gt;Thanks so much in advance for your help.&lt;/P&gt;&lt;P&gt;Yinghui&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934345#M1934</guid>
      <dc:creator>xuyi</dc:creator>
      <dc:date>2024-07-01T20:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix model low coefficients</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934347#M1935</link>
      <description>&lt;P&gt;Maybe you didn't do anything wrong.&lt;/P&gt;
&lt;P&gt;Maybe the model coefficients should be low, if the effect of agecat4 is low.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 21:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934347#M1935</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-07-01T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix model low coefficients</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934350#M1937</link>
      <description>&lt;P&gt;How do you calculate the predicted probabilities&amp;nbsp;&lt;SPAN&gt;of preterm baby birth?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My recommendation is that you use the &lt;STRONG&gt;STORE statement in PROC GLMIMMIX&lt;/STRONG&gt; to save the elements of the model and then use &lt;STRONG&gt;Proc PLM to score data&lt;/STRONG&gt; (using the stored model).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 22:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934350#M1937</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-01T22:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix model low coefficients</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934410#M1938</link>
      <description>&lt;P&gt;The age_cat4 coefficient shouldn't be low. By proc freq, the percent of preterm birth was 21.8%, 11.0%, 9.6% and 17.6% in age_cat1,&amp;nbsp;age_cat2,&amp;nbsp;age_cat3, and age_cat4, respectively.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yinghui&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934410#M1938</guid>
      <dc:creator>xuyi</dc:creator>
      <dc:date>2024-07-02T15:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix model low coefficients</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934411#M1939</link>
      <description>&lt;P&gt;As indicated in the codes, the predicted probabilities were calculated using LSmeans/ilink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yinghui&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 15:12:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Glimmix-model-low-coefficients/m-p/934411#M1939</guid>
      <dc:creator>xuyi</dc:creator>
      <dc:date>2024-07-02T15:12:06Z</dc:date>
    </item>
  </channel>
</rss>

