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
efficiency analysis for multi output organisations (panel data)Dear all: I am new doing efficiency analysis with Stata. I want to estimate production and cost func…
Meta comment re new questions posted as followups to old threadsSeveral times recently, I've noticed new questions posted as followups on old (sometime quite old) t…
Export Regression Results to Excel 2016 - Stata IC 15.1Hello, How I can export Regression Results to Excel 2016. I have tried different ways but it is n…
Collecting marginal effects after probit estimation with a series of dummy variablesHi Statalist, I'm attempting to estimate a probit model on the likelihood of a patent being accepte…
Stata command for panel data percentagesDear stata users, I am assessing the effects of state dependence i.e. employment at time t-1 and mi…
Subscribe to:
Post Comments (Atom)
0 Response to Estimation using only one out of many categorical variables without dropping the rest
Post a Comment