Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: balanced sub-panel to test for selection bias


From   Olga Lyashevskaya <[email protected]>
To   [email protected]
Subject   st: RE: balanced sub-panel to test for selection bias
Date   Thu, 24 May 2007 09:25:48 -0700 (PDT)

Thank you very much, it works!

After somoe changes I applied the following:

egen nfarm = count(farm),by(year)
summarize nfarm, meanonly
sort year
by year: keep if nfarm == `r(max)'

Kind regards,
Olga


      ____________________________________________________________________________________Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index