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
Syntax for a mixed-effect repeated measures modelDear Statalisters, I am trying to implement a mixed-effet repeated measures model that was describe…
Outreg2: export table with marginal effect, standard error and p-valueI would like to use outreg2 to export result of logistic regression as a .xls file with marginal eff…
Defining Pseudo PanelHi All, I am currently using the world bank enterprise survey data for my PhD research. This is fir…
Merging variables into one variable after rehapingHi everyone, this is my first post to Statalist so I kindly request some patience as well as welcome…
Bayesian analysis: how to mirror a chi-squared test under the "bayes:" prefixDear Forum Members, I believe Stata 15 provided a rather handy panoply of commands to perform Bayes…
Subscribe to:
Post Comments (Atom)
0 Response to Drop if - variable not found
Post a Comment