<?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 Proc Reg / Proc Mixed - How do you get SAS to break down &amp;quot;Model&amp;quot; in the ANOVA table? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-Proc-Mixed-How-do-you-get-SAS-to-break-down-quot-Model/m-p/277027#M58707</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am looking for help on how to break down the "Model" or "Regression" source in the ANOVA table. &amp;nbsp;I am trying to get the Seq SS, Seq MS, F-value, and P-Value. &amp;nbsp;In Proc Reg you can inlcude the "SS1" option in the model statement, but this gives me t-values and p-values. &amp;nbsp;But if I use Proc Mixed with the "method=type1" option, I get all that I want, except this ANOVA table does not contain the total column (this is not too big of a deal, but it makes comparing SS for full and reduced models a bit nicer). &amp;nbsp;Just curious if one can get the best of both. &amp;nbsp;Is it possible to get Proc Reg to break down the "Model" source in the ANOVA table? &amp;nbsp;Or is there a better procedure to use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS 9.4.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Jeff S. O.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data ACL;&lt;BR /&gt;input Subj ACL Vocab Abstract SDMT;&lt;BR /&gt;datalines;&lt;BR /&gt;1 6 28 36 70&lt;BR /&gt;2 5.4 34 32 49&lt;BR /&gt;3 4.7 19 8 28&lt;BR /&gt;4 4.8 32 28 47&lt;BR /&gt;5 4.9 22 4 29&lt;BR /&gt;6 4.5 24 24 23&lt;BR /&gt;7 6.3 24 12 40&lt;BR /&gt;8 5.9 18 14 50&lt;BR /&gt;9 4.1 31 20 32&lt;BR /&gt;10 4.8 14 8 27&lt;BR /&gt;11 4 24 8 33&lt;BR /&gt;12 4.5 34 36 40&lt;BR /&gt;13 5.8 29 20 66&lt;BR /&gt;14 6 27 34 46&lt;BR /&gt;15 4.5 15 10 26&lt;BR /&gt;16 4.7 31 24 42&lt;BR /&gt;17 5.9 30 32 42&lt;BR /&gt;18 4.7 17 26 52&lt;BR /&gt;19 4.7 26 26 35&lt;BR /&gt;20 3.8 18 28 41&lt;BR /&gt;21 6 32 26 58&lt;BR /&gt;22 5.6 19 16 41&lt;BR /&gt;23 4.8 14 10 13&lt;BR /&gt;24 5.8 27 36 62&lt;BR /&gt;25 4.5 21 20 46&lt;BR /&gt;26 4.8 26 28 52&lt;BR /&gt;27 4.7 22 14 63&lt;BR /&gt;28 4.5 22 26 42&lt;BR /&gt;29 6 30 26 66&lt;BR /&gt;30 5.6 26 26 55&lt;BR /&gt;31 6.3 22 28 55&lt;BR /&gt;32 5.2 22 28 43&lt;BR /&gt;33 4.8 16 10 48&lt;BR /&gt;34 5.8 32 36 47&lt;BR /&gt;35 4.8 26 30 50&lt;BR /&gt;36 3.7 11 16 29&lt;BR /&gt;37 4.5 18 8 17&lt;BR /&gt;38 4.9 14 2 39&lt;BR /&gt;39 5 30 32 31&lt;BR /&gt;40 3.9 30 36 61&lt;BR /&gt;41 3.7 31 18 45&lt;BR /&gt;42 5.6 23 18 56&lt;BR /&gt;43 4.8 28 20 53&lt;BR /&gt;44 5.6 17 8 29&lt;BR /&gt;45 6.6 31 30 63&lt;BR /&gt;46 4.3 12 6 19&lt;BR /&gt;47 4 18 6 23&lt;BR /&gt;48 4.2 23 8 40&lt;BR /&gt;49 5.6 22 6 20&lt;BR /&gt;50 3.4 13 8 2&lt;BR /&gt;51 4 30 22 41&lt;BR /&gt;52 4.5 29 24 44&lt;BR /&gt;53 4.9 28 36 51&lt;BR /&gt;54 4.2 20 8 37&lt;BR /&gt;55 4.5 32 36 56&lt;BR /&gt;56 4.8 33 36 37&lt;BR /&gt;57 6 26 20 76&lt;BR /&gt;58 4 26 8 42&lt;BR /&gt;59 4.5 13 10 20&lt;BR /&gt;60 4 27 16 48&lt;BR /&gt;61 4.7 40 40 54&lt;BR /&gt;62 6 25 32 53&lt;BR /&gt;63 4.5 20 8 39&lt;BR /&gt;64 4.8 26 10 35&lt;BR /&gt;65 6.6 26 30 63&lt;BR /&gt;66 4.1 16 16 17&lt;BR /&gt;67 4.5 31 24 44&lt;BR /&gt;68 6.6 30 36 47&lt;BR /&gt;69 4.9 10 19 35&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc reg data=ACL;&lt;BR /&gt;model ACL = Vocab SDMT / lackfit SS1;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc mixed data=ACL method=type1;&lt;BR /&gt;model ACL = Vocab SDMT;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 19:20:39 GMT</pubDate>
    <dc:creator>Jolly</dc:creator>
    <dc:date>2016-06-13T19:20:39Z</dc:date>
    <item>
      <title>Proc Reg / Proc Mixed - How do you get SAS to break down "Model" in the ANOVA table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-Proc-Mixed-How-do-you-get-SAS-to-break-down-quot-Model/m-p/277027#M58707</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am looking for help on how to break down the "Model" or "Regression" source in the ANOVA table. &amp;nbsp;I am trying to get the Seq SS, Seq MS, F-value, and P-Value. &amp;nbsp;In Proc Reg you can inlcude the "SS1" option in the model statement, but this gives me t-values and p-values. &amp;nbsp;But if I use Proc Mixed with the "method=type1" option, I get all that I want, except this ANOVA table does not contain the total column (this is not too big of a deal, but it makes comparing SS for full and reduced models a bit nicer). &amp;nbsp;Just curious if one can get the best of both. &amp;nbsp;Is it possible to get Proc Reg to break down the "Model" source in the ANOVA table? &amp;nbsp;Or is there a better procedure to use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS 9.4.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Jeff S. O.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data ACL;&lt;BR /&gt;input Subj ACL Vocab Abstract SDMT;&lt;BR /&gt;datalines;&lt;BR /&gt;1 6 28 36 70&lt;BR /&gt;2 5.4 34 32 49&lt;BR /&gt;3 4.7 19 8 28&lt;BR /&gt;4 4.8 32 28 47&lt;BR /&gt;5 4.9 22 4 29&lt;BR /&gt;6 4.5 24 24 23&lt;BR /&gt;7 6.3 24 12 40&lt;BR /&gt;8 5.9 18 14 50&lt;BR /&gt;9 4.1 31 20 32&lt;BR /&gt;10 4.8 14 8 27&lt;BR /&gt;11 4 24 8 33&lt;BR /&gt;12 4.5 34 36 40&lt;BR /&gt;13 5.8 29 20 66&lt;BR /&gt;14 6 27 34 46&lt;BR /&gt;15 4.5 15 10 26&lt;BR /&gt;16 4.7 31 24 42&lt;BR /&gt;17 5.9 30 32 42&lt;BR /&gt;18 4.7 17 26 52&lt;BR /&gt;19 4.7 26 26 35&lt;BR /&gt;20 3.8 18 28 41&lt;BR /&gt;21 6 32 26 58&lt;BR /&gt;22 5.6 19 16 41&lt;BR /&gt;23 4.8 14 10 13&lt;BR /&gt;24 5.8 27 36 62&lt;BR /&gt;25 4.5 21 20 46&lt;BR /&gt;26 4.8 26 28 52&lt;BR /&gt;27 4.7 22 14 63&lt;BR /&gt;28 4.5 22 26 42&lt;BR /&gt;29 6 30 26 66&lt;BR /&gt;30 5.6 26 26 55&lt;BR /&gt;31 6.3 22 28 55&lt;BR /&gt;32 5.2 22 28 43&lt;BR /&gt;33 4.8 16 10 48&lt;BR /&gt;34 5.8 32 36 47&lt;BR /&gt;35 4.8 26 30 50&lt;BR /&gt;36 3.7 11 16 29&lt;BR /&gt;37 4.5 18 8 17&lt;BR /&gt;38 4.9 14 2 39&lt;BR /&gt;39 5 30 32 31&lt;BR /&gt;40 3.9 30 36 61&lt;BR /&gt;41 3.7 31 18 45&lt;BR /&gt;42 5.6 23 18 56&lt;BR /&gt;43 4.8 28 20 53&lt;BR /&gt;44 5.6 17 8 29&lt;BR /&gt;45 6.6 31 30 63&lt;BR /&gt;46 4.3 12 6 19&lt;BR /&gt;47 4 18 6 23&lt;BR /&gt;48 4.2 23 8 40&lt;BR /&gt;49 5.6 22 6 20&lt;BR /&gt;50 3.4 13 8 2&lt;BR /&gt;51 4 30 22 41&lt;BR /&gt;52 4.5 29 24 44&lt;BR /&gt;53 4.9 28 36 51&lt;BR /&gt;54 4.2 20 8 37&lt;BR /&gt;55 4.5 32 36 56&lt;BR /&gt;56 4.8 33 36 37&lt;BR /&gt;57 6 26 20 76&lt;BR /&gt;58 4 26 8 42&lt;BR /&gt;59 4.5 13 10 20&lt;BR /&gt;60 4 27 16 48&lt;BR /&gt;61 4.7 40 40 54&lt;BR /&gt;62 6 25 32 53&lt;BR /&gt;63 4.5 20 8 39&lt;BR /&gt;64 4.8 26 10 35&lt;BR /&gt;65 6.6 26 30 63&lt;BR /&gt;66 4.1 16 16 17&lt;BR /&gt;67 4.5 31 24 44&lt;BR /&gt;68 6.6 30 36 47&lt;BR /&gt;69 4.9 10 19 35&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc reg data=ACL;&lt;BR /&gt;model ACL = Vocab SDMT / lackfit SS1;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc mixed data=ACL method=type1;&lt;BR /&gt;model ACL = Vocab SDMT;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 19:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-Proc-Mixed-How-do-you-get-SAS-to-break-down-quot-Model/m-p/277027#M58707</guid>
      <dc:creator>Jolly</dc:creator>
      <dc:date>2016-06-13T19:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg / Proc Mixed - How do you get SAS to break down "Model" in the ANOVA table?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-Proc-Mixed-How-do-you-get-SAS-to-break-down-quot-Model/m-p/277075#M58720</link>
      <description>&lt;P&gt;PROC GLM should give you the ANOVA table you are looking for.&amp;nbsp; PROC REG also has the requisite information, but you have to manually back compute the pieces.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 00:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-Proc-Mixed-How-do-you-get-SAS-to-break-down-quot-Model/m-p/277075#M58720</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2016-06-14T00:47:02Z</dc:date>
    </item>
  </channel>
</rss>

