Statalist The Stata Listserver


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

st: three tiny queations


From   Xiaoheng Zhang <[email protected]>
To   [email protected]
Subject   st: three tiny queations
Date   Thu, 22 Feb 2007 18:48:30 +0000

Dear viewers,

Just three small questions re command in STATA.

1.Could I speicfy a precision level to certain digit for the outcome?Say 4-digit
after decimal point?

2.Could STATA display 0 before decimal point for the outcome?

3.How to use "if" for the string variables.For example,I have a variable
"nationality" having two values-EU or US.How can I construct a condition
started with if,like "if nationality==EU"?I know what I wrote is nonsenese to
STATA!

Thank you very much if you can help.Seems three small but tricky queations.

Greetings,

Xiaoheng Zhang(Kevin)




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