<?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: how to combine similar estimates in proc mixed in the outputs in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386687#M20134</link>
    <description>&lt;P&gt;Hi Barraldw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my target is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;to reduce the number of output estimates . for example 4 estimate for season variable instead of 12 estimates (season here is month in my data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Farg&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2017 16:02:36 GMT</pubDate>
    <dc:creator>farag</dc:creator>
    <dc:date>2017-08-09T16:02:36Z</dc:date>
    <item>
      <title>how to combine similar estimates in proc mixed in the outputs</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386537#M20120</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have categorical variable (month) &amp;nbsp;and I am using proc mixed and I got the output for the parameter estimates for the 12 months in the year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;12 estimates are many and there are some similar positave and negative estimates that I want to combine or merge them in smalle number of estimates . My questions is how can I combine these similar estimates please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are 3 groups of similar estimates in the proc mixed outputs .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Farg.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 10:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386537#M20120</guid>
      <dc:creator>farag</dc:creator>
      <dc:date>2017-08-09T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine similar estimates in proc mixed in the outputs</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386682#M20132</link>
      <description>&lt;P&gt;As a minimum show the proc code. That way we at least have the varaible names and what role they play in the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want to combine the estimates post model or create groups of values in the input to reduce the number of output estimates?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386682#M20132</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-09T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine similar estimates in proc mixed in the outputs</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386685#M20133</link>
      <description>&lt;P&gt;Hi Ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data=corrected_2014 noinfo noclprint noitprint METHOD=MIVQUE0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;class TEST_DATE PARITY CALVING_EASE CALVING_DATE County COW_ID herd_id camonth season ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;model TEST_DAY_PROT_PERCENT= TEST_DAY_MILK_KG TEST_DAY_FAT_PERCENT PARITY CALVING_EASE County &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;camonth season log_scc TEST_DAY_LACTOSE_PERCENT/ddfm=bw s ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; random INT /SUB=herd_id ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also I am interested in the nested effect for cow_id nested in herd_id ,however when I use random statement&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;random int/sub=COW_ID(herd_id) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will have insufficient memory problem. any help to get outputs for nested effect without memory problem or a way of creating output data.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have big data around 6000 herds and 550000 cows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Farg&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386685#M20133</guid>
      <dc:creator>farag</dc:creator>
      <dc:date>2017-08-09T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine similar estimates in proc mixed in the outputs</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386687#M20134</link>
      <description>&lt;P&gt;Hi Barraldw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my target is&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;to reduce the number of output estimates . for example 4 estimate for season variable instead of 12 estimates (season here is month in my data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Farg&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386687#M20134</guid>
      <dc:creator>farag</dc:creator>
      <dc:date>2017-08-09T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to combine similar estimates in proc mixed in the outputs</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386821#M20142</link>
      <description>&lt;P&gt;A format is one way to create groups without having to add variables to data set. Assuming your "season" variable has values of 1 to 12 and is numeric&amp;nbsp;since you say season is month valued something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc format;&lt;/P&gt;
&lt;P&gt;value season_4grp&lt;/P&gt;
&lt;P&gt;1,2,3 = '1'&lt;/P&gt;
&lt;P&gt;4,5,6 = '2'&lt;/P&gt;
&lt;P&gt;7,8,9 = '3'&lt;/P&gt;
&lt;P&gt;10,11,12='4'&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then add the statement to use the format:&lt;/P&gt;
&lt;P&gt;Format season season_4grp. ;&lt;/P&gt;
&lt;P&gt;to the model code. The season variable will then be grouped with results on the format. If the months are 1=January to 12=December you might want to group them such as 12,1,2 = 'Winter' 3,4,5='Spring' etc. One nice thing about the format approach is you can create a number of formats and only change the applied format to get different grouping. You decide that 3 groups of 4 makes more sense, or even having different numbers of months in the groups. You could even have a group of month = 9,10, 3,4 for "cool weather" compared to month 5,6,7,8 for "hot".&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-combine-similar-estimates-in-proc-mixed-in-the-outputs/m-p/386821#M20142</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-09T21:47:16Z</dc:date>
    </item>
  </channel>
</rss>

