<?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 Two Way ANOVA fitting Heteroskedasticity - Running out of Memory in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/252290#M56811</link>
    <description>&lt;P&gt;Hello, all. I have a two way ANOVA testing the effects of Fungicide and (fungal) Isolate on a Log10EC50 response value (EC50 being the effective chemical concentration that inhibits growth halfway between a minimum and maximum response). I know that my groups of Fungicide*Isolate have very heterogeneous variance (variances range from 0.00073 to 0.8&lt;SPAN&gt;7599&lt;/SPAN&gt;), and I am trying to fit the model with hetereogeneous variance using the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ANOVA Code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC mixed data=IMPORT; 
   TITLE3 "ANOVA Comparing LogEC50's, group=Isolate*Fungicide"; 
   class Trial Fungicide Plate Isolate;
   model LogEC50 = Fungicide|Isolate / ddfm=KR outp=outH;
   Random Plate(Trial) / group=Fungicide*Isolate;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am receiving a memory error. I have a large dataset (over 2,800 observations - the attached PDF shows Class Level Information; there will be about 390 groups that need to be fitted for heterogeneous variance). I have included the fullstimer option to aid in diagnosis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOG&lt;/P&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: The PROCEDURE MIXED printed pages 4-5.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.13 seconds
user cpu time 0.06 seconds
system cpu time 0.07 seconds
memory 5162.28k
OS Memory 36272.00k
Timestamp 02/25/2016 04:02:39 AM
Step Count 31 Switch Count 223
Page Faults 0
Page Reclaims 695
Page Swaps 0
Voluntary Context Switches 898
Involuntary Context Switches 719
Block Input Operations 0
Block Output Operations 40464&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;I am looking for a way to conduct the analysis with heterogeneous variance, or suggestions on perhaps transformations to assist with heterogeneity problems? I am running the code through SAS University Edition/SAS Studio, so I recognize that there may be memory problems associated with this platform? I have access to SAS 9.4 on library computers but a different memory error appears there (see below) that I cannot fix due to lacking administrator privileges to apply the hot fix.&lt;PRE&gt;ERROR: Integer overflow on computing amount of memory required. 
       A request to allocate the memory cannot be honored.&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Any suggestions would be very welcome. I hope I provided enough detail, but would be more than willing to add any information that would be helpful! Thank you.&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Feb 2016 14:18:15 GMT</pubDate>
    <dc:creator>qataqomes</dc:creator>
    <dc:date>2016-02-25T14:18:15Z</dc:date>
    <item>
      <title>Two Way ANOVA fitting Heteroskedasticity - Running out of Memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/252290#M56811</link>
      <description>&lt;P&gt;Hello, all. I have a two way ANOVA testing the effects of Fungicide and (fungal) Isolate on a Log10EC50 response value (EC50 being the effective chemical concentration that inhibits growth halfway between a minimum and maximum response). I know that my groups of Fungicide*Isolate have very heterogeneous variance (variances range from 0.00073 to 0.8&lt;SPAN&gt;7599&lt;/SPAN&gt;), and I am trying to fit the model with hetereogeneous variance using the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ANOVA Code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC mixed data=IMPORT; 
   TITLE3 "ANOVA Comparing LogEC50's, group=Isolate*Fungicide"; 
   class Trial Fungicide Plate Isolate;
   model LogEC50 = Fungicide|Isolate / ddfm=KR outp=outH;
   Random Plate(Trial) / group=Fungicide*Isolate;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am receiving a memory error. I have a large dataset (over 2,800 observations - the attached PDF shows Class Level Information; there will be about 390 groups that need to be fitted for heterogeneous variance). I have included the fullstimer option to aid in diagnosis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOG&lt;/P&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: The PROCEDURE MIXED printed pages 4-5.
NOTE: PROCEDURE MIXED used (Total process time):
real time 0.13 seconds
user cpu time 0.06 seconds
system cpu time 0.07 seconds
memory 5162.28k
OS Memory 36272.00k
Timestamp 02/25/2016 04:02:39 AM
Step Count 31 Switch Count 223
Page Faults 0
Page Reclaims 695
Page Swaps 0
Voluntary Context Switches 898
Involuntary Context Switches 719
Block Input Operations 0
Block Output Operations 40464&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;I am looking for a way to conduct the analysis with heterogeneous variance, or suggestions on perhaps transformations to assist with heterogeneity problems? I am running the code through SAS University Edition/SAS Studio, so I recognize that there may be memory problems associated with this platform? I have access to SAS 9.4 on library computers but a different memory error appears there (see below) that I cannot fix due to lacking administrator privileges to apply the hot fix.&lt;PRE&gt;ERROR: Integer overflow on computing amount of memory required. 
       A request to allocate the memory cannot be honored.&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Any suggestions would be very welcome. I hope I provided enough detail, but would be more than willing to add any information that would be helpful! Thank you.&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/252290#M56811</guid>
      <dc:creator>qataqomes</dc:creator>
      <dc:date>2016-02-25T14:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Two Way ANOVA fitting Heteroskedasticity - Running out of Memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/253505#M56899</link>
      <description>&lt;P&gt;You could switch to PROC HPMIXED, designed for large-scale problems.&lt;/P&gt;
&lt;P&gt;However, I think you want the residual to have different groups, not the random effect.&lt;/P&gt;
&lt;P&gt;repeated / group=fungicide*isolate;&lt;/P&gt;
&lt;P&gt;In fact, based on the limited information, plate(trial) could be your residual, which would mean that you have an over-parameterized model (since the residual is already there). You might want to try:&lt;/P&gt;
&lt;P&gt;random int / sub=trial;&lt;/P&gt;
&lt;P&gt;repeated / group=fungicide*isolate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With all that said, it is usually not good statistical practice to fit so many variances in a model. This usually reduces your power, and can lead to all kinds of estimation problems, even when there is enough memory.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/253505#M56899</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-03-01T17:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Two Way ANOVA fitting Heteroskedasticity - Running out of Memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/253508#M56900</link>
      <description>&lt;P&gt;...One more thing.... Quoting from the HPMIXED User's Guide (applies also to MIXED):&lt;/P&gt;
&lt;P&gt;"You should exercise caution in defining the GROUP effect, because strange covariance patterns can result with its misuse. Also, the GROUP effect can greatly increase the number of estimated covariance parameters, which can adversely affect the optimization process".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-Way-ANOVA-fitting-Heteroskedasticity-Running-out-of-Memory/m-p/253508#M56900</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-03-01T17:20:06Z</dc:date>
    </item>
  </channel>
</rss>

