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
Minimum distance function / Stochastic Frontier AnalysisHi there: Does anyone know how to estimate a minimum distance function in Stata? I have the paramete…
Modelling dose with multiple balancing score. Imbens (2000)Good day statlisters , please I am interested in applying propensity using modelling dose of treatme…
Modelling longitudinal dataHello members, pleaseRegression for follow-up studies i have a data on follow up study, data was col…
Goodness of fit indices unavailable when using SEM with vce(robust), what's the reason?Hello All, I was able to find several posts asking why we can't get goodness of fit indices (RMSEA,…
Calculating month between two datesDear All, May data set contains a variable named month1 for the first month and year1 for the first …
Subscribe to:
Post Comments (Atom)
0 Response to Drop if - variable not found
Post a Comment