Hi all,
Just a very simple question and command yet I can't figure out why it is not working.
I just downloaded a dataset on all company's in the North-American market. Now I simply want to get rid of the American companies to see whether all cross-listed companies have a foreign primary issue tag. Therefore, as a first command (after clear all, cd and sysuse) I run:
drop if fic==USA
And then it says:
USA not found
It does not work for any of the -fic- or -tic- commands, but if I for instance do the command:
drop if fyear==2002
Then it does drop the years 2002
How is this possible and how can I resolve this? Thanks in advance for your help.
Related Posts with Drop if - variable not found
grqreg graph optionshi I am running multiple quantile regressions on different samples and use grqreg to show it graphi…
How to add zero before the observation in a variable?Dear Stata user, Suppose, I have a varibale named "price", which ranges from the 3291 (4 digits) to …
Declaring data to be survival dataA beautiful morning to you all. I am new in this forum. I am running survival analysis to establish …
Cox model refuses to calculate SEs for year dummies!Dear Statalist, I am looking for help with my Cox regression (a survival analysis). My unit of ana…
Triple-Difference (DDD) Estimation and coefficientsDear Everyone, I have a question regarding the estimation of the following dataset example using Tr…
Subscribe to:
Post Comments (Atom)
0 Response to Drop if - variable not found
Post a Comment