Dear members,
My dataset contains 4 countries and I'd like to run a regression using only one of those countries. Is there a Stata command that allows us to run a regression on only one specific country without having to drop the rest of the countries's observations? I'd like to keep the rest of the countries because I need to run the regression for each of them. Dropping the rest of countries would mean redoing all the preceding Stata commands again.
I understand that one possible option would be to create new columns containing only that specific country's data. However, I have a total of 17 variables. So that would mean creating 17*4 new columns!
Any help would be appreciated. Thank you.
Kind regards,
John
Related Posts with Estimation using only one out of many categorical variables without dropping the rest
Looking for US data base for tuition feesHi, Im currently working in a research on higher education in the United States. I have searched fo…
Propensity score weighting on samplesI want to weight my sample with propensity scores first, then run OLS with weighted sample. I know …
How significance of stata pwcorr is calculated?When i run pwcorr, with the option sig, how stata test de significance of the correlation coeficient…
Error "initial values not feasible" for multiple imputation.Dear experts, I'd like to ask for your help with syntax. I am doing a multiple imputation as below,…
Statistical comparison between 6 groups with unequal variance and 1 observation.Dear Statalists, I am analyzing a dataset which includes two variable "tech changing rate" and "Gro…
Subscribe to:
Post Comments (Atom)
0 Response to Estimation using only one out of many categorical variables without dropping the rest
Post a Comment