<?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: sas code for split split plot design (CRD) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795947#M81561</link>
    <description>&lt;P&gt;Thank you. I got it like that and it works perfectly well.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Feb 2022 20:18:56 GMT</pubDate>
    <dc:creator>Lyson</dc:creator>
    <dc:date>2022-02-13T20:18:56Z</dc:date>
    <item>
      <title>sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/241957#M55765</link>
      <description>&lt;P&gt;I am looking for SAS code to analyze data generated from split-split plot design. Thank you for the support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 01:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/241957#M55765</guid>
      <dc:creator>Mralex1234</dc:creator>
      <dc:date>2016-01-06T01:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/241989#M55769</link>
      <description>&lt;P&gt;There is an example using &lt;STRONG&gt;proc anova&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect030.htm" target="_self"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect030.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 04:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/241989#M55769</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-01-06T04:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242020#M55770</link>
      <description>Thank you ! can we use the same method for split-split plot ? The example&lt;BR /&gt;you provided is for strip-split plot.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2016 13:53:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242020#M55770</guid>
      <dc:creator>Mralex1234</dc:creator>
      <dc:date>2016-01-06T13:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242022#M55771</link>
      <description>&lt;P&gt;This might be helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.public.iastate.edu/~dnett/S402/wsplit2plotwpblock.pdf" target="_blank"&gt;http://www.public.iastate.edu/~dnett/S402/wsplit2plotwpblock.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242022#M55771</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-01-06T14:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242023#M55772</link>
      <description>&lt;P&gt;You might be able to adapt this split-split-split example for PROC ANOVA: &lt;A href="http://support.sas.com/documentation/onlinedoc/stat/ex_code/132/aovspl3.html" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/stat/ex_code/132/aovspl3.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:15:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242023#M55772</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-06T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242149#M55778</link>
      <description>&lt;P&gt;Thank you all, I will try.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 02:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/242149#M55778</guid>
      <dc:creator>Mralex1234</dc:creator>
      <dc:date>2016-01-07T02:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795912#M81558</link>
      <description>&lt;P&gt;I was wondering if the Example in&amp;nbsp;&lt;A href="http://support.sas.com/documentation/onlinedoc/stat/ex_code/132/aovspl3.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/documentation/onlinedoc/stat/ex_code/132/aovspl3.html&lt;/A&gt;&amp;nbsp;can be used for random effects split-split plot models. Specifically, can Proc anova be used for mixed-effects Split-split plot designs? If not, can the same approach be used in Proc Mixed when for instance the subplot factor is considered as random?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 10:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795912#M81558</guid>
      <dc:creator>Lyson</dc:creator>
      <dc:date>2022-02-13T10:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795933#M81559</link>
      <description>&lt;P&gt;You can reproduce the ANOVA results using PROC MIXED by adding the TEST statement E= terms to RANDOM statements in PROC MIXED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data tires;
   input fabric rubber rep @;
   do cure=1 to 2;
      do temp=1 to 2;
         do piece=1 to 2;
            input y @; output;
            end;
         end;
      end;
   datalines;
1 1  1  29  26  34  29  40  35  76  64
1 1  2  84  54  41  40 136  67  74  58
1 1  3  87  66  47  37  70  56  63  55
1 1  4  80  70  53  27  68  37  49  38
1 1  5  79  48  63  53  66  48  43  29
1 2  1 113  81  88  48  84  37  91  57
1 2  2 108  92  71  49  81  72  55  52
1 2  3 123 108  59  49 121 101  98  42
1 2  4  57  43  47  28 102  56  95  55
1 2  5  82  76  80  35  84  73  50  50
2 1  6   6   6  32  16   7   7  34  22
2 1  7   6   6  26  18  12  12  26  24
2 1  8  12  12  52  20  14  12  41  36
2 1  9   9   6  21  16   9   7  15  14
2 1 10  15  13  21  17  13   9  34  15
2 2  6   6   6  15  12  16   7  41  19
2 2  7   6   6  25  19   8   6  23  23
2 2  8   7   7  50  32  20  19  47  33
2 2  9  13   8  22  20  23  23  64  33
2 2 10   6   6  27  19  16  14  74  31
3 1 11  76  68  34  22  27  20 118  29
3 1 12  16  11  24  15  43  31  49  36
3 1 13  61  50  46  24  36  25  62  21
3 1 14  41  23  29  19  25  13  66  43
3 1 15   8   6  14  11   7   7  28  21
3 2 11  13  11  53  26  37  24  59  52
3 2 12  22  19  22  22  99  17  45  38
3 2 13  22  18  48  18  76  48  30  25
3 2 14  58  32  30  26  72  64  94  43
3 2 15   7   7  11  11  16  12  19  13
;

proc anova;
   classes fabric rubber rep cure temp piece;
   model y=fabric  rep(fabric)
           rubber  rubber*fabric
                   rubber*rep(fabric)
           cure    cure*fabric   cure*rubber
                   cure*rubber*fabric
                   cure*rubber*rep(fabric)
           temp temp*fabric temp*rubber temp*fabric*rubber
                temp*cure temp*cure*fabric temp*cure*rubber
                temp*cure*fabric*rubber
                temp*cure*rubber*rep(fabric);
   test h=fabric e=rep(fabric);
   test h=rubber rubber*fabric e=rubber*rep(fabric);
   test h=cure cure*fabric cure*rubber cure*rubber*fabric
        e=cure*rubber*rep(fabric);
   test h=temp temp*fabric temp*rubber temp*fabric*rubber
          temp*cure temp*cure*fabric temp*cure*rubber
          temp*cure*fabric*rubber
        e=temp*cure*rubber*rep(fabric);
   title 'Split-split-split Plot Design: Tire Experiment';
   run; quit;

proc mixed;
   class fabric rubber rep cure temp piece;
   model y=fabric  /*rep(fabric)*/
           rubber  rubber*fabric
                   /*rubber*rep(fabric)*/
           cure    cure*fabric   cure*rubber
                   cure*rubber*fabric
                   /*cure*rubber*rep(fabric)*/
           temp temp*fabric temp*rubber temp*fabric*rubber
                temp*cure temp*cure*fabric temp*cure*rubber
                temp*cure*fabric*rubber
                /*temp*cure*rubber*rep(fabric)*/;
   random rep(fabric);
   random rubber*rep(fabric);
   random cure*rubber*rep(fabric);
   random temp*cure*rubber*rep(fabric);
   lsmeans rubber*fabric / diff;
   title 'Split-split-split Plot Design: Tire Experiment';
   run; quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 317px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68430iEDF1D39C6569892F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 421px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68431iFBB5939134A1104D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 16:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795933#M81559</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2022-02-13T16:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: sas code for split split plot design (CRD)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795947#M81561</link>
      <description>&lt;P&gt;Thank you. I got it like that and it works perfectly well.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 20:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-code-for-split-split-plot-design-CRD/m-p/795947#M81561</guid>
      <dc:creator>Lyson</dc:creator>
      <dc:date>2022-02-13T20:18:56Z</dc:date>
    </item>
  </channel>
</rss>

