Hello Sir,
This is my first post here I want to drop the variables Based on the country names and I have tried using the command
"drop if ccode !=Hungary & ccode !=India & ccode !=United States & ccode !=Albania"
As I wanted to drop all the country's except this stata gave an error that "Hungary Not Found" (r111) Can Someone Please Help me out in this case the type of the Variable country name (ccode) is Long Type.
Thanks a lot !
Array
Related Posts with How to drop Variables Based on Country Name ?
Difference in DifferenceHi I have a conceptual doubt. I am running a Difference In Difference at the individual level and t…
Regression: Percentage vs nominal returnsWhat are potential explanations for getting insignificant results when regressing the dependent vari…
System GMMI run the following command: xtdpdsys Lnzscore CostIncomeRatio LiquidTotalassets Legal DGPpercapita …
event study codesDear all I am conducting research regarding an event study on stocks. There are 3 codes to use in s…
Looping over three locals.Dear colleagues, I am struggling to understand how can I loop over three locals in Stata. Indeed, …
Subscribe to:
Post Comments (Atom)
0 Response to How to drop Variables Based on Country Name ?
Post a Comment