Statalist The Stata Listserver


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

RE: st: long macro


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: long macro
Date   Wed, 22 Feb 2006 18:08:39 -0000

OK. -levelsof- certainly sorts (although it has no 
problem with strings). 

Nick 
[email protected] 

Dedman, Dan
 
> Thanks all - I eventually worked out the issue evaluating vs. 
> copying macros, but I am still struggling with the double and 
> single quotes (it's a been a while...)
> I believe -forval-, -levelsof- and -valuesof- don't help me, 
> either because they sort the values, or they require a 
> numeric variable. I need the values in a pre-specified order.

Nick Cox 
 
> That said, what you want is already provided by either 
> -levelsof- in official Stata or the -valuesof- just announced 
> by Ben Jann.

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