Hello,
I am quite new to stata so sorry if this has been answered before, but I could not find it via search!
I want to drop entries in my data set that are not from a specific country. So for example "keep if country == AT" (witthout the "") to make stata drop all Non Austrian entries. However, I cannot get stata to do this command. Neither by putting "" or '' around the AT will change that. I have tested the keep if X == Y with other numeric variables and it works as it should. How do I get it to work with non-numeric variables then?
Related Posts with Does Keep command work with non numeric variables?
Decay measure variable using unbalanced panel dataHello everybody, I would really appreciate any help someone can provide with some coding. I am tryi…
Coding for three groups - cases, controls , and other diseases - What a dilemma!Hi Statalist, I am new her but I have learned a lot from you so far, so thank you all. I am using …
Access instance, class, or function "own" identifiers within the .class fileIn class programming, is there a way to access an instance's, class's or member function's own ident…
Interpretation of interaction term with ologit regressionHi all, I have a question about the interpretation of my results, regarding a moderator in an ologi…
Time dummies in xtabond and xtdpdsysHi, I made three year dummies. One is for 2005-2006, second is for 2007-2013 and third is for 2014-…
Subscribe to:
Post Comments (Atom)
0 Response to Does Keep command work with non numeric variables?
Post a Comment