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: Re: Dropping Observations
From
momo <[email protected]>
To
[email protected]
Subject
st: Re: Dropping Observations
Date
Tue, 9 Nov 2010 09:36:38 -0800 (PST)
Anyway thank you, but as I said before in the message if I put
drop var11 if (var11==var5)
to clarify the problem
I have say a 10000 companies data and each company has (code(var5) total
number of affiliates(var10) and code for each affiliate (var11))
so I need to drop the affiliates that have the same code of the main
company(headquarter))
drop var11 if (var11==var5) or drop var11 if (var11==var5) do not work
I think I have to include something to say "for each company" but how
any idea
thanks
--
View this message in context: http://statalist.1588530.n2.nabble.com/Dropping-Observations-tp5721657p5721806.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/