Statalist The Stata Listserver


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

st: xtline only for datasets with more than x values


From   Frank Spakowski <[email protected]>
To   [email protected]
Subject   st: xtline only for datasets with more than x values
Date   Mon, 29 May 2006 22:51:25 +0200

I have panel data with the year, id and earn (among others). Now I'm trying to create a line graph for my variable "earn", but only for the ids with more than five observations. That is, if I have more than 10 zeroes or missing values in my time series of 15 years (for each id), I want the whole firm to be excluded from the graph. Does anybody know how I can achieve this?

Many thanks!
Frank

PS: Sorry, if this is an easy question, I'm just getting started :)

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
    
*
*   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