How can I drop all string variables from a dataset in one go, i.e. without typing "drop stringvariable1 stringvariable2..."?
Background: I am looping over datasets so I need STATA to recognize the strings itself in each of the different datasets and then drop them.
I know it's a very basic question but I could not find the answer in the web. I look forward to your comments!
Background: I am looping over datasets so I need STATA to recognize the strings itself in each of the different datasets and then drop them.
I know it's a very basic question but I could not find the answer in the web. I look forward to your comments!
Comment