Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: problems with browsing, dropping certain observations


From   Michael Findley <mikefindley@byu.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: problems with browsing, dropping certain observations
Date   Mon, 31 May 2010 05:58:40 -0600

Dear Stata list:

I'm puzzled about what seems to be a simple formatting issue. I import a .csv file with variables that range from .001 to .009. I can carry out certain commands, such as generate a new variable that has similar values, but I cannot perform other simple tasks such as "browse if variable == .001" or "keep if variable == .001". The variable is formatted as a float (%9.0g), which is a general format that should allow this as I understand it. I was worried that importing the data caused the problem, but when I just open stata and enter similar values, I get the same thing. I also tried reformatting the variable to several different fixed formats, but still no luck. What am I missing? Any thoughts greatly appreciated. 

Mike Findley

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index