<?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 not converging in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943309#M47111</link>
    <description>&lt;P&gt;I tried to add parms but still no convergence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
135  proc glimmix data=lab.sample;
136  class occ_reduced agegr SEX strate  ;
137  model occ_reduced(ref='UNEM') =edu sex agegr rdemH rdemM rdemL/ solution dist=MULTINOMIAL
137! link=glogit;
138  random intercept / subject=strate GROUP=occ_reduced;
139  weight weight_samp;
140  where labour=1;
141  parms;
142  run;



NOTE: Some observations are not used in the analysis because of: zero or negative weight (n=112144),
      missing weight (n=10511).
NOTE: PROC GLIMMIX is fitting a model for nominal (unordered) data. This type of model contrasts each
      response level against a reference level (occ_reduced='UNEM').
NOTE: Did not converge.
NOTE: PROCEDURE GLIMMIX used (Total process time):
      real time           25:50.28
      cpu time            25:47.21

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Sep 2024 14:37:32 GMT</pubDate>
    <dc:creator>Demographer</dc:creator>
    <dc:date>2024-09-10T14:37:32Z</dc:date>
    <item>
      <title>Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943165#M47093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to build a model predicting the occupation in 4 categories (occ_reduced: high skilled, medium-skilled, low-skilled, unemployed) with individuals characteristics (edu, sex, agegr) and the demand for High-skilled jobs (norm_demH ) and for low and medium-skilled jobs (norm_demML), which are year- and country-specific variables. The dataset combines surveys from different countries and different years. Each survey is identified by the variable "strate". &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I first built a multiniomal logit model with proc logistic that gives consistent parameters:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=lab.sample outmodel=lab.occup_model2;
class edu(ref='2') imm_var(ref='0') sex / param = ref;
model occ_reduced(ref='UNEM')=edu sex agegr norm_demH norm_demML / link = glogit;
weight weight_samp /norm;
where labour=1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However I feel I should use a multilevel model since norm_demH and norm_demML are survey-specific variables. I tried several options in proc glimmix but the model never not converge. The last one looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=lab.sample INITGLM;
class occ_reduced agegr SEX strate ;
model occ_reduced(ref='UNEM') =edu sex agegr norm_demH norm_demML/ solution dist=MULTINOMIAL link=glogit;
random intercept / subject=strate GROUP=occ_reduced;
weight weight_samp;
where labour=1;
NLOPTIONS TECH=NRRIDG MAXITER=100 ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not so used to this kind of multilevel model so maybe there is something I'm missing. Any tips?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 14:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943165#M47093</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-09T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943167#M47094</link>
      <description>&lt;P&gt;What happens if you add METHOD=QUAD or METHOD=LAPLACE option in the PROC GLIMMIX statement?&lt;/P&gt;
&lt;P&gt;If that does not help, what non-converging messages did you get previously and after adding one of these options?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943167#M47094</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2024-09-09T15:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943181#M47095</link>
      <description>&lt;P&gt;TIP: Include the entire LOG the attempt. Often SAS provides information that will let someone familiar with the procedure point in a direction for resolution. Copy the entire text from the LOG of the code and &lt;STRONG&gt;all&lt;/STRONG&gt; the notes, messages, warnings and details. Then on the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The text box will preserve the formatting of the text from the log and visually set the details apart from the discussion or question and answer text. Note: sometimes we find code in the LOG not to be the same as shared with the problem description which is why we ask for the entire code from the log.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943181#M47095</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-09-09T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943261#M47101</link>
      <description>&lt;PRE&gt;110  proc glimmix data=lab.sample;
111  title "Random intercept";
112  class occ_reduced agegr SEX strate  ;
113  model occ_reduced(ref='UNEM') =edu sex agegr rdemH rdemM rdemL/ solution dist=MULTINOMIAL
113! link=glogit;
114  random intercept / subject=strate GROUP=occ_reduced;
115  weight weight_samp;
116  where labour=1;
117  run;



NOTE: Some observations are not used in the analysis because of: zero or negative weight (n=112144),
      missing weight (n=10511).
NOTE: PROC GLIMMIX is fitting a model for nominal (unordered) data. This type of model contrasts each
      response level against a reference level (occ_reduced='UNEM').
NOTE: Did not converge.
NOTE: PROCEDURE GLIMMIX used (Total process time):
      real time           25:38.21
      cpu time            25:37.26

&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943261#M47101</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-10T07:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943267#M47102</link>
      <description>&lt;P&gt;I get this error message.&lt;/P&gt;
&lt;PRE&gt;118  proc glimmix data=lab.sample METHOD=QUAD;
119  title "Random intercept";
120  class occ_reduced agegr SEX strate  ;
121  model occ_reduced(ref='UNEM') =edu sex agegr rdemH rdemM rdemL/ solution dist=MULTINOMIAL
121! link=glogit;
122  random intercept / subject=strate GROUP=occ_reduced;
123  weight weight_samp;
124  where labour=1;
125  run;



NOTE: Some observations are not used in the analysis because of: zero or negative weight (n=112144),
      missing weight (n=10511).
NOTE: PROC GLIMMIX is fitting a model for nominal (unordered) data. This type of model contrasts each
      response level against a reference level (occ_reduced='UNEM').
ERROR: Infeasible parameter values for evaluation of objective function with 1 quadrature point.
NOTE: PROCEDURE GLIMMIX used (Total process time):
      real time           2:52.39
      cpu time            2:50.72


&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943267#M47102</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-10T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943276#M47104</link>
      <description>&lt;P&gt;What is the sample size of your entire data? I saw plenty of observations excluded from analysis due to zero, negative or missing weights. You could alternatively provide the size of the sample eventually used by the GLIMMIX procedure.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:08:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943276#M47104</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-10T10:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943282#M47105</link>
      <description>&lt;P&gt;The sample size of valid observations is&amp;nbsp;1,156,858.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Glimmix: Number of Observations" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Number of Observations Read&lt;/TH&gt;
&lt;TD class="r data"&gt;1279513&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Number of Observations Used&lt;/TH&gt;
&lt;TD class="r data"&gt;1156858&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;A name="IDX73" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Glimmix: Response Profiles" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c b header" colspan="3" scope="colgroup"&gt;Response Profile&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r b header" scope="col"&gt;Ordered&lt;BR /&gt;Value&lt;/TH&gt;
&lt;TH class="l b header" scope="col"&gt;occ_reduced&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Total&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1&lt;/TH&gt;
&lt;TH class="l data"&gt;HIGH&lt;/TH&gt;
&lt;TD class="r data"&gt;418183&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2&lt;/TH&gt;
&lt;TH class="l data"&gt;LOW&lt;/TH&gt;
&lt;TD class="r data"&gt;95326&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;3&lt;/TH&gt;
&lt;TH class="l data"&gt;MED&lt;/TH&gt;
&lt;TD class="r data"&gt;553169&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;4&lt;/TH&gt;
&lt;TH class="l data"&gt;UNEM&lt;/TH&gt;
&lt;TD class="r data"&gt;90180&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;TFOOT&gt;
&lt;TR&gt;
&lt;TH class="c b footer" colspan="3"&gt;In modeling category probabilities, occ_reduced='UNEM' serves as the reference category.&lt;/TH&gt;
&lt;/TR&gt;
&lt;/TFOOT&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;A name="IDX74" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Glimmix: Dimensions" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c b header" colspan="2" scope="colgroup"&gt;Dimensions&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;G-side Cov. Parameters&lt;/TH&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Columns in X&lt;/TH&gt;
&lt;TD class="r data"&gt;57&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Columns in Z per Subject&lt;/TH&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Subjects (Blocks in V)&lt;/TH&gt;
&lt;TD class="r data"&gt;189&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Max Obs per Subject&lt;/TH&gt;
&lt;TD class="r data"&gt;27313&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;A name="IDX75" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Glimmix: Optimization Information" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c b header" colspan="2" scope="colgroup"&gt;Optimization Information&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Optimization Technique&lt;/TH&gt;
&lt;TD class="l data"&gt;Dual Quasi-Newton&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Parameters in Optimization&lt;/TH&gt;
&lt;TD class="l data"&gt;54&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Lower Boundaries&lt;/TH&gt;
&lt;TD class="l data"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Upper Boundaries&lt;/TH&gt;
&lt;TD class="l data"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Fixed Effects&lt;/TH&gt;
&lt;TD class="l data"&gt;Not Profiled&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;Starting From&lt;/TH&gt;
&lt;TD class="l data"&gt;GLM estimates&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;A name="IDX76" target="_blank"&gt;&lt;/A&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Glimmix: Convergence Status" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="c data"&gt;The initial estimates did not yield a valid objective function.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Sep 2024 11:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943282#M47105</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-10T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943304#M47109</link>
      <description>&lt;P&gt;You might add PARMS statement to provide your own starting values for the covariance parameter estimates. It might take several trial and error....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943304#M47109</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2024-09-10T13:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943308#M47110</link>
      <description>&lt;P&gt;I am also curious on two issues of provision of starting values by the user.&lt;/P&gt;
&lt;P&gt;(1) I remember that maximum likelihood is the method used here. Theoretically, if identifiability holds, then the maximum likelihood estimator should be unique. So is it useful to try different starting values?&lt;/P&gt;
&lt;P&gt;(2) I had personally tried providing starting values in the NLMIXED procedure and had noted the effect of the provision of starting values. This could have a bearing on the ultimate parameter estimates (contradicting the theoretical result I stated in the last paragraph, which is also something about which I am puzzled). So would not it be subjective if we arbitrarily provide starting values?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943308#M47110</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-10T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943309#M47111</link>
      <description>&lt;P&gt;I tried to add parms but still no convergence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
135  proc glimmix data=lab.sample;
136  class occ_reduced agegr SEX strate  ;
137  model occ_reduced(ref='UNEM') =edu sex agegr rdemH rdemM rdemL/ solution dist=MULTINOMIAL
137! link=glogit;
138  random intercept / subject=strate GROUP=occ_reduced;
139  weight weight_samp;
140  where labour=1;
141  parms;
142  run;



NOTE: Some observations are not used in the analysis because of: zero or negative weight (n=112144),
      missing weight (n=10511).
NOTE: PROC GLIMMIX is fitting a model for nominal (unordered) data. This type of model contrasts each
      response level against a reference level (occ_reduced='UNEM').
NOTE: Did not converge.
NOTE: PROCEDURE GLIMMIX used (Total process time):
      real time           25:50.28
      cpu time            25:47.21

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943309#M47111</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-10T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943310#M47112</link>
      <description>The PARMS statement is used for providing starting values of parameters for iterations that estimate the parameters (e.g., regression coefficients). With no starting values provided, the simple inclusion of "PARMS;" in the code does not help.</description>
      <pubDate>Tue, 10 Sep 2024 14:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943310#M47112</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-10T14:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943311#M47113</link>
      <description>&lt;P&gt;How choosing the starting value? Should I just pick a random number?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943311#M47113</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-10T14:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943313#M47114</link>
      <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;has mentioned, it (or maybe them) is (are) provided with trial and error. I comprehend it as providing it (them) arbitrarily.&lt;/P&gt;
&lt;P&gt;If the current step of providing starting values is among one of the many steps in your entire analytic process and that the starting values to be provided can be estimated from the preceding step, then you can set values of the estimated parameter obtained in the preceding step as the starting values of the current step. This is a practice adopted in&amp;nbsp;&lt;A href="https://www.amazon.com/Mixed-Models-Second-Ramon-Littell/dp/1590475003/ref=sr_1_1?crid=3V4VKT4UXPXR8&amp;amp;dib=eyJ2IjoiMSJ9.VkX9P4EJAXsV9m4285emYVwV0cruF9BtGyHlY5GtA1meQ7nGc98PU7Xtuehd00btfHtCviz07CEqqt-4eZitrDfPqdKB8jxRiEg5RtWzAgxoq3m3grQFAoh8aHcYOUW8O3o-clLOdhTAAH6gKTsXJYO68CGyqQoyESkTPVr1-GftdWXKFhXSmUEsjOqiESG4Jv0cDKs-PbNf-mSOIeX8L8_A1_7vJIugG0Ix0aPJgrw.63XgJGr3NcLlTdHsxi4-E1gftLK8xXJAi9DSJ57HyF4&amp;amp;dib_tag=se&amp;amp;keywords=sas+for+mixed+models&amp;amp;qid=1725979567&amp;amp;sprefix=sas+for+mixed+mode%2Caps%2C357&amp;amp;sr=8-1" target="_blank"&gt;Amazon.com: SAS for Mixed Models, Second Edition: 9781590475003: Littell Ph.D., Ramon C., Milliken Ph.D., George A., Stroup Ph.D., Walter W., Wolfinger Ph.D., Russell D., Schabenberger Ph.D., Oliver: Books&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943313#M47114</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-10T14:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943316#M47115</link>
      <description>&lt;P&gt;sample syntax:&lt;/P&gt;
&lt;P&gt;parms (2) (3) (0.5) (1);&lt;/P&gt;
&lt;P&gt;But the values would depend on your data so you need to make appropriate changes.&lt;/P&gt;
&lt;P&gt;One approach is to fit a simpler model and hopefully it will converge. Then you can use the estimated values as the starting values for your model. For example,&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc glimmix data=lab.sample method=laplace;
 class occ_reduced  ;
  model occ_reduced(ref='UNEM') =/ solution dist=MULTINOMIAL
 link=glogit;
 random intercept / subject=strate GROUP=occ_reduced;
 where labour=1;
run;&lt;/LI-CODE&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943316#M47115</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2024-09-10T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943764#M47139</link>
      <description>&lt;P&gt;Thanks for the advice. I tried a model with no covariate, but it still does not converge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
183  proc glimmix data=lab.sample;
184  class occ_reduced agegr SEX strate  ;
185  model occ_reduced(ref='UNEM') =/*edu sex agegr rdemH rdemM rdemL*// solution dist=MULTINOMIAL
185! link=glogit;
186  random intercept / subject=strate GROUP=occ_reduced;
187  weight weight_samp;
188  where labour=1;
189  parms /*(2) (3) (0.5) (1)*/;
190  run;



NOTE: Some observations are not used in the analysis because of: zero or negative weight (n=112144),
      missing weight (n=10511).
NOTE: PROC GLIMMIX is fitting a model for nominal (unordered) data. This type of model contrasts each
      response level against a reference level (occ_reduced='UNEM').
WARNING: Pseudo-likelihood update fails in outer iteration 3.
NOTE: Did not converge.
NOTE: PROCEDURE GLIMMIX used (Total process time):
      real time           1:54.29
      cpu time            1:51.84
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943764#M47139</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-13T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943778#M47140</link>
      <description>&lt;P&gt;Two issues:&lt;/P&gt;
&lt;P&gt;(1) I saw a PROC LOGISTIC code preceding the PROC GLIMMIX code. So your analytic process falls into the scenario I mentioned days ago. You can set the parameter estimates of the LOGISTIC procedure as the starting values of the GLIMMIX procedure. You do not necessarily need to follow the exact code of &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;,&amp;nbsp;as that was used as an example. In addition, the four numbers in parentheses are flanked by "*/" or "/*", which essentially nullify them by setting them as appendices. Refer to SAS Help to see the exact method of&amp;nbsp; specifying starting values.&lt;BR /&gt;(2) How many categories are there in your dependent variable? How many observations fall into each category? You can show this in a one-way table easily get by PROC FREQ.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 13:01:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943778#M47140</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-13T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943781#M47141</link>
      <description>&lt;P&gt;1-Sorry I'm not sure what do you mean exactly by "You can set the parameter estimates of the LOGISTIC procedure as the starting values of the GLIMMIX procedure." Do you mean that if the intercepts of the model without covariate are for 0.5 0.2 0.3, I should use parms (0.5) (0.2) (0.3)?&lt;/P&gt;
&lt;P&gt;2-4 categories&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l b header" scope="col"&gt;occ_reduced&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;HIGH&lt;/TH&gt;
&lt;TD class="r data"&gt;467666&lt;/TD&gt;
&lt;TD class="r data"&gt;36.55&lt;/TD&gt;
&lt;TD class="r data"&gt;467666&lt;/TD&gt;
&lt;TD class="r data"&gt;36.55&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;LOW&lt;/TH&gt;
&lt;TD class="r data"&gt;107108&lt;/TD&gt;
&lt;TD class="r data"&gt;8.37&lt;/TD&gt;
&lt;TD class="r data"&gt;574774&lt;/TD&gt;
&lt;TD class="r data"&gt;44.92&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;MED&lt;/TH&gt;
&lt;TD class="r data"&gt;601957&lt;/TD&gt;
&lt;TD class="r data"&gt;47.05&lt;/TD&gt;
&lt;TD class="r data"&gt;1176731&lt;/TD&gt;
&lt;TD class="r data"&gt;91.97&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;UNEM&lt;/TH&gt;
&lt;TD class="r data"&gt;102782&lt;/TD&gt;
&lt;TD class="r data"&gt;8.03&lt;/TD&gt;
&lt;TD class="r data"&gt;1279513&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 12:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/943781#M47141</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2024-09-13T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix not converging</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/944051#M47147</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33143"&gt;@Demographer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;1-Sorry I'm not sure what do you mean exactly by "You can set the parameter estimates of the LOGISTIC procedure as the starting values of the GLIMMIX procedure." Do you mean that if the intercepts of the model without covariate are for 0.5 0.2 0.3, I should use parms (0.5) (0.2) (0.3)?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, that is what I mean. You can also additionally set the starting values of other parameters (e.g., regression coefficients of the variables in the model other than the intercept) as the estimates obtained from the previous LOGISTIC procedure call.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33143"&gt;@Demographer&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;2-4 categories&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l b header" scope="col"&gt;occ_reduced&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;HIGH&lt;/TH&gt;
&lt;TD class="r data"&gt;467666&lt;/TD&gt;
&lt;TD class="r data"&gt;36.55&lt;/TD&gt;
&lt;TD class="r data"&gt;467666&lt;/TD&gt;
&lt;TD class="r data"&gt;36.55&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;LOW&lt;/TH&gt;
&lt;TD class="r data"&gt;107108&lt;/TD&gt;
&lt;TD class="r data"&gt;8.37&lt;/TD&gt;
&lt;TD class="r data"&gt;574774&lt;/TD&gt;
&lt;TD class="r data"&gt;44.92&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;MED&lt;/TH&gt;
&lt;TD class="r data"&gt;601957&lt;/TD&gt;
&lt;TD class="r data"&gt;47.05&lt;/TD&gt;
&lt;TD class="r data"&gt;1176731&lt;/TD&gt;
&lt;TD class="r data"&gt;91.97&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l rowheader" scope="row"&gt;UNEM&lt;/TH&gt;
&lt;TD class="r data"&gt;102782&lt;/TD&gt;
&lt;TD class="r data"&gt;8.03&lt;/TD&gt;
&lt;TD class="r data"&gt;1279513&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In fixed effects logistic regression models, when one category of a categorical indepenent variable has too few observations or even zero observation, complete or quasi-complete separation can result, which means that the maximum likelihood estimator does not exist. When running SAS programs, this may be exemplified by failure of convergence. I could not remember if the same applies to the dependent variable as well and am also not that sure if such phenomena can be directly carried over to mixed effects model. But I saw that the second and fourth category of the dependent variable in your model both contain less than 10% of the entire observations in the dataset. Given that your log mentioned plenty of amount of removal of observations in model building process, it might be the case that too few observations whose dependent variable fall into the second and fourth category are eventually utilized. You can verify my conjecture on your own.&lt;/P&gt;
&lt;P&gt;So, if probable, you may try to combine the second and fourth category and build the model again. If that still does not work or combining categories is not permitted, look through the independent variables to see if variables with categories having little or zero data points exist. If that still does not work, look through the independent variables to see if any continuous ones exist. If so, you might try categorizing them (e.g., transform the continuous variable of age into elderly vs. not elderly). If that still does not work... then I am sorry that I have no idea how to tackle this problem in this case.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-not-converging/m-p/944051#M47147</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-16T09:30:15Z</dc:date>
    </item>
  </channel>
</rss>

