<?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: how to solve a book example - PROC GLM used in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518482#M26424</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'm not sure that I follow the question and I'm definitely not a statistician, but I can tell you that PROC GLM supports cross effects syntax like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc GLM data = have;
class SIRE DAM;
model  SIRE= WEIGHT IA_NUMBER WEIGHT*IA_NUMBER;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Maybe that helps?&amp;nbsp; If not, please post back with a more specific question and details of what you tried.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 16:51:47 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2018-12-04T16:51:47Z</dc:date>
    <item>
      <title>how to solve a book example - PROC GLM used</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/517699#M26423</link>
      <description>&lt;P&gt;Good day SAS friends:&lt;/P&gt;
&lt;P&gt;I have this data set:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data have;&lt;BR /&gt;input SIRE DAM WEIGHT IA_NUMBER;&lt;/P&gt;
&lt;P&gt;WEIGHTxIA_NUMBER = WEIGHT*IA_NUMBER;&lt;BR /&gt;cards;&lt;BR /&gt;1 1 35 2&lt;BR /&gt;1 2 47 1&lt;BR /&gt;1 3 60 1&lt;BR /&gt;1 4 51 1&lt;BR /&gt;1 5 65 2&lt;BR /&gt;1 6 77 3&lt;BR /&gt;2 7 40 1&lt;BR /&gt;2 8 51 5&lt;BR /&gt;2 9 54 4&lt;BR /&gt;2 10 63 2&lt;BR /&gt;2 11 70 6&lt;BR /&gt;3 12 37 1&lt;BR /&gt;3 13 37 1&lt;BR /&gt;3 14 49 1&lt;BR /&gt;3 15 53 5&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc GLM data = have;&lt;BR /&gt;class SIRE DAM;&lt;BR /&gt;model WEIGHT IA_NUMBER = SIRE;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This data set can be find in this book:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.livrosabertos.sibi.usp.br/portaldelivrosUSP/catalog/view/162/147/713-1" target="_blank"&gt;http://www.livrosabertos.sibi.usp.br/portaldelivrosUSP/catalog/view/162/147/713-1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first two ANOVAS are easy to find, the problem is when the autor call the products of WEIGHT and IA_NUMBER, wich Analisys of CO-variance between &amp;nbsp;WEIGHT and IA_NUMBER&amp;nbsp; would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE cellspacing="0" border="0"&gt;&lt;COLGROUP width="92"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="120"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="123"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="112"&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD height="17" align="center"&gt;Variance Font&lt;/TD&gt;
&lt;TD align="center"&gt;Freedom degrees&lt;/TD&gt;
&lt;TD align="center"&gt;Product Sumatory&lt;/TD&gt;
&lt;TD align="center"&gt;Medium Product&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="center"&gt;Sire&lt;/TD&gt;
&lt;TD align="center"&gt;2&lt;/TD&gt;
&lt;TD align="center"&gt;25.5&lt;/TD&gt;
&lt;TD align="center"&gt;12.75&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="center"&gt;Residual&lt;/TD&gt;
&lt;TD align="center"&gt;12&lt;/TD&gt;
&lt;TD align="center"&gt;114.9&lt;/TD&gt;
&lt;TD align="center"&gt;9.58&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="center"&gt;Total&lt;/TD&gt;
&lt;TD align="center"&gt;14&lt;/TD&gt;
&lt;TD align="center"&gt;140.4&lt;/TD&gt;
&lt;TD align="center"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This result appears in page 194 of the same book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for the tip.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 23:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/517699#M26423</guid>
      <dc:creator>jonatan_velarde</dc:creator>
      <dc:date>2018-11-30T23:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve a book example - PROC GLM used</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518482#M26424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'm not sure that I follow the question and I'm definitely not a statistician, but I can tell you that PROC GLM supports cross effects syntax like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc GLM data = have;
class SIRE DAM;
model  SIRE= WEIGHT IA_NUMBER WEIGHT*IA_NUMBER;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Maybe that helps?&amp;nbsp; If not, please post back with a more specific question and details of what you tried.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 16:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518482#M26424</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-12-04T16:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve a book example - PROC GLM used</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518486#M26425</link>
      <description>&lt;P&gt;thanks for the answer, but it is not correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sire and Dam are dependent variables, mean while weight ant ia_number are independent.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 16:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518486#M26425</guid>
      <dc:creator>jonatan_velarde</dc:creator>
      <dc:date>2018-12-04T16:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve a book example - PROC GLM used</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518490#M26426</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50712"&gt;@jonatan_velarde&lt;/a&gt;&amp;nbsp;- right, sorry about that.&amp;nbsp; I was just showing the cross effect syntax, not trying to solve (because that's above my skill).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use SAS Studio (or SAS University Edition) or SAS Enterprise Guide?&amp;nbsp; Each of these has a&amp;nbsp;&lt;STRONG&gt;Linear Models&lt;/STRONG&gt; task that can generate the PROC GLM code for you, and it might be easier to locate the options you need. You can learn the syntax by allowing the task to help you with your choices.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 17:03:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518490#M26426</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-12-04T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to solve a book example - PROC GLM used</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518494#M26427</link>
      <description>Thanks again. I tried all ways modelling this GLM, but i couldnt find the propper model. I think that is because the sum of products and i can not make it in SAS. Manually, the example is so easy to solve, but unins SAS i had this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Tue, 04 Dec 2018 17:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-solve-a-book-example-PROC-GLM-used/m-p/518494#M26427</guid>
      <dc:creator>jonatan_velarde</dc:creator>
      <dc:date>2018-12-04T17:08:45Z</dc:date>
    </item>
  </channel>
</rss>

