<?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 Categorical variables have an identical level in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47714#M2100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that all variables in the model are class variables and that the "problem" is a note that says:&lt;/P&gt;&lt;TABLE class="notebanner"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="l notebanner"&gt;Note:&lt;/TD&gt;&lt;TD class="l notecontent"&gt;The X'X matrix has been found to be singular, and a generalized inverse was used to solve the normal equations. Terms whose estimates are followed by the letter 'B' are not uniquely estimable.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, there's nothing wrong with your model or data. You just need to understand how to interpret the parameter estimates. See this usage note: &lt;A href="http://support.sas.com/kb/22/585.html"&gt;http://support.sas.com/kb/22/585.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this isn't the problem, post the error message that you get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 21:10:14 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2011-11-15T21:10:14Z</dc:date>
    <item>
      <title>Categorical variables have an identical level</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47712#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a tricky question regarding a dataset. The dataset has 4 categorical variables with various categories. The trick thing is that they have one identical level (ie. 100% percectly correlated for this level).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This caused a problem for running a linear model. SAS said the matrix is singular and the estimate is not unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any good idea to deal with this level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 19:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47712#M2098</guid>
      <dc:creator>bncoxuk</dc:creator>
      <dc:date>2011-11-15T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Categorical variables have an identical level</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47713#M2099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying that, for one variable, every record has the same value and/or that everyone in the same group has the same value?&amp;nbsp; If so, why not just drop that variable from your analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47713#M2099</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-11-15T20:44:14Z</dc:date>
    </item>
    <item>
      <title>Categorical variables have an identical level</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47714#M2100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that all variables in the model are class variables and that the "problem" is a note that says:&lt;/P&gt;&lt;TABLE class="notebanner"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="l notebanner"&gt;Note:&lt;/TD&gt;&lt;TD class="l notecontent"&gt;The X'X matrix has been found to be singular, and a generalized inverse was used to solve the normal equations. Terms whose estimates are followed by the letter 'B' are not uniquely estimable.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, there's nothing wrong with your model or data. You just need to understand how to interpret the parameter estimates. See this usage note: &lt;A href="http://support.sas.com/kb/22/585.html"&gt;http://support.sas.com/kb/22/585.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this isn't the problem, post the error message that you get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47714#M2100</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-11-15T21:10:14Z</dc:date>
    </item>
    <item>
      <title>Categorical variables have an identical level</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47715#M2101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion, art297.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables are not 100% perfectly correlated. Just a level of them. So I cannot remove variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a way to deal with that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) recode the levels of variables into 0, -1, 1 (effect coding);&lt;/P&gt;&lt;P&gt;2) Only keep one of the correlated levels in the final model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Categorical-variables-have-an-identical-level/m-p/47715#M2101</guid>
      <dc:creator>bncoxuk</dc:creator>
      <dc:date>2011-11-16T15:01:38Z</dc:date>
    </item>
  </channel>
</rss>

