<?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 mixed /diff; Differences of Least Squares Means output specification in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433960#M22844</link>
    <description>&lt;P&gt;Nothing is paired in this analysis.&lt;/P&gt;</description>
    <pubDate>Sun, 04 Feb 2018 13:43:32 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-02-04T13:43:32Z</dc:date>
    <item>
      <title>proc mixed /diff;  Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433047#M22798</link>
      <description>&lt;P&gt;Hello SAS board,&lt;/P&gt;&lt;P&gt;I am using the code&amp;nbsp;below to analyse our 3x2x2 within-subject experiment. Everything works great. The question is whether Standard Error from the&amp;nbsp; "&amp;nbsp;Differences of Least Squares Means" table&amp;nbsp;refers to standard error of mean of the difference?&amp;nbsp; For example,&amp;nbsp;if I am looking at the comparison :&lt;/P&gt;&lt;P&gt;Visibility (level 1) Globality (level 1) Congruency (level &lt;STRONG&gt;1&lt;/STRONG&gt;) &lt;EM&gt;vs&lt;/EM&gt;. Visibility (level 1) Globality (level 1) Congruency (Level &lt;STRONG&gt;2&lt;/STRONG&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;the t value in the table&amp;nbsp;comes from the (paired sample) t test for these two conditions? And then the SE is calculated for the difference between the two conditions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC mixed ; 
CLASS visibility sub globality congruency ;
  MODEL rt= visibility|globality|congruency ;
  Repeated /subject=sub type=cs;
LSMeans globality|congruency|visibility/diff cl;
 run; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to know this, because I have to plot figures with error bars representing standard error&amp;nbsp;of mean corrected for the within-subject design.&lt;/P&gt;&lt;P&gt;I will greatly appreciate your feedback and time!&lt;/P&gt;&lt;P&gt;Dina.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 09:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433047#M22798</guid>
      <dc:creator>dina_d</dc:creator>
      <dc:date>2018-02-01T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff;  Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433140#M22802</link>
      <description>&lt;P&gt;The SE's in the LS-means table are the standard errors for the individual ls-means.&amp;nbsp; The SE's in the Differences of LS-means table are the standard errors for the differences of the ls-means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The p-values in the Differences table are the p-values for the test of the difference in each pair of ls-means reported.&amp;nbsp; Nothing is paired, just comparison of means.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 15:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433140#M22802</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2018-02-01T15:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff; Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433958#M22843</link>
      <description>Thank you for the reply!&lt;BR /&gt;Just to make sure I got this. Are the t tests from the " Differences of&lt;BR /&gt;Least Squares Means" table paired t tests?&lt;BR /&gt;Many thanks,&lt;BR /&gt;Dina.&lt;BR /&gt;</description>
      <pubDate>Sun, 04 Feb 2018 13:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433958#M22843</guid>
      <dc:creator>dina_d</dc:creator>
      <dc:date>2018-02-04T13:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff; Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433960#M22844</link>
      <description>&lt;P&gt;Nothing is paired in this analysis.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 13:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433960#M22844</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-02-04T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff;  Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433995#M22846</link>
      <description>&lt;P&gt;In a mixed design, the standard error (SE) of a mean will include &lt;EM&gt;all&lt;/EM&gt; sources of variance (block, whole plot, subplot, etc.). Consequently figures depicting the mean and SE may appear to be inconsistent with results from statistical analysis, which control for variance sources.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The difference between two means will "be adjusted for" &lt;EM&gt;some&lt;/EM&gt; sources of variance, depending on which two means are compared. The classic text by Cochran and Cox (Experimental Design, 2nd ed) describes the mathematics nicely (I think in the chapter on split-plot designs, but I don't have my copy at hand to check); I'm sure the same information is available in other design texts. That's why you see different SEs for different pairwise comparisons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be confusing "&lt;STRONG&gt;pair&lt;/STRONG&gt;wise" mean comparisons with "&lt;STRONG&gt;pair&lt;/STRONG&gt;ed t-test", which is the point that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92458"&gt;@StatsMan&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;are making. A pairwise comparison of means can be done in conjunction with any experimental design. A paired t-test corresponds to a specific experimental design. Not the same thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 19:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/433995#M22846</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-02-04T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff;  Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/434079#M22867</link>
      <description>&lt;P&gt;I want to thank everyone who contributed to the discussion!&lt;/P&gt;&lt;P&gt;As we have a within-subject design, I thought it was the case of paired t-test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for the clarification,&lt;/P&gt;&lt;P&gt;Dina.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/434079#M22867</guid>
      <dc:creator>dina_d</dc:creator>
      <dc:date>2018-02-05T07:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed /diff;  Differences of Least Squares Means output specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/434606#M22911</link>
      <description>&lt;P&gt;A paired t-test is a within-subjects design, so you are right on that point. But it has only one fixed effects factor with two levels and so only one comparison. Your scenario is more complicated, and the stat model cannot be a paired t-test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-diff-Differences-of-Least-Squares-Means-output/m-p/434606#M22911</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-02-06T17:16:39Z</dc:date>
    </item>
  </channel>
</rss>

