Statalist


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

st: Changing property of a variable into number


From   "Ziad El-Khatib" <[email protected]>
To   [email protected]
Subject   st: Changing property of a variable into number
Date   Thu, 4 Sep 2008 03:34:58 -0700

Hi!
For strange reasons one of the variables (diarr) (coded 1/2) has
format %9s so I can not use it when putting it in a sum formula in
STATA.
I tried to change its format using edit command, I looked at another
variable format it has property %8.0g so I tried using it for diarr
variable but it gives window with message "%8.0g is not a valid
display format".

Any tips?

Thank you and best regards
ziad
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index