<?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: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534361#M26901</link>
    <description>&lt;P&gt;The estimated coefficients look like REF coding, not GLM coding. Some PROCs (e.g., LOGISTIC, GLMSELECT) have options for other CLASS parameterizations, but I think that the GLM and MIXED procedures use only REF by default. If so, your confusion may be due to thinking you have GLM parameterization but you actually have REF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Posting your code and an example dataset could be quite helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I might think that "&lt;SPAN&gt;the point estimates of main effects and interactions for a given covariate pattern" are just the interaction LSMEANS. It's not clear to me what you are trying to obtain.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 03:41:34 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2019-02-11T03:41:34Z</dc:date>
    <item>
      <title>Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534092#M26893</link>
      <description>&lt;P&gt;In short, I need to decompose the fitted values obtained from ANOVA into components corresponding to each term in ANOVA statement. This problem appears trivial, but it becomes tricky when GLM coding is used for the design matrix. Let's take a balanced 2*2 ANOVA with 2 observations per cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y = A + B + A*B&lt;/P&gt;
&lt;P&gt;GLM coding produces 8*9 design matrix:&lt;/P&gt;
&lt;P&gt;Intercept – column 0&lt;/P&gt;
&lt;P&gt;Main effect of A – columns 1-2&lt;/P&gt;
&lt;P&gt;Main effect of B – columns 3-4&lt;/P&gt;
&lt;P&gt;Interaction – columns 5-8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The estimated coefficients,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, look like (4 estimable parameters, as expected):&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;0&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;4&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;5&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;6&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;7&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;8&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;6&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;7&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;8&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;5.5 -0.915 0 1.15 0 -0.36 0 0 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's take the covariate pattern:&lt;/P&gt;
&lt;P&gt;1 1 0 1 0 1 0 0 0&lt;/P&gt;
&lt;P&gt;for which the fitted value is 5.375.&amp;nbsp;One could say that it's decomposed as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5.375 = 5.5 (Int) - 0.915 (A main effect) + 1.15 (B main effect) - 0.36 (A*B interaction)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but that's not the case. The linear restrictions for Type III hypotheses to test the significance of the two main effects and interactions are created as specified&lt;SPAN&gt;&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_introglmest_sect009.htm" target="_self"&gt;here.&amp;nbsp;&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;In particular, to test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;H0: Main effect of A = 0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we test whether&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msup&amp;gt;&amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&amp;lt;mo&amp;gt;&amp;amp;#x2032;&amp;lt;/mo&amp;gt;&amp;lt;/msup&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&amp;lt;mn&amp;gt;0&amp;lt;/mn&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msup"&gt;&lt;SPAN class="mi"&gt;k&lt;/SPAN&gt;&lt;SPAN class="mo"&gt;′&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="mi"&gt;k&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is (defined up to a multiple):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 0.894427 -0.894427 0 0 0.447214 0.447214 -0.447214 -0.447214&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That shows that, for the given covariate pattern, the point estimate of A main effect depends on both&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;5&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, not just&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;To test H0: Main effect of B = 0, we use the restriction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 0 0 0.894427 -0.894427 0.447214 -0.447214 0.447214 -0.447214&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and for H0: A*B = 0 it is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 0 0 0 0 1 -1 -1 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These linear restrictions are called "Type III estimable functions" in PROC GLM and "Type III coefficients" in PROC MIXED. The problem is I don't know how to use all that information in order to obtain the point estimates of main effects and interactions for a given covariate pattern.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 23:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534092#M26893</guid>
      <dc:creator>JamesLin</dc:creator>
      <dc:date>2019-02-08T23:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534100#M26894</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;The estimated coefficients,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, look like (4 estimable parameters, as expected):&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;0&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;4&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;5&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;6&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;7&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;mtext&amp;gt;&amp;amp;#xA0;&amp;lt;/mtext&amp;gt;&amp;lt;msub&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mn&amp;gt;8&amp;lt;/mn&amp;gt;&amp;lt;/msub&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;6&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;7&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="msubsup"&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;SPAN class="mn"&gt;8&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;5.5 -0.915 0 1.15 0 -0.36 0 0 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's take the covariate pattern:&lt;/P&gt;
&lt;P&gt;1 1 0 1 0 1 0 0 0&lt;/P&gt;
&lt;P&gt;for which the fitted value is 5.375.&amp;nbsp;One could say that it's decomposed as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5.375 = 5.5 (Int) - 0.915 (A main effect) + 1.15 (B main effect) - 0.36 (A*B interaction)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but that's not the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm afraid that is the case. If you want a predicted value of Y for this X condition, you have done the right thing.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The linear restrictions for Type III hypotheses to test the significance of the two main effects and interactions are created as specified&lt;SPAN&gt;&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_introglmest_sect009.htm" target="_self" rel="nofollow noopener noreferrer"&gt;here.&amp;nbsp;&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;In particular, to test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;H0: Main effect of A = 0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we test whether&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;msup&amp;gt;&amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&amp;lt;mo&amp;gt;&amp;amp;#x2032;&amp;lt;/mo&amp;gt;&amp;lt;/msup&amp;gt;&amp;lt;mi&amp;gt;b&amp;lt;/mi&amp;gt;&amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&amp;lt;mn&amp;gt;0&amp;lt;/mn&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="msup"&gt;&lt;SPAN class="mi"&gt;k&lt;/SPAN&gt;&lt;SPAN class="mo"&gt;′&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="math-container"&gt;&lt;SPAN class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" data-mathml="&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot;&amp;gt;&amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&amp;lt;/math&amp;gt;"&gt;&lt;SPAN class="math"&gt;&lt;SPAN&gt;&lt;SPAN class="mrow"&gt;&lt;SPAN class="mi"&gt;k&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is (defined up to a multiple):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 0.894427 -0.894427 0 0 0.447214 0.447214 -0.447214 -0.447214&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The linear restrictions to test the main effect of A have nothing to do with prediction of a value at a given X condition, as you discussed above. They are two different things. You are mixing apples and gorillas.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 00:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534100#M26894</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-09T00:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534118#M26895</link>
      <description>&lt;P&gt;Thanks for replying. To put it in other terms, I want to decompose the fitted value into two main effects and interaction term to be able to adjust the observed response. E.g. if I want to adjust it for B and A*B,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y_adj = Y - (Main effect of B) - (AB interaction)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so that when I regress Y_adj on A, B, A*B again, the Type III p-value for A should be exactly the same, and the p-values for B and A*B should be equal to one. I tried it the naive way (e.g. for that observation add (1.15 - 0.36)&amp;nbsp; to adjust it), but the p-value for A is not preserved.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 04:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534118#M26895</guid>
      <dc:creator>JamesLin</dc:creator>
      <dc:date>2019-02-09T04:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534131#M26898</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50463"&gt;@JamesLin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;E.g. if I want to adjust it for B and A*B,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y_adj = Y - (Main effect of B) - (AB interaction)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so that when I regress Y_adj on A, B, A*B again, &lt;STRONG&gt;the Type III p-value for A should be exactly the same&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I doubt this is possible&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;and the p-values for B and A*B should be equal to one&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In combination, these two conditions seems like a very unusual way of doing things, and I doubt it is possible.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 12:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534131#M26898</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-09T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534134#M26899</link>
      <description>&lt;P&gt;Adding: the p-value depends on the number of degrees of freedom of the error term, and the estimate of the root mean square error of the model. As soon as you try to fix one portion of the model, and let other parts vary, you have changed the estimate of the root mean square error of the model, and so you &lt;STRONG&gt;cannot&lt;/STRONG&gt; get the same p-values.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 14:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534134#M26899</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-09T14:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534361#M26901</link>
      <description>&lt;P&gt;The estimated coefficients look like REF coding, not GLM coding. Some PROCs (e.g., LOGISTIC, GLMSELECT) have options for other CLASS parameterizations, but I think that the GLM and MIXED procedures use only REF by default. If so, your confusion may be due to thinking you have GLM parameterization but you actually have REF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Posting your code and an example dataset could be quite helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I might think that "&lt;SPAN&gt;the point estimates of main effects and interactions for a given covariate pattern" are just the interaction LSMEANS. It's not clear to me what you are trying to obtain.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 03:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534361#M26901</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-02-11T03:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534526#M26909</link>
      <description>&lt;P&gt;No, it's not the reference coding. One can call it "Intercept + GLM"; e.g. for Y = A, the design has a column of 1's plus k columns where k is is the number&amp;nbsp;of levels of factor A. If it were reference or effect coding the design would have fewer than 9 columns. I attached the data and code. Could you elaborate what&amp;nbsp;you said about lsmeans?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FactorA FactorB Response&lt;BR /&gt;A1 B1 4.48&lt;BR /&gt;A1 B2 5.53&lt;BR /&gt;A1 B1 4.69&lt;BR /&gt;A1 B2 5.22&lt;BR /&gt;A2 B1 5.54&lt;BR /&gt;A2 B2 6.4&lt;BR /&gt;A2 B1 5.46&lt;BR /&gt;A2 B2 6.9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc glm (or mixed) data = input.data;&lt;BR /&gt;class FactorA FactorB;&lt;BR /&gt;model Response = FactorA FactorB FactorA * FactorB / e e1 e2 e3 e4;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 16:42:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534526#M26909</guid>
      <dc:creator>JamesLin</dc:creator>
      <dc:date>2019-02-11T16:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534641#M26921</link>
      <description>&lt;P&gt;Oh, yes, you're right, it is GLM parameterization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These ESTIMATE statements duplicate the hypothesis tests reported in the Type III ANOVA table. The coefficients are extracted from the Type III Estimable Functions table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input FactorA $ FactorB $ Response;
datalines;
A1 B1 4.48
A1 B2 5.53
A1 B1 4.69
A1 B2 5.22
A2 B1 5.54
A2 B2 6.4
A2 B1 5.46
A2 B2 6.9
;
run;
 
proc glm data =test;
class FactorA FactorB;
model Response = FactorA FactorB FactorA * FactorB / e3 solution;
lsmeans FactorA*FactorB;
estimate "Main effect FactorA" intercept 0 FactorA 1 -1 FactorB 0 0 FactorA*FactorB 0.5 0.5 -0.5 -0.5;
estimate "Main effect FactorB" intercept 0 FactorA 0 0 FactorB 1 -1 FactorA*FactorB 0.5 -0.5 0.5 -0.5;
estimate "Interaction" intercept 0 FactorA 0 0 FactorB 0 0 FactorA*FactorB 1 -1 -1 1;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The interaction lsmeans depict the predicted value for each of the 2 x 2 = 4 covariate patterns (i.e., A1B1, A1B2, A2B1, A2B2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 22:16:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534641#M26921</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-02-11T22:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534714#M26926</link>
      <description>&lt;P&gt;These ESTIMATE statements are linear contrasts for the means for each covariate pattern, and match the LSMEAN output for FactorA*FactorB:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;estimate "A1B1" intercept 1 FactorA 1 0 FactorB 1 0 FactorA*FactorB 1 0 0 0;
estimate "A1B2" intercept 1 FactorA 1 0 FactorB 0 1 FactorA*FactorB 0 1 0 0;
estimate "A2B1" intercept 1 FactorA 0 1 FactorB 1 0 FactorA*FactorB 0 0 1 0;
estimate "A2B2" intercept 1 FactorA 0 1 FactorB 0 1 FactorA*FactorB 0 0 0 1;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 03:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/534714#M26926</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-02-12T03:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining the fitted values of main effects and interactions in PROC GLM or MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/535018#M26944</link>
      <description>&lt;P&gt;Thanks for clarifying things for me.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Obtaining-the-fitted-values-of-main-effects-and-interactions-in/m-p/535018#M26944</guid>
      <dc:creator>JamesLin</dc:creator>
      <dc:date>2019-02-12T21:14:52Z</dc:date>
    </item>
  </channel>
</rss>

