<?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: multilevel beta regression errors in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839498#M41581</link>
    <description>&lt;P&gt;I agree with Rick -- we would need to have your data in order to see what might have caused the convergence issue.&lt;/P&gt;
&lt;P&gt;In the meantime, try rescaling your time variable (slope). For example, divide that by 10, or 100, to see if that helps.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 20:00:18 GMT</pubDate>
    <dc:creator>jiltao</dc:creator>
    <dc:date>2022-10-19T20:00:18Z</dc:date>
    <item>
      <title>multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839065#M41557</link>
      <description>&lt;P&gt;I am doing multilevel analyses using beta regression because my dependent variable is a proportion. The range of proportion values includes 0 and 1; however, prior to analysis 0 was recoded to 0.005 and 1 was recoded to 0.995. Most of the analyses executed without error but four did not. The attached file shows the syntax for each analysis and the noted error (the same for three of the four analyses). As this my first experience with beta regression, please pitch your reply to the level of somebody with no experience with beta regression and an incomplete understanding of all glimmix options and keywords and their possible interactions. A low level slow walk would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks Gene Maguin&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 20:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839065#M41557</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2022-10-17T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839181#M41560</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839181#M41560</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-10-18T12:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839183#M41562</link>
      <description>&lt;P&gt;I don't think we'll be able to reproduce these errors without having the data.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839183#M41562</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-10-18T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839185#M41563</link>
      <description>&lt;P&gt;I am going to follow this closely as this is an interesting question that I don't have an answer for.&amp;nbsp; Some additional information could be helpful, such as what are the numerator and denominator in the calculation of compliance2, how many records you have, and whether you have tried a pseudo-likelihood approach, rather than the quadrature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839185#M41563</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-10-18T12:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839483#M41577</link>
      <description>&lt;P&gt;Rick_SAS: I'm not the PI. May not be possible.&lt;/P&gt;&lt;P&gt;All: Ecological Momentary Assessment dataset. Longitudinal. 9 time points. Persons are&amp;nbsp; (attempted to be) assessed by a single yes/no item once each day at wake-up ("Wake-up") and then at four random times during the following 12 hour period ("Random"). Each time point is a 7 day period. Each person has a Wake-up proportion and a Random proportion at each time point. Wake-up proportion is the count of Yeses at wake-up (0-7) for the week divided by 7 days. Random proportion is count of Yeses at the random times for the week (0-4*7) divided by 4*7=28. Number of persons at week 0 is ~255 and at week 9 is ~230. In the model statement "slope" is time point variable and assesstype is the Wake-up vs Random indicator.&lt;/P&gt;&lt;P&gt;Tried pseudo-likelihood? No. (Quadrature was recommended). I see that there are four PL options (&lt;SPAN class=""&gt;RSPL | MSPL | RMPL | MMPL), which would you try first (why, please), then next?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks, Gene Maguin&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 19:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839483#M41577</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2022-10-19T19:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839489#M41580</link>
      <description>&lt;P&gt;It doesn't have to be real data. If you can invent an example that shows the problem, we can try to understand what is causing the issue and recommend a solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If only the real data shows the issue, you can contact SAS Technical Support. They have procedures to handle proprietary or sensitive data from customers.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 19:27:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839489#M41580</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-10-19T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839498#M41581</link>
      <description>&lt;P&gt;I agree with Rick -- we would need to have your data in order to see what might have caused the convergence issue.&lt;/P&gt;
&lt;P&gt;In the meantime, try rescaling your time variable (slope). For example, divide that by 10, or 100, to see if that helps.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 20:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839498#M41581</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2022-10-19T20:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839671#M41610</link>
      <description>&lt;P&gt;Well, it could be that using a beta distribution with the default log link is the problem.&amp;nbsp; This phrase: &lt;EM&gt;Persons are&amp;nbsp; (attempted to be) assessed by a single yes/no item&lt;/EM&gt;. indicates to me that a binary/binomial distribution with a logit link may be more appropriate. In each case, the response variable is the proportion of Yeses out of the number of occasions for observing either Yes or No, rather than a proportion defined by a continuous variable divided by a larger, different continuous variable.&amp;nbsp; With that in mind, take a look at Stroup and Claassen's paper:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://econpapers.repec.org/article/sprjagbes/v_3a25_3ay_3a2020_3ai_3a4_3ad_3a10.1007_5fs13253-020-00402-6.htm" target="_self"&gt;https://econpapers.repec.org/article/sprjagbes/v_3a25_3ay_3a2020_3ai_3a4_3ad_3a10.1007_5fs13253-020-00402-6.htm&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;The full paper may be behind a paywall (Springer) but keep digging and you'll find a pdf copy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the pseudo-likelihood method they used was the default for GLIMMIX - RSPL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839671#M41610</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-10-20T14:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839926#M41624</link>
      <description>I don't believe i have technical skill to create a plausible beta distribution test data model.&lt;BR /&gt;I want to ask about the meaning of the three error messages that I'm seeing. These are&lt;BR /&gt;ERROR: QUANEW Optimization cannot be completed.&lt;BR /&gt;ERROR: The function value of the objective function cannot be computed at the starting point.&lt;BR /&gt;&lt;BR /&gt;ERROR: Infeasible parameter values for evaluation of objective function with 1 quadrature point.&lt;BR /&gt;&lt;BR /&gt;What do these mean in terms of where the estimation process is failing. To me they are pretty opaque and I'd like to understand what is happening.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839926#M41624</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2022-10-21T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839937#M41625</link>
      <description>I can a copy from the library. Thanks for the recommendation. I'll try RSPL. I understand your alternative; I read about it in an ecology statistics book. Help me learn something. How would this be implemented? Our data is the computed proportion (because the dataset was originally analyzed assuming a normal distribution). I assume that that data won't work for the alternative method. Would I have to go back to the original data where each record represents an instance where a call was made? I know that the spss procedure genlinmixed allows the data to be expressed as the number of successes of the number of attempts, where the number of attempts can be a variable in the dataset. I just assume sas can do that, why not, but does glimmix have that capability? If so, where/how would it be documented? Lastly, the other problem is proportions of 0.0 or 1.0. In these current analyses, those values are recoded to 0.005 and 0.995, respectively. What happens in a logit formulation? Discarded as undefined? Given an arbitrarily large or small value, which is what mplus apparently does? I agree that your proposed model is a better representation of the data. The question is implementation.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/839937#M41625</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2022-10-21T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/840266#M41643</link>
      <description>&lt;P&gt;Yes, that data will work. The binomial distribution is a default for models that use the events/trials syntax, but it can be applied to aggregate values as well, see&amp;nbsp; example 51.4&amp;nbsp;&lt;FONT size="3"&gt;Quasi-likelihood Estimation for Proportions with Unknown Distribution&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_examples07.htm" target="_self"&gt;https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_examples07.htm&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="4"&gt;and the complete code:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_032/statug/statug_code_gmxex04.htm" target="_self"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_032/statug/statug_code_gmxex04.htm&lt;/A&gt;&amp;nbsp;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;One thing that you will want to do is put the extreme values of 0 and 1 back into the analysis dataset, rather than 0.005 and 0.995. The binomial distribution has support on the closed interval that includes zero and one when a logit link is used.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;SteveDenham&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 13:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/840266#M41643</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-10-24T13:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: multilevel beta regression errors</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/840960#M41680</link>
      <description>Steve, Thank you. I would never have found that. I'll try it out but it certainly looks like it is what I need.&lt;BR /&gt;One thing I noticed that that clicking on the complete code link is a dead end. Searching on "sas glimmix" and clicking on first result (&lt;A href="https://support.sas.com/rnd/app/stat/procedures/glimmix.html" target="_blank"&gt;https://support.sas.com/rnd/app/stat/procedures/glimmix.html&lt;/A&gt;) gets to a page with "SAS/STAT Software" as the heading. Under the examples is the example you pointed me to but there it is listed as Example 49.4 (and the link to the complete code works). So, who knows why; it like going into your familiar grocery store and nearly everything has been rearranged.&lt;BR /&gt;Again, thank you.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/multilevel-beta-regression-errors/m-p/840960#M41680</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2022-10-26T16:42:52Z</dc:date>
    </item>
  </channel>
</rss>

