Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: _rmcoll issues
From
Stas Kolenikov <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: _rmcoll issues
Date
Tue, 10 Dec 2013 17:31:53 -0500
I have the following cross-tab of two variables:
. tab pd2usmex years_in_us
PD2. What |
country |
were you | years_in_us
born in? | 1 2 3 4 | Total
-----------+--------------------------------------------+----------
1 | 240 0 0 0 | 240
2 | 0 103 451 378 | 932
9 | 0 33 99 123 | 255
-----------+--------------------------------------------+----------
Total | 240 136 550 501 | 1,427
For whatever reason, _rmcoll senses that something is fishy between
the two variables, but decides to drop the last category of the second
variable, rather than the first one on which these two variables
logically overlap.
. _rmcoll ib1.pd2usmex ib1.years_in_us
note: 4.years_in_us omitted because of collinearity
I think this is a bit odd.
-- Stas Kolenikov, PhD, PStat (ASA, SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/