What Nick meant was,
tab ... if year_f == "2000/1":name
where you should substitute a value label name for "name" in the above
command. That is, the variable year_f presumably has a value label
associated with it -- which is presumably given to it by
gen year_f = ncyear(date_v), m(4)
If you do
des year_f
you will see this value label name. Substitute that in place of name in
the expression "2000/1":name
I hope this helps.
-- David
At 09:22 PM 4/23/2004 +0100, you wrote:
Thanks Nick for that. Getting there, but not quite yet. Still no
observations.
. tab year_f if year_f == "2000/1":name
(value label 2000/1 not found)
no observations
[...]
David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404
*
* 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/