<?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: Use both season and month in model? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898561#M355163</link>
    <description>&lt;P&gt;If you know the month, you already know the season.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When one predictor is entirely predictable from another predictor, I believe that the resulting SSCP matrix will not be invertible, as it won't be full rank.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 22:32:41 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2023-10-13T22:32:41Z</dc:date>
    <item>
      <title>Use both season and month in model?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898279#M355038</link>
      <description>&lt;DIV class="msg-s-event-listitem
    
    
    
    
    
    
    
    
    
    " data-event-urn="urn:li:msg_message:(urn:li:fsd_profile:ACoAAC4DAIsBxL9C4rZebqeHCTk487DjiPSvNBY,2-MTY5NzEwOTU4MDA4NGI4MjM0MS0wMDQmNGNmNWRiMjItNjExYi00MjU5LTg5MDctMGNhZGYzNGJkZDIwXzAxMg==)"&gt;
&lt;DIV class="msg-s-event-listitem__message-bubble msg-s-event-listitem__message-bubble--msg-fwd-enabled" tabindex="0" data-artdeco-is-focused="true"&gt;
&lt;DIV class="msg-s-event-with-indicator display-flex "&gt;
&lt;DIV class="msg-s-event__content" dir="ltr"&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;&lt;SPAN&gt;I have an example for which I'm confused to set the best model.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;&lt;SPAN&gt;I want to see the effect of the season on the milk production of crossbred cows. Seasons are: Summer season= Jun-Jull-Aug Winter season= Dec-Janv-Fev; There are two groups : 40 animals with the same lactation stage and the same characteristics in each season.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;can we say: Yij=u+Si+ei (GLM);&amp;nbsp; OR Yijk= u+Si+Mj+(SxM)ij+ek, where m = random effect of the month&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="msg-s-event-listitem
    
    
    
    
    
    
    
    
    
    " data-event-urn="urn:li:msg_message:(urn:li:fsd_profile:ACoAAC4DAIsBxL9C4rZebqeHCTk487DjiPSvNBY,2-MTY5NzEwOTYxNTMxMGI4MTIxMy0wMDQmNGNmNWRiMjItNjExYi00MjU5LTg5MDctMGNhZGYzNGJkZDIwXzAxMg==)"&gt;
&lt;DIV class="msg-s-event-listitem__message-bubble msg-s-event-listitem__message-bubble--msg-fwd-enabled" tabindex="0"&gt;
&lt;DIV class="msg-s-event-with-indicator display-flex "&gt;
&lt;DIV class="msg-s-event__content" dir="ltr"&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;but I think it is useless because the month is included in the season. Which is the best model or is there other options.&lt;/P&gt;
&lt;P class="msg-s-event-listitem__body t-14 t-black--light t-normal
                "&gt;Looking forward to an answer&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898279#M355038</guid>
      <dc:creator>always-good</dc:creator>
      <dc:date>2023-10-12T12:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898280#M355039</link>
      <description>&lt;P&gt;Since month is included in season, I would not put both in the model. Just use month. You can create a contrast that compares the effect of June/July/Aug to Dec/Jan/Feb.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898280#M355039</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-12T12:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898285#M355042</link>
      <description>&lt;P&gt;the main effect is basically the season, can we say that month is a repeated measurement? in this case is this a mixed linear model? and how to present the month in the result table please?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:33:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898285#M355042</guid>
      <dc:creator>always-good</dc:creator>
      <dc:date>2023-10-12T12:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898313#M355044</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437029"&gt;@always-good&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;the main effect is basically the season, can we say that month is a repeated measurement?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you are the subject matter expert, and not me, these are decisions you need to make. I have no opinion one way or the other as I don't work with cows or any type of similar study.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;in this case is this a mixed linear model?&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you decide these are repeated measurements, then I think so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;and how to present the month in the result table please?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what table are you talking about?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898313#M355044</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-12T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: model</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898354#M355060</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the misunderstanding, I'm asking if both options are correct first to decide whether it is GLM or can be mixed.&lt;/P&gt;
&lt;P&gt;I mean to present the effect of the month as a repeated measurement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 16:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898354#M355060</guid>
      <dc:creator>always-good</dc:creator>
      <dc:date>2023-10-12T16:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use both season and month in model?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898472#M355120</link>
      <description>" I think it is useless because the month is included in the season. "&lt;BR /&gt;It is depended on what you want,&lt;BR /&gt;if you only focus on season effect,you don't need month effect any more.&lt;BR /&gt;if you also take into account of month effect within season effect,you could take month effect too.&lt;BR /&gt;&lt;BR /&gt;If you think each cow have different milk production in different season,You can use MIXED model.&lt;BR /&gt;If you think all the cows in the same group have same milk production in different season,You can use GLM model.&lt;BR /&gt;&lt;BR /&gt;In summary,I would use Mixed model if you take a cow as a SUBJECTID.&lt;BR /&gt;if you only consider the population of cow within a group I would use GLM .&lt;BR /&gt;&lt;BR /&gt;And better post it at Stat Forum:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; could give you a hand.</description>
      <pubDate>Fri, 13 Oct 2023 11:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898472#M355120</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-10-13T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use both season and month in model?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898561#M355163</link>
      <description>&lt;P&gt;If you know the month, you already know the season.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When one predictor is entirely predictable from another predictor, I believe that the resulting SSCP matrix will not be invertible, as it won't be full rank.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 22:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-both-season-and-month-in-model/m-p/898561#M355163</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2023-10-13T22:32:41Z</dc:date>
    </item>
  </channel>
</rss>

