Statalist The Stata Listserver


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

st: SPSS count syntax


From   "Ahmed Arif" <[email protected]>
To   [email protected]
Subject   st: SPSS count syntax
Date   Sun, 29 Oct 2006 11:20:53 -0600

thank you.
Ahmed

******************************
Svend wrote: Kit had a suggestion, but I am not sure it was exactly
what Ahmed was
asking for.

Try this:
egen pfnum = anycount(pfalot-pfslfcar) , values(1 2 3 4)

Hope this helps
Svend

--
*
*   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