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 ?
destring, ignoreI have been trying for hours and also searching for assistance on using the destring, ignore command…
How to use e in stata?Hello every one. How can i run this equation in stata? 1/(1+e-x) I can calculate x separately, …
Minor bug in command -kapci-Dear all I have great use of -kapci- Without success I've tried to find a way of contacting the au…
Date format questionHello, I'm trying to merge two datasets using a variable called sur_mon_yr that is month/year. E.g. …
Goodness of fit binairy logistic panel regression?Good day, I am trying to compare the goodness of fit of 6 different models (binary logistic panel re…
Subscribe to:
Post Comments (Atom)
0 Response to How to drop Variables Based on Country Name ?
Post a Comment