Starting from a panel data I would like to estimate a reg for each country separately and produce a figure for each country then combining these figures.
The problem is that the estimation is producing weird results, if I simply run a regression and end it with e.g. if country=="USA". (I am running a non-linear regression by the way.)
Is there a way to temporarily keep one country similar to
keep if country=="USA"
Without Stata erasing the other panel from its memory. So I can jump to the next country and do:
keep if country=="JPN"
Sure, I can reload the panel data for each regression, but I would lose the graphs from the memory (I would think) and won't be able to combine them.
Thank you
The problem is that the estimation is producing weird results, if I simply run a regression and end it with e.g. if country=="USA". (I am running a non-linear regression by the way.)
Is there a way to temporarily keep one country similar to
keep if country=="USA"
Without Stata erasing the other panel from its memory. So I can jump to the next country and do:
keep if country=="JPN"
Sure, I can reload the panel data for each regression, but I would lose the graphs from the memory (I would think) and won't be able to combine them.
Thank you

Comment