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?
Second stage moderated mediation in STATA using SEMHi all, I am trying to run Hayes' PROCESS Model 14 in STATA using SEM and I am getting stuck on how…
STATA not recognizing commandsHi, I've been running into the issue below where stata stops recognizing my commands and instead lis…
Missing Data - Replace Variable Command Issue - Using ds and foreach commandsI am using Stata version 15.1 and I have 47 variables and 1,010 observations in my dataset. I am doi…
License core limitations and the future of StataThis is not quite a 'feature request' so I figured I'd post it here. Stata-MP comes in a wide varie…
varnorm: rejection of the null hypothesis I performed the varnorm test and results rejects the null in all the three cases (Jarque-Bera, Skew…
Subscribe to:
Post Comments (Atom)
0 Response to Does Keep command work with non numeric variables?
Post a Comment