<>
If this was indeed possible, the rule that the stub cannot be longer than 4
characters would require Stata to cut your value labels short, if they
happened to violate the rule.
If you wanted the variable label as the prefix, appropriately abbreviated:
***
sysuse auto, clear
xi i.rep, prefix(`=substr("`:var la rep78'",1,4)')
***
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von moleps islon
Gesendet: Donnerstag, 27. August 2009 00:37
An: [email protected]
Betreff: st: xi help
Is it possible to have xi incorporate the value label into the new
stub instead of the number?
Regards,
M
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/