<?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: Procs HPMixed and HPLMixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/271048#M14267</link>
    <description>&lt;P&gt;Your model is overparameterized for the fixed effects. You clearly have a lot of mixxing values (if not, then you are coding something incorrectly), but that is not an issue with mixed models. I would start with a small number of fixed effects(covariates or factors), to get things to work, and then add terms. The nonpositive definite matrix is one symptom of too many fixed effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPLMIXED works best when used in multiple-machine mode. I don't use it that way, so I can't give any advice. But this requires a separate license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to increase the amount of memory that SAS can use in a job. THis is specified with the MEMSIZE option in the sas configuration file (cfg file). If this is not set at MEMSIZE=MAX, then sas will only use the memory listed in this file, often set at 2GB (it doesn't matter how much memory you actually have). I have never needed to change this option, so I hope others can tell you how to do this.&amp;nbsp; You can check on this with&lt;/P&gt;
&lt;P&gt;proc options;run;&lt;/P&gt;
&lt;P&gt;to see what is specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2016 17:53:57 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2016-05-17T17:53:57Z</dc:date>
    <item>
      <title>Procs HPMixed and HPLMixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/270982#M14260</link>
      <description>&lt;P&gt;To Whom It May Concern;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SAS 9.4 and am having difficulty running a medium to large analysis. &amp;nbsp;I would like to undertake a hazard analysis of some historical commercial, not experimental, animal data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hazard is whether a hazard was observed, this is a binary variable with a mean of 0.93 and standard dev of 0.29.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just under 1E6 observations on 1E5 animals.&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;P&gt;10 fixed factors&lt;/P&gt;&lt;P&gt;43 continuous variables&lt;/P&gt;&lt;P&gt;3 random factors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having fitted a fixed effects model in Proc GLM there are many interactions and quadratic effects that are significant at P&amp;lt;0.0001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have chosen to fit fixed effects and interactions, including quadratic effects only if they are significant at P&amp;lt;=0.0001. &amp;nbsp;After correction for Nelder's marginality requirements (1994) this gives me a fixed effects model with &amp;gt;4,000 df.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is unbalanced commercial data, similar to that used for animal genetic analyses, but with a much more complicated fixed effects model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to&amp;nbsp;fit animal, handler and year as random effects without any interactions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using HPL Mixed&amp;nbsp;I&amp;nbsp;receive the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: The HPLMIXED procedure is executing in single-machine mode.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Insufficient resources to proceed. Terminating the mixed modeling task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using HP Mixed&amp;nbsp;I&amp;nbsp;receive the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: 56969 observations are excluded because of: missing response values&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(n=377), missing fixed effects (n=56969), missing random effects&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (n=6546).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: The MMEq matrix is not positive semidefinite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My computer is a PC running Windows7 Professional with 64Gb RAM running at 3.6GHz. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has 2 by 1 Tb hard disc drives that back up to one another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a solid state 500Gb Hard Drive that has been included to use as virtual memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure what resources I need to continue with HPLMixed.&amp;nbsp; It is possible that I am not directing the working directory to the solid state hard drive correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know what to do to ensure I get a positive semidefinite MMEq matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be most obliged if someone could give me some direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See code below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc hplmixed data=train0;&lt;BR /&gt;*proc hpmixed data=train0;&lt;BR /&gt;*P&amp;lt;=0.0001;&lt;BR /&gt;class Month doweek notwrk Site Observn L14 T6 T7 T31 T32 Handl Year Anml;&lt;BR /&gt;model hazd=&lt;BR /&gt;doweek&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;T5*T5&lt;BR /&gt;T9*T9&lt;BR /&gt;W16*W16&lt;/P&gt;&lt;P&gt;/ S;&lt;BR /&gt;random&lt;/P&gt;&lt;P&gt;Anml Handl Year&lt;/P&gt;&lt;P&gt;/ Solution;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 13:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/270982#M14260</guid>
      <dc:creator>davidrutley</dc:creator>
      <dc:date>2016-05-17T13:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Procs HPMixed and HPLMixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/270994#M14261</link>
      <description>&lt;P&gt;If you haven't already read it, I recommend the 2009 paper&amp;nbsp;&lt;A href="http://support.sas.com/resources/papers/proceedings09/256-2009.pdf" target="_self"&gt;"All the cows in Canada: Massive Mixed Modeling with the HPMIXED procedure"&lt;/A&gt;&amp;nbsp;as a good introduction to this area.&amp;nbsp; It describes a smaller problem with only 10,000 animals and many fewer effects.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 14:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/270994#M14261</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-17T14:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Procs HPMixed and HPLMixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/271048#M14267</link>
      <description>&lt;P&gt;Your model is overparameterized for the fixed effects. You clearly have a lot of mixxing values (if not, then you are coding something incorrectly), but that is not an issue with mixed models. I would start with a small number of fixed effects(covariates or factors), to get things to work, and then add terms. The nonpositive definite matrix is one symptom of too many fixed effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPLMIXED works best when used in multiple-machine mode. I don't use it that way, so I can't give any advice. But this requires a separate license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to increase the amount of memory that SAS can use in a job. THis is specified with the MEMSIZE option in the sas configuration file (cfg file). If this is not set at MEMSIZE=MAX, then sas will only use the memory listed in this file, often set at 2GB (it doesn't matter how much memory you actually have). I have never needed to change this option, so I hope others can tell you how to do this.&amp;nbsp; You can check on this with&lt;/P&gt;
&lt;P&gt;proc options;run;&lt;/P&gt;
&lt;P&gt;to see what is specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 17:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Procs-HPMixed-and-HPLMixed/m-p/271048#M14267</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-05-17T17:53:57Z</dc:date>
    </item>
  </channel>
</rss>

