<?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: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101494#M5324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the output.&amp;nbsp; There should be a column labelled 'Estimate' and another labelled 'Mean'.&amp;nbsp; The Estimate is the LSmean--expressed as a logit.&amp;nbsp; The Mean is the probability/proportion on the original scale.&amp;nbsp; Those values should NOT be negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 17:50:44 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-12-12T17:50:44Z</dc:date>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101485#M5315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proc mixed code is close to what you need, but some edits would give what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC MIXED DATA = &lt;EM&gt;my_data_in_a_long_format&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;CLASS IDN SUBSTANCE;&lt;/P&gt;&lt;P&gt;MODEL VALUEE = SUBSTANCE;&lt;/P&gt;&lt;P&gt;REPEATED &lt;STRONG&gt;SUBSTANCE&lt;/STRONG&gt; /SUBJECT = IDN TYPE = &lt;STRONG&gt;CSH&lt;/STRONG&gt; R RCORR;&lt;/P&gt;&lt;P&gt;LSMEANS &lt;STRONG&gt;SUBSTANCE&lt;/STRONG&gt; /&lt;STRONG&gt;DIFF&lt;/STRONG&gt; ADJUST = TUKEY CL;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edits are bolded.&amp;nbsp; Because your data are not repeated in time, but are instead repeated on each subject, I think that a heterogeneous compound symmetry is probably in order, as the controls were much more similar.&amp;nbsp; While the correlations are assumed to be equal, the variance for each substance is estimated separately (diagonal elements). There really is not enough data to accurately fit an unstructured covariance structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lsmeans statement is edited to reflect marginal means of substances, with differences between them tested after Tukey's adjustment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is one other thing to consider--your data are percentages, so they are restricted to the range 0-100 (as proportions this would be from 0 to 1).&amp;nbsp; This distributional assumption is ignored in PROC MIXED, and is probably not a problem if your values were in the 20% to 80% range.&amp;nbsp; However, looking at the data at the end of your link, you have a lot of values close to 1% and some less than 1%.&amp;nbsp; I suggest you consider using PROC GLIMMIX.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX DATA = &lt;EM&gt;my_data_in_a_long_format&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VALUEp=VALUEE/100;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CLASS IDN SUBSTANCE;&lt;/P&gt;&lt;P&gt;MODEL VALUEp = SUBSTANCE/&lt;STRONG&gt;DIST=BETA&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RANDOM SUBSTANCE/RESIDUAL SUBJECT=IDN TYPE=CSH ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LSMEANS &lt;STRONG&gt;SUBSTANCE&lt;/STRONG&gt; /&lt;STRONG&gt;DIFF ILINK &lt;/STRONG&gt;ADJUST = TUKEY CL;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first bold statement converts the percentages to proportions.&amp;nbsp; The random statement with residual option is the GLIMMIX way of dealing with repeated measures.&amp;nbsp; I chose the beta distribution primarily as a tribute to the time-honored arcsin-square root transformation for percentages/proportions.&amp;nbsp; You could also use dist=binomial. In the lsmeans statement, but with your data it needs some tweeking as the log-likelihood gets into a flat region, I added the ILINK option to report means on the original scale as well as on the link scale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gave a nice result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 12:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101485#M5315</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-13T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101486#M5316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Discussion forum weirdness.&amp;nbsp; I didn't reactivate this thread intentionally.&amp;nbsp; I did try to paste a link that resulted in the "null" green-box when I hit "Add Reply" for another thread.&amp;nbsp; I hope I didn't break one of my favorite internet toys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 16:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101486#M5316</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-08-05T16:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101487#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;I've followed your suggestion about using PROC GLIMMIX. Yet, I chose the binomial distribution. But now I face an obstacle: with DIST = BINOMIAL and TYPE = CSH for different data sets I have different outputs with opposite convergence statuses. Changes in DIST (beta, binomial) and TYPE (CSH, CS, UN) sometimes give expected results, sometimes don't. For me it seems strange to play with the parameters for the data sets having the same nature. I guess I do wrong things...&amp;nbsp; What do I miss?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;06 August 2013, morning UPDATE:&lt;/P&gt;&lt;P&gt;When the 'Didn't converge.' appears I get '.'-filled cells of 'Standard Error' column in the 'Covariance Parameter Estimates' table and in the 'Change' column in the 'Iteration History' table. So, I conclude that my model is wrong from time to time. And why isn't there 'Information Criteria' table in the PROC GLIMMIX output? I exploit PROC MIXED instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;Yesterday, I unknowingly hit the 'Branch button' and splitted the thread. Unfortunately, I don't know how to correct it... Plus, due to the site maintenance I didn't edited the post completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the initial post is an answer actually marked by me as 'Correct' for my question asked &lt;A _jive_internal="true" href="https://communities.sas.com/thread/35744"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 17:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101487#M5317</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2013-08-05T17:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101488#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stan, it is not unusual at all to get differing convergence status for the various covariance structures, especially with the binomial distribution.&amp;nbsp; It depends on the number of parameters being estimated compared to the amount of data and on the convergence criteria that are applied.&amp;nbsp; GLIMMIX has a default of only 20 likelihood iterations, which is often not nearly enough to achieve convergence at the default criteria.&amp;nbsp; I don't think you are doing wrong things, just maybe not enough experience to trouble shoot what is happening with non-convergence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 19:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101488#M5318</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-08-05T19:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101489#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your reply. I'll try to change the number of iterations (and default convergence criteria... ?). Unfortunately, I'm not able to enlarge my sample size...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 06:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101489#M5319</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2013-08-06T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101490#M5320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems we're never able to change the sample size, yet we still have to produce an analysis.&amp;nbsp; Good luck with the NLOPTIONS statement.&amp;nbsp; Also note that outer loop convergence is handled through the PROC GLIMMIX option PCONV, while inner loop convergence is handled by a whole bunch of options in NLOPTIONS.&amp;nbsp; Outer loop is what you're after, unless you get warning messages about inner loop convergence in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 13:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101490#M5320</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-08-06T13:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101491#M5321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you advised I set MAXOPT=500 and &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/statug_glimmix_a0000001409.htm#statug.glimmix.gmxoptinititer"&gt;PCONV&lt;/A&gt;=1E-7 and saw "Convergence criterion (PCONV=1E-7) satisfied." for "DIST = BINOMIAL TYPE = CSH". But as I said the convergence wasn't achieved with some data sets without these manipulations under the DIST= and TYPE= options. My question is: Can't the manipulations be interpreted as questionable...? Well, Steve, I do trust you, but how could I explain this to a broad audience (my supervisor, etc.)? (MAXOPT I set empirically: if not 50, then 100, 200, and 500 finally.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And another short question. SAS PROC GLIMMIX creates an Output with LS-Means, and their differences with p-, t-values, etc. relevant to them [LS-Means]. But I'm confused a bit with &lt;EM&gt;negative&lt;/EM&gt; LS-Mean when I measure a &lt;EM&gt;positive&lt;/EM&gt; events... If it is possible, how to interpret the Output in terms of arithmetic means? As far as I understand we should report results as &lt;EM&gt;&amp;lt; Statistic alpha (n.d.f; d.d.f) = value, p-value &amp;gt;&lt;/EM&gt; and I can't use the PROC SUMMARY's arithmetic mean coupled with the Output's statistics. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for naive questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101491#M5321</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2013-12-12T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101492#M5322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Part of fitting generalized linear mixed models is accepting that your data is unique, and that default options need to be addressed in a way that allows you to obtain interpretable results.&amp;nbsp; Given that, relaxing the convergence criteria does bring up some problems, but these can usually be addressed by using different starting values, and seeing if you have converged to the same (or within a small epsilon of the same) place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LSmeans with dist=binomial are logits, so they will be negative for proportions less than 0.5.&amp;nbsp; To get estimates on the original scale, be sure to use the ILINK option in the LSMEANS statement.&amp;nbsp; What you get from PROC SUMMARY should only be regarded as approximate, as those estimates do not take into account any of the terms (fixed or random) or correlations that you are fitting in GLIMMIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the failure to converge for some datasets--try adding an NLOPTIONS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NLOPTIONS tech=NRRIDG;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ridged Newton-Raphson technique (NRRIDG) often works better for the binomial response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101492#M5322</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-12T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101493#M5323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, thank you very much for the explanations (!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I use the following line in GLIMMIX:&lt;/P&gt;&lt;P&gt;LSMEANS Condition / DIFF &lt;STRONG&gt;ILINK&lt;/STRONG&gt; ADJUST = TUKEY CL PLOTS = DIFFOGRAM(NOABS CENTER);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the Output contains those negative LS-Means , their differences, and so on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101493#M5323</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2013-12-12T17:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101494#M5324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in the output.&amp;nbsp; There should be a column labelled 'Estimate' and another labelled 'Mean'.&amp;nbsp; The Estimate is the LSmean--expressed as a logit.&amp;nbsp; The Mean is the probability/proportion on the original scale.&amp;nbsp; Those values should NOT be negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101494#M5324</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-12T17:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101495#M5325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, it's like a joke: I found them in the "Least Squares Means" table! And they are as proportions as you told me (if I multiplied them by 100 and I would have them the same as in PROC SUMMARY output). (To make the picture full I'll say: SEMs in GLIMMIX's and SUMMARY' outputs are different a little. May be because of GLIMMIX.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me: "Lower Mean" and "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Upper &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Mean" columns in GLIMMIX's "Least Squares Means" table are 95% confidence limits for the original scale means and&amp;nbsp; "Lower" and "Upper" 95%CI for LS-means. Right?&lt;/SPAN&gt; If so, the GLIMMIX's CIs are wider a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a bit strange for me (a nonstatistician) that GLIMMIX doesn't produce "Differences..." table for the original scale means. Is it possible? Or it is useless/incorrect?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10872i6309A48D98B8D006/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="summary_vs_glimmix.png" title="summary_vs_glimmix.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 10:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101495#M5325</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2013-12-14T10:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101496#M5326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lower Mean and Upper Mean are indeed confidence bounds on the original scale, while Lower and Upper are for the LSmeans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think about the differences on the original scale this way:&amp;nbsp; Suppose you had a log transform.&amp;nbsp; The diff option would report the difference on the log scale, and back transformation would give exp(A' - B'), which is exp(A')/exp(B'), or the ratio on the original scale.&amp;nbsp; This is very useful in many cases.&amp;nbsp; The problem with calculating the difference on the original scale is not so much the location estimate (A minus B), but the scale (standard error) associated with this difference.&amp;nbsp; Because the transformations are nonlinear, the error associated with the difference is very difficult to compute.&amp;nbsp; As a result, the "standard error" of the difference and confidence bounds on the difference aren't easily computed.&amp;nbsp; If you really, really wanted to do this, you could program NLMIXED to do the fitting, and use the PREDICT statement to construct are meaningful difference.&amp;nbsp; By using the delta method, an approximate standard error or confidence bound can be obtained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 13:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101496#M5326</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-16T13:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101497#M5327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;previously you advised me the NRRIDG technique in NLOPTIONS:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;...Regarding the failure to converge for some datasets--try adding an NLOPTIONS statement.&lt;/P&gt;
&lt;P&gt;NLOPTIONS tech=NRRIDG;&lt;/P&gt;
&lt;P&gt;The ridged Newton-Raphson technique (NRRIDG) often works better for the binomial response.&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;I checked it and all of those listed at &lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_introcom_a0000003035.htm" title="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_introcom_a0000003035.htm"&gt;SAS/STAT(R) 9.22 User's Guide&lt;/A&gt; help web page and found the NMSIMP&lt;/P&gt;&lt;P&gt;dealt with the most of my data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Namely:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the CS covariance matrix structure along with DIST=BINOMIAL option &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I usually get the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"Gener. Chi-Square / DF" values close to zero (0.01, etc.) or zero, no matter NRRIDG or NMSIMP is applied if any.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(As I understood the "Gener. Chi-Square / DF" is used for control over-/under-dispersion, or heterogeneity,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and the correctness of model.).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it seems reasonable to have different dispersion in different levels in my case I checked CSH type (as you advised).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With DIST=BINOMIAL and TYPE=CSH the "Gener. Chi-Square / DF" = 1.00. In most cases.&lt;/P&gt;&lt;P&gt;As I got with the other cases "Did not converge" I tried NMSIMP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With DIST=BINOMIAL, TYPE=CSH and NMSIMP the "Gener. Chi-Square / DF" = 1.00. Always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the NMSIMP has helped. Is it legal to exploit this technique instead of NRRIDG?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my current version of the code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PROC GLIMMIX DATA = ff_long_sorted ORDER = DATA &lt;STRONG&gt;MAXOPT = 500&lt;/STRONG&gt; PCONV = 1E-8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; VALUEp = VALUEE/100;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; CLASS ExpID Condition;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; MODEL VALUEp = Condition / DISTRIBUTION = &lt;STRONG&gt;BINOMIAL&lt;/STRONG&gt; DDFM = KENWARDROGER;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; RANDOM Condition / RESIDUAL SUBJECT = ExpID TYPE = CSH;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; *RANDOM _RESIDUAL_ / SUBJECT = ExpID TYPE = CSH; /* 'If you don't have missing value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; NLOPTIONS TECHNIQUE = &lt;STRONG&gt;NMSIMP&lt;/STRONG&gt; &lt;STRONG&gt;MAXITER = 500&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LSMEANS Condition / &lt;STRONG&gt;ADJDFE = ROW&lt;/STRONG&gt; DIFF ILINK ADJUST = TUKEY CL PLOTS = DIFFOGRAM(NOABS CENTER); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ODS SELECT ConvergenceStatus FitStatistics Tests3 DiffPlot;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101497#M5327</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2014-04-16T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101498#M5328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One point: the goal is not to achieve a 0 for chi-square/df. Lack of overdispersion is indicated by chi-square/df = 1. Values less than 1 indicate underdispersion. It is OK to have a value less than 1, but you should not be including terms to specifically achieve this.&lt;/P&gt;&lt;P&gt;For some model formulations (some choices for the random effects structure), the model fit will guarantee a value of 1.&lt;/P&gt;&lt;P&gt;The NMSIMP method does not use derivatives in the optimization. It if fine to use, but is usually very slow to converge. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101498#M5328</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-04-16T15:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101499#M5329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lvm,&lt;/P&gt;&lt;P&gt;thank you for the point &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;. I meant if '1' was an indicator for the correct model formulation or not.&lt;/P&gt;&lt;P&gt;Is it ? At the beginning Steve advised me the code, but we&lt;/P&gt;&lt;P&gt;didn't emphasize on this &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;chi-square/df&lt;/SPAN&gt; statistics that's why I ask.&lt;/P&gt;&lt;P&gt;Is the logic in the post №12 incorrect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101499#M5329</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2014-04-16T16:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101500#M5330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, since you are using the beta distribution, you are treating you data as continuous, but bound by 0 and 1. (I missed this before). So, the idea of overdispersion is not relevant. That is, the beta has a scale parameter that is estimated, so there is no real relevance to the chi-square/df statistic in you case (the way I am looking at it now). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101500#M5330</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-04-16T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101501#M5331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lvm, I actually use binomial distribution... Well, Steve mentioned and I used beta as a counterpart for the binomial.&lt;/P&gt;&lt;P&gt;But I was advised at stats.stackexchange.com/q/11980 to use the binomial distribution. I admit it sounds&lt;/P&gt;&lt;P&gt;unconvincin&lt;SPAN style="color: #000000;"&gt;gly but &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; background-color: rgba(252, 251, 248, 0.901961);"&gt; &lt;/SPAN&gt;cbeleites&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; background-color: rgba(252, 251, 248, 0.901961);"&gt; put some arguments for the choice (comment on J&lt;/SPAN&gt;&lt;SPAN class="comment-date" dir="ltr" style="border-bottom-style: none; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(252, 251, 248, 0.901961);"&gt;&lt;SPAN class="relativetime-clean" style="font-size: 13px;" title="2013-06-02 11:01:35Z"&gt;un 2 '13).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101501#M5331</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2014-04-16T16:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101502#M5332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then my original comments are appropriate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101502#M5332</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-04-16T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101503#M5333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear lvm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you indicated that &lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;The NMSIMP method does not use derivatives in the optimization.&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Could you please elaborate on this in more or less simple terms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 16:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101503#M5333</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2014-04-22T16:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is PROC GLM or PROC MIXED appropriate for a one-way within-subjects RM ANOVA design ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101504#M5334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't do it in simple terms.In general, mixed models require an iterative approach to find the parameters that give the maximum value of the log likelihood (or minimum value of -2 times the log likelihood). Most optimization approaches use either the first or second derivative of the log likelihood with respect to the parameters in the iterative process. The Nelder-Mead simplex method (NMSIMP), however, does not use derivatives. It may take many-many iterations to converge, and the whole process can be very slow. It may become impossibly slow with many data points. But it is one of the valid methods. The second derivatives are calculated at the end of the optimization in order to estimate variances. See the Shared Concepts and Topics chapter in the SAS/STAT User's Guide (under NLOPTIONS) to learn more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 18:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Is-PROC-GLM-or-PROC-MIXED-appropriate-for-a-one-way-within/m-p/101504#M5334</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-04-22T18:12:34Z</dc:date>
    </item>
  </channel>
</rss>

