<?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 orthogonal polynomials and 3-way interaction in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/orthogonal-polynomials-and-3-way-interaction/m-p/36517#M1535</link>
    <description>I have three factors: A, B (either qualitative or categorical) and C (quantitative, 4 levels at the least).&lt;BR /&gt;
&lt;BR /&gt;
I want to write ESTIMATE and/or CONTRAST statements for the ff:&lt;BR /&gt;
a. each level of A, A1, A2, A3&lt;BR /&gt;
b. each level of B, B1, B2&lt;BR /&gt;
c. 1st-3rd degree polynomial for C, Linear, Quadratic and Cubic&lt;BR /&gt;
d. 2-way interactions, i.e. A1-B1, ...,A3-B2, A1-Linear, ..., A3-Cubic, B1-Linear, ..., B2xCubic&lt;BR /&gt;
e. 3-way interactions, i.e. (A1-B1 v A1-B2)-Linear, ..., (A3-B1 v A3-B2)-Cubic&lt;BR /&gt;
&lt;BR /&gt;
Purpose are (1) to determine the appropriate degree for each AxB level and (2) test for significant differences among AxB polynomials.&lt;BR /&gt;
&lt;BR /&gt;
I know how to assign the coefficients for items (a) to (d). Example for a two-way interaction the CONTRAST statement is this:&lt;BR /&gt;
&lt;BR /&gt;
contrast 'A1 v A2 Linear on C' AxC&lt;BR /&gt;
-0.467435 -0.367181 -0.273192 -0.191736 -0.060152 0.0275699 0.1403557 0.2782051 0.3659274 0.547638&lt;BR /&gt;
0.467435 0.367181 0.273192 0.191736 0.060152 -0.0275699 -0.1403557 -0.2782051 -0.3659274 -0.547638;&lt;BR /&gt;
&lt;BR /&gt;
(C has 10 levels and is unequally spaced. I used the ORPOL function to get these coefficients)&lt;BR /&gt;
&lt;BR /&gt;
For the 3-way interaction, I'm using the same rule for the 2-way interaction, ex.&lt;BR /&gt;
contrast 'Linear: A1-B1 v A1-B2 Linear' A*B*C&lt;BR /&gt;
-0.467435 -0.367181 -0.273192 -0.191736 -0.060152 0.0275699 0.1403557 0.2782051 0.3659274 0.547638&lt;BR /&gt;
0.467435 0.367181 0.273192 0.191736 0.060152 -0.0275699 -0.1403557 -0.2782051 -0.3659274 -0.547638;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
For this 3-way contrast, I get the NON-EST and I don't know what am I doing wrong. Can anyone please shed light on this?</description>
    <pubDate>Thu, 17 Jun 2010 01:23:30 GMT</pubDate>
    <dc:creator>edeomano</dc:creator>
    <dc:date>2010-06-17T01:23:30Z</dc:date>
    <item>
      <title>orthogonal polynomials and 3-way interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/orthogonal-polynomials-and-3-way-interaction/m-p/36517#M1535</link>
      <description>I have three factors: A, B (either qualitative or categorical) and C (quantitative, 4 levels at the least).&lt;BR /&gt;
&lt;BR /&gt;
I want to write ESTIMATE and/or CONTRAST statements for the ff:&lt;BR /&gt;
a. each level of A, A1, A2, A3&lt;BR /&gt;
b. each level of B, B1, B2&lt;BR /&gt;
c. 1st-3rd degree polynomial for C, Linear, Quadratic and Cubic&lt;BR /&gt;
d. 2-way interactions, i.e. A1-B1, ...,A3-B2, A1-Linear, ..., A3-Cubic, B1-Linear, ..., B2xCubic&lt;BR /&gt;
e. 3-way interactions, i.e. (A1-B1 v A1-B2)-Linear, ..., (A3-B1 v A3-B2)-Cubic&lt;BR /&gt;
&lt;BR /&gt;
Purpose are (1) to determine the appropriate degree for each AxB level and (2) test for significant differences among AxB polynomials.&lt;BR /&gt;
&lt;BR /&gt;
I know how to assign the coefficients for items (a) to (d). Example for a two-way interaction the CONTRAST statement is this:&lt;BR /&gt;
&lt;BR /&gt;
contrast 'A1 v A2 Linear on C' AxC&lt;BR /&gt;
-0.467435 -0.367181 -0.273192 -0.191736 -0.060152 0.0275699 0.1403557 0.2782051 0.3659274 0.547638&lt;BR /&gt;
0.467435 0.367181 0.273192 0.191736 0.060152 -0.0275699 -0.1403557 -0.2782051 -0.3659274 -0.547638;&lt;BR /&gt;
&lt;BR /&gt;
(C has 10 levels and is unequally spaced. I used the ORPOL function to get these coefficients)&lt;BR /&gt;
&lt;BR /&gt;
For the 3-way interaction, I'm using the same rule for the 2-way interaction, ex.&lt;BR /&gt;
contrast 'Linear: A1-B1 v A1-B2 Linear' A*B*C&lt;BR /&gt;
-0.467435 -0.367181 -0.273192 -0.191736 -0.060152 0.0275699 0.1403557 0.2782051 0.3659274 0.547638&lt;BR /&gt;
0.467435 0.367181 0.273192 0.191736 0.060152 -0.0275699 -0.1403557 -0.2782051 -0.3659274 -0.547638;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
For this 3-way contrast, I get the NON-EST and I don't know what am I doing wrong. Can anyone please shed light on this?</description>
      <pubDate>Thu, 17 Jun 2010 01:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/orthogonal-polynomials-and-3-way-interaction/m-p/36517#M1535</guid>
      <dc:creator>edeomano</dc:creator>
      <dc:date>2010-06-17T01:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: orthogonal polynomials and 3-way interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/orthogonal-polynomials-and-3-way-interaction/m-p/36518#M1536</link>
      <description>i've figured it out!&lt;BR /&gt;
&lt;BR /&gt;
=)</description>
      <pubDate>Thu, 24 Jun 2010 00:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/orthogonal-polynomials-and-3-way-interaction/m-p/36518#M1536</guid>
      <dc:creator>edeomano</dc:creator>
      <dc:date>2010-06-24T00:29:05Z</dc:date>
    </item>
  </channel>
</rss>

