<?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: proc glimmix after multiple imputation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752319#M36590</link>
    <description>&lt;P&gt;Rather than using QPOINTS=50. I would suggest&amp;nbsp;try using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METHOD=QUAD(FASTQUAD)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to see if your model can be estimated.&amp;nbsp; If&amp;nbsp; you still obtain the message about memory, then check the memsize option associated with your operating system?&amp;nbsp; How much memory do you have available?&amp;nbsp; You can try increasing the memsize to larger value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would also be concerned given the number of variables in your model you might have some quasi-separation issues and might have consider an alternative model with fewer effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find the following paper&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;helpful as it discuss various&amp;nbsp;model issues&amp;nbsp;such&amp;nbsp;memory, quasi separation, etc when using PROC GLIMMIX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 14:17:52 GMT</pubDate>
    <dc:creator>STAT_Kathleen</dc:creator>
    <dc:date>2021-07-06T14:17:52Z</dc:date>
    <item>
      <title>proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/750910#M36509</link>
      <description>&lt;P&gt;Hi, SAS experts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am analying my data with glimmix after multiple imputation.&lt;/P&gt;&lt;P&gt;The following code does not work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would really appreciate any comments/suggestions you have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=miout2 method=quad(qpoints=50);&lt;BR /&gt;class unit_no sex(ref="1") earlyedu_6m(ref="1") m_age_c(ref="1") mt1_k6_c(ref="1")&lt;BR /&gt;repellent_mt2(ref="3") home_insecticide_mt2_c4(ref="1") mosq_repellent_mt2_c4(ref="1") liquid_insecticide_mt2_c4(ref="1") home_herbicide_mt2_c4(ref="1") spray_mt2_c4(ref="1") smoke_mt2_c(ref="1")&lt;BR /&gt;care(ref="1") cry(ref="1") beat(ref="1") out(ref="1") support_partner_1m(ref="1") helper_1m(ref="1") tv_1m(ref="1") game_1m(ref="1") month(ref="1") sibling(ref="1") maritalstatus(ref="1") drink_mt2(ref="1") breastfeeding(ref="1")&lt;BR /&gt;Dr0m_0030401(ref="1") Dr0m_0030601(ref="1") m_job_cat(ref="1") smoking_m(ref="1") excercise(ref="1") MT2_1100001(ref="1") bw(ref="0");&lt;BR /&gt;&lt;BR /&gt;model c6m_ASQ_cat(event="1")= repellent_mt2 m_age_c home_insecticide_mt2_c4 mosq_repellent_mt2_c4 liquid_insecticide_mt2_c4 home_herbicide_mt2_c4 spray_mt2_c4 smoke_mt2_c&lt;BR /&gt;income sex earlyedu_6m mt1_k6_c care cry beat out support_partner_1m helper_1m tv_1m game_1m month sibling maritalstatus drink_mt2 breastfeeding Dr0m_0030401 Dr0m_0030601 m_job_cat smoking_m excercise MT2_1100001 bw&lt;BR /&gt;/ D=bin link=logit solution cl or;&lt;BR /&gt;random intercept / subject=unit_no type=un ;&lt;BR /&gt;ods output ParameterEstimates=imputeout;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 06:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/750910#M36509</guid>
      <dc:creator>Shoriuchi</dc:creator>
      <dc:date>2021-06-29T06:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/750951#M36510</link>
      <description>&lt;P&gt;When you say "does not work" we can't really help as we don't have a dataset to use for this code.&amp;nbsp; To get help, please copy and paste the log (or at least the part of the log relating to GLIMMIX), using either &amp;lt;/&amp;gt; or the running man icon to open a window that is designed for this.&amp;nbsp; There may also be messages in the .lst file that would be helpful in debugging.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, this paper&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&amp;nbsp; and this quick look&amp;nbsp;&lt;A href="https://resources.cste.org/JLVToolkit/Convergence%20Questions%20Resource.pdf" target="_self"&gt;https://resources.cste.org/JLVToolkit/Convergence%20Questions%20Resource.pdf&lt;/A&gt;&amp;nbsp; may help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 13:30:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/750951#M36510</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-29T13:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751009#M36513</link>
      <description>&lt;P&gt;Doesn't work is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the "&amp;lt;&amp;gt;" to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "&amp;lt;/&amp;gt;" icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 16:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751009#M36513</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-29T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751127#M36521</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The message below appears on the log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;An integer overflow has occurred in the calculation of memory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;requirements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: &lt;/SPAN&gt;&lt;SPAN&gt;This step has been aborted due to lack of memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: PROCEDURE GLIMMIX processing time:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;processing time 2.58 second&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU time 1.90 second&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 05:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751127#M36521</guid>
      <dc:creator>Shoriuchi</dc:creator>
      <dc:date>2021-06-30T05:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751243#M36529</link>
      <description>&lt;P&gt;Well, that seems to say that during the set-up for GLIMMIX something unusual happened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my opinion, I think this is due to too many independent variables, such that there is either complete separation or quasi-separation of the response variable when considered with all of the independent variables.&amp;nbsp; My suggestion is rather brute force, but try the following:&amp;nbsp; First, look at the cross-tabulations of your response with the independent variables to examine for separation.&amp;nbsp; If there are some independent variables that lead to complete or quasi-complete separation, set those aside. Next, answer the question as to why you are seeking the covariances between all of your subjects.&amp;nbsp; The use of type=un means that you are trying to estimate N + N*(N-1)/2 parameters.&amp;nbsp; If you have 20 units, this means you are trying to estimate 210 parameters in your Z matrix.&amp;nbsp; To get a reasonable estimate for these would require at least ten times that many records. So, try running this with the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;RANDOM intercept/subject=unit_id;&lt;/PRE&gt;
&lt;P&gt;This random intercept model means a single variance component in common across the units is estimated.&amp;nbsp; Your fixed effects in the MODEL statement supply the "slope" in 26 dimensional space.&amp;nbsp; This over parameterizaion of the Z matrix is probably the cause of the integer overflow.&amp;nbsp; At least I have seen this happen with some of the GLIMMIX models we have run where we have used type=un for R side components and there have been a large number of levels for each subject.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/751243#M36529</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-30T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752008#M36578</link>
      <description>&lt;P&gt;Thank you Steve for the advice!&lt;/P&gt;&lt;P&gt;I have removed some variables that lead&amp;nbsp; to separation of the independent variable, and removed type=un based on your suggestion,&lt;/P&gt;&lt;P&gt;but the same error still comes out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It may be because of too many variables included in the model?&lt;/P&gt;&lt;P&gt;I really appreciate it if you can give me further advice to solve this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 01:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752008#M36578</guid>
      <dc:creator>Shoriuchi</dc:creator>
      <dc:date>2021-07-05T01:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752270#M36585</link>
      <description>&lt;P&gt;It may be due to too many variables.&amp;nbsp; A good approach here would be stepping up from a model that does converge.&amp;nbsp; Try wrapping your code in a macro so that you can step through each of the single variables one at a time.&amp;nbsp; If there are any that still give this message, then you are probably going to leave them out of any analysis.&amp;nbsp; For those that do run, you can then try adding in more of the variables to the MODEL statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that this puts you in exploratory territory, rather than confirmatory.&amp;nbsp; You would wind up with a model that is specific to your dataset, rather than being able to infer to a larger population.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possibility is to step away from adaptive quadrature as a method.&amp;nbsp; What happens if you try method=laplace, or even to leave the method= option out, resulting in a linearized pseudo-likelihood approach (see the paper by Stoup and Claassen from earlier this year that touts this method for binomial response models).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 11:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752270#M36585</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-07-06T11:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc glimmix after multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752319#M36590</link>
      <description>&lt;P&gt;Rather than using QPOINTS=50. I would suggest&amp;nbsp;try using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; METHOD=QUAD(FASTQUAD)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to see if your model can be estimated.&amp;nbsp; If&amp;nbsp; you still obtain the message about memory, then check the memsize option associated with your operating system?&amp;nbsp; How much memory do you have available?&amp;nbsp; You can try increasing the memsize to larger value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would also be concerned given the number of variables in your model you might have some quasi-separation issues and might have consider an alternative model with fewer effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might find the following paper&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;helpful as it discuss various&amp;nbsp;model issues&amp;nbsp;such&amp;nbsp;memory, quasi separation, etc when using PROC GLIMMIX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 14:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-glimmix-after-multiple-imputation/m-p/752319#M36590</guid>
      <dc:creator>STAT_Kathleen</dc:creator>
      <dc:date>2021-07-06T14:17:52Z</dc:date>
    </item>
  </channel>
</rss>

