<?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 Mixed Model Type 3 Estimates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444397#M111255</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to develop code to obtain the ANOVA and break out the main effects and interaction SS using complete sets of orthogonal contrasts. However, my program is not generating estimates for the interaction contrasts (it returns "Non Est."). Followed is my code, if anyone could shed some light, I would greatly appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data aa; infile '/folders/myfolders/sasuser.v94/lab8.txt'firstobs=2;&lt;BR /&gt;input trt temp week y;&lt;BR /&gt;proc print; run;&lt;BR /&gt;proc mixed method=type3; class temp week;&lt;BR /&gt;model y = temp week temp*week;&lt;BR /&gt;estimate 'temp_lin' temp -1 0 1;&lt;BR /&gt;estimate 'temp_quad' temp 1 -2 1;&lt;BR /&gt;estimate 'week_lin' week -3 -1 1 3;&lt;BR /&gt;estimate 'week_quad' week 1 -1 -1 1;&lt;BR /&gt;estimate 'week_cub' week -1 3 -3 1;&lt;BR /&gt;estimate 't_l*w_l' temp*week 3 0 -3 1 0 -1 -1 0 1 -3 0 3;&lt;BR /&gt;estimate 't_l*w_q' temp*week -1 0 1 1 0 -1 1 0 -1 -1 0 1;&lt;BR /&gt;estimate 't_l*w_c' temp*week 1 0 -1 -3 0 3 3 0 -3 -1 0 1;&lt;BR /&gt;estimate 't_q*w_l' temp*week -3 6 -3 -1 2 -1 1 -2 1 3 -6 3;&lt;BR /&gt;estimate 't_q*w_q' temp*week 1 -2 1 -1 2 -1 -1 2 -1 1 -2 1;&lt;BR /&gt;estimate 't_q*w_c' temp*week -1 2 -1 3 -6 3 -3 6 -3 1 -2 1;&lt;BR /&gt;lsmeans temp week temp*week;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
    <pubDate>Sat, 10 Mar 2018 15:06:44 GMT</pubDate>
    <dc:creator>cb12991</dc:creator>
    <dc:date>2018-03-10T15:06:44Z</dc:date>
    <item>
      <title>Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444397#M111255</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to develop code to obtain the ANOVA and break out the main effects and interaction SS using complete sets of orthogonal contrasts. However, my program is not generating estimates for the interaction contrasts (it returns "Non Est."). Followed is my code, if anyone could shed some light, I would greatly appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data aa; infile '/folders/myfolders/sasuser.v94/lab8.txt'firstobs=2;&lt;BR /&gt;input trt temp week y;&lt;BR /&gt;proc print; run;&lt;BR /&gt;proc mixed method=type3; class temp week;&lt;BR /&gt;model y = temp week temp*week;&lt;BR /&gt;estimate 'temp_lin' temp -1 0 1;&lt;BR /&gt;estimate 'temp_quad' temp 1 -2 1;&lt;BR /&gt;estimate 'week_lin' week -3 -1 1 3;&lt;BR /&gt;estimate 'week_quad' week 1 -1 -1 1;&lt;BR /&gt;estimate 'week_cub' week -1 3 -3 1;&lt;BR /&gt;estimate 't_l*w_l' temp*week 3 0 -3 1 0 -1 -1 0 1 -3 0 3;&lt;BR /&gt;estimate 't_l*w_q' temp*week -1 0 1 1 0 -1 1 0 -1 -1 0 1;&lt;BR /&gt;estimate 't_l*w_c' temp*week 1 0 -1 -3 0 3 3 0 -3 -1 0 1;&lt;BR /&gt;estimate 't_q*w_l' temp*week -3 6 -3 -1 2 -1 1 -2 1 3 -6 3;&lt;BR /&gt;estimate 't_q*w_q' temp*week 1 -2 1 -1 2 -1 -1 2 -1 1 -2 1;&lt;BR /&gt;estimate 't_q*w_c' temp*week -1 2 -1 3 -6 3 -3 6 -3 1 -2 1;&lt;BR /&gt;lsmeans temp week temp*week;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 15:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444397#M111255</guid>
      <dc:creator>cb12991</dc:creator>
      <dc:date>2018-03-10T15:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444454#M111280</link>
      <description>&lt;P&gt;NON-EST usually happens when you have a cell of the interaction with no data in it.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 20:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444454#M111280</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-10T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444458#M111284</link>
      <description>&lt;P&gt;Well the treatment structure is a 3x4 factorial (3 different temperatures, 4 different time periods). Could the error be a result of the factors not being of equal levels?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 20:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444458#M111284</guid>
      <dc:creator>cb12991</dc:creator>
      <dc:date>2018-03-10T20:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444460#M111286</link>
      <description>&lt;P&gt;I'll stick with my first answer. The most likely cause is that you have an empty cell.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 21:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444460#M111286</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-10T21:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444464#M111290</link>
      <description>&lt;P&gt;Any idea as to where this empty cell might be?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 21:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444464#M111290</guid>
      <dc:creator>cb12991</dc:creator>
      <dc:date>2018-03-10T21:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model Type 3 Estimates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444466#M111291</link>
      <description>&lt;P&gt;You have the data, I don't. You can find it easily enough using PROC FREQ.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 21:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mixed-Model-Type-3-Estimates/m-p/444466#M111291</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-03-10T21:34:01Z</dc:date>
    </item>
  </channel>
</rss>

