<?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: Error in SAS documentation of syntax for shared estimate statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189355#M47830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS are you on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 21:39:03 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-02-27T21:39:03Z</dc:date>
    <item>
      <title>Error in SAS documentation of syntax for shared estimate statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189353#M47828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone ever noticed that there is an obvious error in the documentation for 9.22 on the page with the title, "Positional and Nonpositional Syntax for Coefficients in Linear Functions?"&lt;/P&gt;&lt;P&gt;Actually, I think there are two errors on the page, but I am less certain about the second one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation asserts that if factor &lt;EM&gt;A&lt;/EM&gt; has three levels and factor &lt;EM&gt;B&lt;/EM&gt; has two levels, then these two procedure calls are equivalent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class a b;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model y= a b a*b;&lt;/P&gt;&lt;P&gt;&amp;nbsp; estimate 'B at A2' b 1 -1 a*b 0 0 1 -1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class b a;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model y=a b a*b;&lt;/P&gt;&lt;P&gt;&amp;nbsp; estimate 'B at A2' b 1 -1 a*b 0 1 0 0 -1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cannot be correct since there are 4 numbers after a*b in the first example but 5 in the second.&amp;nbsp; I suspect that one of the 0's needs to be removed.&amp;nbsp; Confirmation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second suspicious thing on the page is that the "nonpositional" syntax changes depending on the position of a and b on the class statement.&amp;nbsp; In what sense would such a syntax be nonpositional?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that in both instances, the correct nonpositional syntax is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; estimate 'B at A2' b 1 -1 a*b [1 2 1] [-1 2 2];&lt;/P&gt;&lt;P&gt;Confirmation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 20:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189353#M47828</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2014-02-27T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in SAS documentation of syntax for shared estimate statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189354#M47829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I just tested the code.&amp;nbsp; Should have done that first.&amp;nbsp; It does work.&amp;nbsp; So I guess my questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Why in the positional syntax are 5 values needed if &lt;EM&gt;B&lt;/EM&gt; is listed first and just 4 if &lt;EM&gt;A&lt;/EM&gt; is listed first?&lt;/P&gt;&lt;P&gt;2) Why does the nonpositional syntax depend on position?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189354#M47829</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2014-02-27T21:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in SAS documentation of syntax for shared estimate statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189355#M47830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS are you on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189355#M47830</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-27T21:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in SAS documentation of syntax for shared estimate statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189356#M47831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9.3 TS Level 1M1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:45:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189356#M47831</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2014-02-27T21:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in SAS documentation of syntax for shared estimate statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189357#M47832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the first question.&amp;nbsp; With the positional syntax, there should be 6 coefficients, but SAS assumes that if you name less than 6 then however many at the end are missing, they are all put =0.&amp;nbsp; Would be really nice if the documentation of this was improved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;0 0 1 -1&lt;/P&gt;&lt;P&gt;is the same as&lt;/P&gt;&lt;P&gt;0 0 1 -1 0 0&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;0 1 0 0 -1&lt;/P&gt;&lt;P&gt;is the same as&lt;/P&gt;&lt;P&gt;0 1 0 0 -1 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:53:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-SAS-documentation-of-syntax-for-shared-estimate/m-p/189357#M47832</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2014-02-27T21:53:48Z</dc:date>
    </item>
  </channel>
</rss>

